You are not logged in.

#1 2016-02-16 05:43:52

astrobiozzy
Member
Registered: 2016-02-16
Posts: 4

Virtualbox Cinnamon 3D accelaration problem

I have been using Mint for a long time but since I need more performance to run my scripts I decided to install archlinux. After installing my 3D rendering didn't work. I searched and found that downgrading mesa and mesa-libgl to 10.1.0-5 would solve the problem. However, when I apply this solution, my system crashes, I can only use terminal. I use gdm as login manager and gdm crashes too, I cannot even see login screen.
Does anyone know any other trick?

Offline

#2 2016-02-16 05:49:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,622
Website

Re: Virtualbox Cinnamon 3D accelaration problem

What graphics card and driver? What is in X's log when it crashes? More detail needed...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#3 2016-02-16 20:53:46

astrobiozzy
Member
Registered: 2016-02-16
Posts: 4

Re: Virtualbox Cinnamon 3D accelaration problem

Graphics card: Virtualbox graphics card and using its built in driver

In the logs of gdm:

(WW) Open ACPI failed. (/var/run/acpid.socket) (No such file or directory)
...
(EE) Failed to load module "fbdev" (module does not exist, 0)
...
(EE) Failed to load module "vesa" (module does not exist, 0)
...
(II) AIGLX: Screen 0 is not DRI2 capable
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libcursesw.so.5: cannot open shared object file: No such file or directory)
(EE) GLX could not load software renderer
(II) GLX: no usable GL providers found for screen 0

Offline

#4 2016-02-17 04:33:01

astrobiozzy
Member
Registered: 2016-02-16
Posts: 4

Re: Virtualbox Cinnamon 3D accelaration problem

I installed acpid, xf86-video-fbdev and xf86-video-vesa packages the first three were solved. But AIGLX and GLX problems remain.

Offline

#5 2016-02-18 06:54:26

astrobiozzy
Member
Registered: 2016-02-16
Posts: 4

Re: Virtualbox Cinnamon 3D accelaration problem

I also found a compatibility package for libcursesw 5 at https://aur.archlinux.org/packages/ncurses5-compat-libs. I installed it and the error message became:

(II) AIGLX: Screen 0 is not DRI2 capable
(EE) AIGLX: reverting to software rendering
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libLLVM-3.4: cannot open shared object file: No such file or directory)
(EE) GLX could not load software renderer
(II) GLX: no usable GL providers found for screen 0

I checked and found that LLVM 3.7 is installed. Does anyone know, what I should do at this point?

Offline

#6 2016-02-25 08:07:35

himacro
Member
Registered: 2014-08-05
Posts: 2

Re: Virtualbox Cinnamon 3D accelaration problem

I'd got the same issue (at least from the log). And finally it was solved by re-compiling xorg-server with systemd-logind support disabled. Maybe you could have a try with xorg-server-nosystemd from AUR.

BTW, mesa and mesa-libgl is update to date in my  case.

Offline

#7 2016-02-26 00:11:01

mwillems
Member
Registered: 2014-08-09
Posts: 86

Re: Virtualbox Cinnamon 3D accelaration problem

GDM breaks hardware acceleration in virtualbox since gdm 3.16; it's a known bug: https://bugzilla.gnome.org/show_bug.cgi?id=749390

Try any other desktop manager and it should work fine (e.g. lightdm).

Last edited by mwillems (2016-02-26 00:12:01)

Offline

#8 2016-02-26 02:30:30

himacro
Member
Registered: 2014-08-05
Posts: 2

Re: Virtualbox Cinnamon 3D accelaration problem

Thanks mwillems, just as you mentioned, lightdm works and should be simplest solution! I use 'startx' for my DE, in which way acceleration is also losed. So never thought a DM would resolve it:)

And sth just FYI, with --'disablie-systemd-logind' for xorg-server, both gdm and startx can get acceleration.

Offline

Board footer

Powered by FluxBB