VBox + LXDE stops redrawing the screen
Posted: 25. Jan 2017, 11:30
I've been using a Salix 14.2 32 bits VM for several months without any problem. Now I decided to switch to the 64 bits version in order to install some applications that requires a 64 bits OS (such as Docker). But for some reason I'm now facing some redraw issues, despite I have NOT changed the host (Windows 10) nor VirtualBox and Extension Pack version (5.0.20-106931).
The problem usually happens while I'm browsing a large file on gvim: the screen stop redrawing, but it seems that all mouse clicks and keyboard input are normally received. The screen only updates when minimized/restored or toggling full screen on VirtualBox window for that VM -- but the screen is updated only once for each minimize/restore, and the redraw problem persists until the guest is rebooted.
I followed these steps in order to create a new VM and reproduce the issue:
1. VM with 4GB of RAM, 128 mb for video, 1 processor
2. Installation full from http://sourceforge.net/projects/salix/f ... o/download
3. Installed gVim
4. Installed Guest Additions (which required upgrading the kernel to match kernel-sources version)
5. Installed LXDE
based on https://docs.salixos.org/wiki/How_to_install_LXDE
6. The following procedure was used to detect the issue: open a large help file, increase the window height and scroll around:
Sometimes it happens on the first G, and another times it takes a while; but it seems it occur faster when the gvim window covers part of another window.
This post on Stack Overflow mentions a patch on gVim. But I got the same results with the Vim in the Salix package (7.4.1938), using the same version that works fine on Salix 32-bits (8.0.45), and using the latest version/patches.
The post also mentions some solutions involving Compiz, but I'm not sure how could use that with Salix + LXDE.
What bugs me is the Salix 14.2 32 bits VM still runs just fine in the same environment and the same setup.
Any help is appreciated
The problem usually happens while I'm browsing a large file on gvim: the screen stop redrawing, but it seems that all mouse clicks and keyboard input are normally received. The screen only updates when minimized/restored or toggling full screen on VirtualBox window for that VM -- but the screen is updated only once for each minimize/restore, and the redraw problem persists until the guest is rebooted.
I followed these steps in order to create a new VM and reproduce the issue:
1. VM with 4GB of RAM, 128 mb for video, 1 processor
2. Installation full from http://sourceforge.net/projects/salix/f ... o/download
3. Installed gVim
Code: Select all
spi -u
spi -U
spi -i vim-gvim
Code: Select all
spi -i kernel-source
slapt-get -i kernel-firmware kernel-headers kernel-huge kernel-modules
lilo -v
reboot
/run/media/.../VBoxLinuxAdditions.run
based on https://docs.salixos.org/wiki/How_to_install_LXDE
Code: Select all
spi -i wireless-tools keybinder lxde-common openbox pcmanfm lxpanel lxsession menu-cache lxmenu-data
spi -i lxterminal lxappearance lxinput lxrandr lxtask obconf midori lxdm
--> issue happens
Code: Select all
gvim -u NONE -U NONE -N -i NONE
:h 41
:wincmd o
:set lines=60
qq
G
gg
Ctrl-F
q
100@q
This post on Stack Overflow mentions a patch on gVim. But I got the same results with the Vim in the Salix package (7.4.1938), using the same version that works fine on Salix 32-bits (8.0.45), and using the latest version/patches.
The post also mentions some solutions involving Compiz, but I'm not sure how could use that with Salix + LXDE.
What bugs me is the Salix 14.2 32 bits VM still runs just fine in the same environment and the same setup.
Any help is appreciated