Friday, May 30, 2014

Gnome 3 fallback mode

Was wondering why the gnome shell in Debian 7 seems to be always in fallback mode when started in a vmware guest. The ~/.xsession-errors file states
gnome-session-is-accelerated: No hardware 3D support.
But that is not strictly true, since 3D Acceleration is enabled in vmware, and Debian has a Linux 3.2 kernel and Mesa 8.0 Support. Output from glxinfo:
...
direct rendering: Yes
...
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x209)
OpenGL version string: 2.1 Mesa 8.0.5
The command /usr/lib/gnome-session/gnome-session-check-accelerated-helper is the one displaying the message in the .xession-errors file. Using strace reveals the file /usr/share/gnome-session/hardware-compatibility:
##
## This file contains a list of blacklist/whitelist regular expressions for
## renderer strings.
##
## The regular expressions are case-insensitive POSIX Extended Regular
## Expressions. See regex(7) for details.
##
## Syntax:
##  - Comment lines start with '#'
##  - Lines starting with '+' are whitelisting.
##  - Lines starting with '-' are blacklisting.
##  - Lines not starting with '#', '+', '-' are ignored.
##

# Intel 830-865
-Intel\(R\) 8[[:digit:]]{2,2}[^[:digit:]]

# Pre-R300 radeon
-Mesa DRI R[12]00[^[:digit:]]
-Mesa DRI R[12]00$

# Old Mesa software GL renderer
-software rasterizer

# Gallium has softpipe and llvmpipe
-softpipe
-llvmpipe
Commenting out these last two lines enables the "normal" gnome shell. After enabling the non-fallback mode I enabled fallback mode again quickly: It is unusable since the screen shows flickering and artifacts. Another useless information generated...

No comments:

Post a Comment