|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am trying to get this little OpenGL program I wrote some months ago, but this time it gives me this error (it compiles okay though): $> ./mktrngdat freeglut (./mktrngdat): OpenGL GLX extension not supported by display ':0.0' I notice that there is some problem with Nvidia driver now adays and module-assistant auto-install does not work for nvidia. So at present, my system (Etch) is not using the proprietary Nvidia module, just the native nv module. Here are some of the related packages installed: $> dpkg -l *free* *glu* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' ii freeglut3 2.4.0-5.1 ii freeglut3 2.4.0-5.1 ii freeglut3-dev 2.4.0-5.1 ii freeglut3-dev 2.4.0-5.1 ii libfreebob0 1.0.3+svn443-2 ii libfreetype6 2.3.5-1+b1 ii libfreetype6-dev 2.3.5-1+b1 ii libglu1-mesa 6.5.2-7 ii libglu1-mesa-dev 6.5.2-7 ii ttf-freefont 20060501cvs-12 My xorg.conf file has the following parts: Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" #Load "glx" Load "GLcore" Load "int10" Load "type1" Load "vbe" EndSection Section "Device" Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" Driver "nv" BusID "PCI:1:0:0" EndSection Section "DRI" Mode 0666 EndSection Furthermore: $> glxinfo name of display: :0.0 Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". Error: couldn't find RGB GLX visual visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat ---------------------------------------------------------------------- Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". 0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None Xlib: extension "GLX" missing on display ":0.0". Xlib: extension "GLX" missing on display ":0.0". 0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None So, the questions is, how do I get my little program to work without installing Nvidia driver? thanks, ->HS -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Fri, Aug 17, 2007 at 23:20:29 -0400, H.S. wrote:
> > I am trying to get this little OpenGL program I wrote some months ago, > but this time it gives me this error (it compiles okay though): > > $> ./mktrngdat > freeglut (./mktrngdat): OpenGL GLX extension not supported by display ':0.0' > > I notice that there is some problem with Nvidia driver now adays and > module-assistant auto-install does not work for nvidia. So at present, > my system (Etch) is not using the proprietary Nvidia module, just the > native nv module. [...] > My xorg.conf file has the following parts: > Section "Module" > Load "i2c" > Load "bitmap" > Load "ddc" > Load "dri" > Load "extmod" > Load "freetype" > #Load "glx" > Load "GLcore" > Load "int10" > Load "type1" > Load "vbe" > EndSection > Section "Device" > Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" > Driver "nv" > BusID "PCI:1:0:0" > EndSection > Section "DRI" > Mode 0666 > EndSection > > Furthermore: > $> glxinfo > name of display: :0.0 > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > Error: couldn't find RGB GLX visual [...] > So, the questions is, how do I get my little program to work without > installing Nvidia driver? I would try to uncomment the 'Load "glx"' line in your xorg.conf. You probably commented out that line because the proprietary nvidia driver requires you to do so, but AFAIK the "nv" driver does need the normal Xorg glx module if you want to use the GLX extension. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Fri, Aug 17, 2007 at 23:20:29 -0400, H.S. wrote:
> > I am trying to get this little OpenGL program I wrote some months ago, > but this time it gives me this error (it compiles okay though): > > $> ./mktrngdat > freeglut (./mktrngdat): OpenGL GLX extension not supported by display ':0.0' > > I notice that there is some problem with Nvidia driver now adays and > module-assistant auto-install does not work for nvidia. So at present, > my system (Etch) is not using the proprietary Nvidia module, just the > native nv module. [...] > My xorg.conf file has the following parts: > Section "Module" > Load "i2c" > Load "bitmap" > Load "ddc" > Load "dri" > Load "extmod" > Load "freetype" > #Load "glx" > Load "GLcore" > Load "int10" > Load "type1" > Load "vbe" > EndSection > Section "Device" > Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" > Driver "nv" > BusID "PCI:1:0:0" > EndSection > Section "DRI" > Mode 0666 > EndSection > > Furthermore: > $> glxinfo > name of display: :0.0 > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > Xlib: extension "GLX" missing on display ":0.0". > Error: couldn't find RGB GLX visual [...] > So, the questions is, how do I get my little program to work without > installing Nvidia driver? I would try to uncomment the 'Load "glx"' line in your xorg.conf. You probably commented out that line because the proprietary nvidia driver requires you to do so, but AFAIK the "nv" driver does need the normal Xorg glx module if you want to use the GLX extension. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> >> So, the questions is, how do I get my little program to work without >> installing Nvidia driver? > > I would try to uncomment the 'Load "glx"' line in your xorg.conf. You > probably commented out that line because the proprietary nvidia driver > requires you to do so, but AFAIK the "nv" driver does need the normal > Xorg glx module if you want to use the GLX extension. > Okay. I just tried that and from the Xorg log file I see that it being loaded okay, but it is not being initialized: $> cat /var/log/Xorg.0.log | grep '(EE)' (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to load module "type1" (module does not exist, 0) (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found) I am using 2.6.21 Debian kernel and $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' ii nvidia-glx 1.0.8776-4 ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 ii nvidia-kernel-common 20051028+1 ii nvidia-kernel-source 1.0.8776-4 What do I try next? thanks, ->HS -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> >> So, the questions is, how do I get my little program to work without >> installing Nvidia driver? > > I would try to uncomment the 'Load "glx"' line in your xorg.conf. You > probably commented out that line because the proprietary nvidia driver > requires you to do so, but AFAIK the "nv" driver does need the normal > Xorg glx module if you want to use the GLX extension. > Okay. I just tried that and from the Xorg log file I see that it being loaded okay, but it is not being initialized: $> cat /var/log/Xorg.0.log | grep '(EE)' (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to load module "type1" (module does not exist, 0) (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found) I am using 2.6.21 Debian kernel and $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' ii nvidia-glx 1.0.8776-4 ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 ii nvidia-kernel-common 20051028+1 ii nvidia-kernel-source 1.0.8776-4 What do I try next? thanks, ->HS -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote:
> Florian Kulzer wrote: > > > > >> So, the questions is, how do I get my little program to work without > >> installing Nvidia driver? > > > > I would try to uncomment the 'Load "glx"' line in your xorg.conf. You > > probably commented out that line because the proprietary nvidia driver > > requires you to do so, but AFAIK the "nv" driver does need the normal > > Xorg glx module if you want to use the GLX extension. > > > > Okay. I just tried that and from the Xorg log file I see that it being > loaded okay, but it is not being initialized: > $> cat /var/log/Xorg.0.log | grep '(EE)' > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (EE) Failed to load module "type1" (module does not exist, 0) > (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not > found) > > > I am using 2.6.21 Debian kernel and > $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' > ii nvidia-glx 1.0.8776-4 > ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 > ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 > ii nvidia-kernel-common 20051028+1 > ii nvidia-kernel-source 1.0.8776-4 > > What do I try next? I think the above error message means that your X is presently still loading nvidia's glx module (which only works with nvidia's driver). The nvidia-glx package overwrites the original Xorg glx module and uses dpkg-divert to make sure that nvidia's glx module stays in place. Purging the nvidia-glx package should give you the original Xorg glx module back. Make sure you use "purge" and not just "remove" because otherwise an initscript stays on your system which could cause trouble. (I think this issue is fixed now, but it cannot hurt to be on the safe side.) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote:
> Florian Kulzer wrote: > > > > >> So, the questions is, how do I get my little program to work without > >> installing Nvidia driver? > > > > I would try to uncomment the 'Load "glx"' line in your xorg.conf. You > > probably commented out that line because the proprietary nvidia driver > > requires you to do so, but AFAIK the "nv" driver does need the normal > > Xorg glx module if you want to use the GLX extension. > > > > Okay. I just tried that and from the Xorg log file I see that it being > loaded okay, but it is not being initialized: > $> cat /var/log/Xorg.0.log | grep '(EE)' > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (EE) Failed to load module "type1" (module does not exist, 0) > (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not > found) > > > I am using 2.6.21 Debian kernel and > $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' > ii nvidia-glx 1.0.8776-4 > ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 > ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 > ii nvidia-kernel-common 20051028+1 > ii nvidia-kernel-source 1.0.8776-4 > > What do I try next? I think the above error message means that your X is presently still loading nvidia's glx module (which only works with nvidia's driver). The nvidia-glx package overwrites the original Xorg glx module and uses dpkg-divert to make sure that nvidia's glx module stays in place. Purging the nvidia-glx package should give you the original Xorg glx module back. Make sure you use "purge" and not just "remove" because otherwise an initscript stays on your system which could cause trouble. (I think this issue is fixed now, but it cannot hurt to be on the safe side.) -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote: >> Florian Kulzer wrote: >> >>>> So, the questions is, how do I get my little program to work without >>>> installing Nvidia driver? >>> I would try to uncomment the 'Load "glx"' line in your xorg.conf. You >>> probably commented out that line because the proprietary nvidia driver >>> requires you to do so, but AFAIK the "nv" driver does need the normal >>> Xorg glx module if you want to use the GLX extension. >>> >> Okay. I just tried that and from the Xorg log file I see that it being >> loaded okay, but it is not being initialized: >> $> cat /var/log/Xorg.0.log | grep '(EE)' >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >> (EE) Failed to load module "type1" (module does not exist, 0) >> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not >> found) >> >> >> I am using 2.6.21 Debian kernel and >> $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' >> ii nvidia-glx 1.0.8776-4 >> ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 >> ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 >> ii nvidia-kernel-common 20051028+1 >> ii nvidia-kernel-source 1.0.8776-4 >> >> What do I try next? > > I think the above error message means that your X is presently still > loading nvidia's glx module (which only works with nvidia's driver). The > nvidia-glx package overwrites the original Xorg glx module and uses > dpkg-divert to make sure that nvidia's glx module stays in place. > Purging the nvidia-glx package should give you the original Xorg glx > module back. Make sure you use "purge" and not just "remove" because > otherwise an initscript stays on your system which could cause trouble. > (I think this issue is fixed now, but it cannot hurt to be on the safe > side.) > That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out, restarted gdm and logged back in and glx worked. It is veeery slow (understandably) but my OpenGL program runs at least. BTW, I get this in Xorg's log file: $> cat /var/log/Xorg.0.log | grep '(EE)' (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to load module "type1" (module does not exist, 0) (EE) AIGLX: Screen 0 is not DRI capable If the second error a problem? Is trying to remove it worthwhile? Thanks, ->HS -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
Florian Kulzer wrote:
> On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote: >> Florian Kulzer wrote: >> >>>> So, the questions is, how do I get my little program to work without >>>> installing Nvidia driver? >>> I would try to uncomment the 'Load "glx"' line in your xorg.conf. You >>> probably commented out that line because the proprietary nvidia driver >>> requires you to do so, but AFAIK the "nv" driver does need the normal >>> Xorg glx module if you want to use the GLX extension. >>> >> Okay. I just tried that and from the Xorg log file I see that it being >> loaded okay, but it is not being initialized: >> $> cat /var/log/Xorg.0.log | grep '(EE)' >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >> (EE) Failed to load module "type1" (module does not exist, 0) >> (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not >> found) >> >> >> I am using 2.6.21 Debian kernel and >> $> dpkg -l *nvidia* | grep ^ii | gawk '{print $1 " " $2 "\t" $3}' >> ii nvidia-glx 1.0.8776-4 >> ii nvidia-kernel-2.6.17-2-486 1.0.8776-4+2.6.17-9 >> ii nvidia-kernel-2.6.18-3-486 1.0.8776-4+2.6.18-7 >> ii nvidia-kernel-common 20051028+1 >> ii nvidia-kernel-source 1.0.8776-4 >> >> What do I try next? > > I think the above error message means that your X is presently still > loading nvidia's glx module (which only works with nvidia's driver). The > nvidia-glx package overwrites the original Xorg glx module and uses > dpkg-divert to make sure that nvidia's glx module stays in place. > Purging the nvidia-glx package should give you the original Xorg glx > module back. Make sure you use "purge" and not just "remove" because > otherwise an initscript stays on your system which could cause trouble. > (I think this issue is fixed now, but it cannot hurt to be on the safe > side.) > That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out, restarted gdm and logged back in and glx worked. It is veeery slow (understandably) but my OpenGL program runs at least. BTW, I get this in Xorg's log file: $> cat /var/log/Xorg.0.log | grep '(EE)' (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to load module "type1" (module does not exist, 0) (EE) AIGLX: Screen 0 is not DRI capable If the second error a problem? Is trying to remove it worthwhile? Thanks, ->HS -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
H.S.(hs.samix@gmail.com) is reported to have said:
> Florian Kulzer wrote: > > On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote: > >> Florian Kulzer wrote: <--<snip>--> > > That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out, > restarted gdm and logged back in and glx worked. It is veeery slow > (understandably) but my OpenGL program runs at least. > > BTW, I get this in Xorg's log file: > $> cat /var/log/Xorg.0.log | grep '(EE)' > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (EE) Failed to load module "type1" (module does not exist, 0) > (EE) AIGLX: Screen 0 is not DRI capable > > > > If the second error a problem? Is trying to remove it worthwhile? Easy fix. Just add this snippet to the end oc the xorg.conf. Section "ServerFlags" Option "AIGLX" "off" EndSEction Wayne -- Cannot load Windows 95, Incorrect DOS Version. __________________________________________________ _____ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
H.S.(hs.samix@gmail.com) is reported to have said:
> Florian Kulzer wrote: > > On Sat, Aug 18, 2007 at 11:09:07 -0400, H.S. wrote: > >> Florian Kulzer wrote: <--<snip>--> > > That worked. Did "sudo aptitude --purge remove nvidia-glx", logged out, > restarted gdm and logged back in and glx worked. It is veeery slow > (understandably) but my OpenGL program runs at least. > > BTW, I get this in Xorg's log file: > $> cat /var/log/Xorg.0.log | grep '(EE)' > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (EE) Failed to load module "type1" (module does not exist, 0) > (EE) AIGLX: Screen 0 is not DRI capable > > > > If the second error a problem? Is trying to remove it worthwhile? Easy fix. Just add this snippet to the end oc the xorg.conf. Section "ServerFlags" Option "AIGLX" "off" EndSEction Wayne -- Cannot load Windows 95, Incorrect DOS Version. __________________________________________________ _____ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|