Saturday, February 14, 2015

ubuntu - Emacs does not redraw properly inside VirtualBox


I am running Emacs inside a virtual machine, and are experiencing redrawing problems when scrolling or adding/removing lines of text. It seems only a small portion of the window is being redrawn, causing some lines to be repeated and others to be obscured.


I have not experienced any similar problems with other applications inside the virtual machine.


The problem is present whether I run the virtual machine in fullscreen or windowed mode.


This is my setup:



  • Windows 7 Pro 64-bit host OS

    • nVidia GTX 770 graphics card with latest drivers

    • VirtualBox 4.3.6


  • Ubuntu 13.10 64-bit guest OS

    • VirtualBox Guest Additions installed

    • 3D acceleration enabled

    • Cinnamon 2.0.14 desktop environment

    • Emacs 24.3.1



My workaround for now is to run Emacs in terminal mode, but I would prefer a solution that makes it work properly in its own graphical window.


Answer



I have had the same problem and it seems that disabling 3D acceleration in VirtualBox properties solved the problem.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...