Portál AbcLinuxu, 26. prosince 2025 21:43
Ahoj,
mam problem s OpenGL. Pod rootem se zda byt vse v poradku, ale pod normalnim uzivatelem je situace trochu jina a ve vysledku se to projevuje tak, ze v nekterych hrach proste neni obraz 
[root@mao install]# glxinfo |grep -i render
direct rendering: Yes
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2/3DNOW!
GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
[richard@mao ~]$ glxinfo |grep -i render direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) OpenGL renderer string: GeForce 7600 GT/PCI/SSE2/3DNOW!
Vsechny rozdily jako vystup prikazu diff glxinfo_root.txt glxinfo_richard.txt jsou v priloze.
Nevi nekdo, kde by mohl byt problem?
Systemove info:
[richard@mao ~]$ uname -a
Linux mao 2.6.24.3-34.fc8 #1 SMP Wed Mar 12 18:17:20 EDT 2008 i686 athlon i386 GNU/Linux
[richard@mao ~]$ rpm -qa|grep nvidia kmod-nvidia-2.6.24.3-34.fc8-169.12-3.lvn8 xorg-x11-drv-nvidia-libs-169.12-1.lvn8 kmod-nvidia-2.6.24.3-12.fc8-169.12-2.lvn8 kmod-nvidia-169.12-3.lvn8 xorg-x11-drv-nvidia-169.12-1.lvn8
Za napady predem dekuji.
Tak tim si nejsem uplne jisty, protoze v tomto smeru jsem zkousel kdeco.
[richard@mao ~]$ id uid=500(richard) gid=500(richard) groups=0(root),84(screen),334(jackuser),500(richard),502(dba)
Tak jeste xorg.conf
[richard@mao ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Dec 13 19:09:35 PST 2007
# Xorg configuration created by livna-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Module"
Load "glx"
#Load "dri"
Load "freetype"
Load "type1"
Load "extmod"
Load "dbe"
Load "xtrap"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
#Option "XkbVariant" "qwerty"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
#Identifier "Videocard0"
Identifier "GeForce 7600 GT"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen0"
#Device "Videocard0"
Device "GeForce 7600 GT"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection
ls -l /dev/nvidia*
[richard@mao ~]$ ls -l /dev/nvidia* crw------- 1 richard root 195, 0 2008-03-19 19:42 /dev/nvidia0 crw------- 1 richard root 195, 1 2008-03-19 19:42 /dev/nvidia1 crw------- 1 richard root 195, 2 2008-03-19 19:42 /dev/nvidia2 crw------- 1 richard root 195, 3 2008-03-19 19:42 /dev/nvidia3 crw------- 1 richard root 195, 255 2008-03-19 19:42 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 255 25. bře 10.58 /dev/nvidiactl crw-rw-rw- 1 root root 195, 0 25. bře 10.58 /dev/nvidia0
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
a i toto:
Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection
a jeste toto:
Section "Extensions"
Option "Composite" "0"
EndSection
Nemyslim si ze by to mohlo bejt tim, ale za zkousku nic nedas krom toho to tam vubec byt nemusi.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.