I have installed a system (Linux Mint Debian Edition) on a USB stick, that I either start on a real machine at home (with an AMD Radeon card), or inside virtual box when I'm on someone else's computer.
Things were working fine with the open source radeon driver, the only issue I had was the graphic card fan was running at full speed and very noisy.
So I installed the proprietary drivers from AMD, and it works fine on the real machine, but now it won't boot inside virtual box. I fixed a first issue with xorg.conf (either removing it or generating a new file solves the boot issue), and now it boots fine until Cinnamon starts, and then I have a popup saying that Cinnamon crashed and it's in fallback mode.
In ~/.xsession-errors
I have, among other things, these errors:
[...]
Error getting login monitor: -2
[...]
libEGL warning: GLX/DRI2 is not supported
[...]
(cinnamon:3203): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
(cinnamon:3203): Clutter-CRITICAL **: Unable to initialize Clutter: The OpenGL version could not be determined
Window manager error: Unable to initialize Clutter.
[...]
It seems the issue is with OpenGL. For example if I start glxgears
I get
Xlib: extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual
What I would like is to load the old driver (whatever that was) in virtual box, and load the AMD driver on a real machine with a Radeon card. Is this possible? I would be fine, for example, with a script that detects when starting inside virtual box, and ajusts settings accordingly, but I don't know what needs to be adjusted...