|
|
$ glxinfo |grep rendering
direct rendering: Yes
xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option " rotocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "STD F158"
HorizSync 30.0 - 60.0
VertRefresh 55.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX Integrated GPU"
# Option "UseFBDev" "true"
Option "NoLogo" "true"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
# Option "DamageEvents" "true"
# Option "DMPS" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "DPI" "96x96"
Option "metamodes" "CRT-0: nvidia-auto-select +0+0; CRT-0: 1024x768_75 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "true"
EndSection
如果把用户从video组移出, 就会这样:
$ qtdemo
NVIDIA: could not open the device file /dev/nvidiactl (权限不够).
NVIDIA: Direct rendering failed; attempting indirect rendering.
NVIDIA: could not open the device file /dev/nvidiactl (权限不够).
NVIDIA: Direct rendering failed; attempting indirect rendering.
NVIDIA: could not open the device file /dev/nvidiactl (权限不够).
NVIDIA: Direct rendering failed; attempting indirect rendering.
但是就可以显示了
请问这是什么问题呢? 为什么direct rendering就会空白了? |
|