Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Catalin Trifu
   Hi,

did u run: eselect opengl set nvidia
to make sure nvidia's implementation is used. By yhe output of
Xorg.0.log the
actual implementation used is the X.org default one.
Also make sure you comment the ModulesPath in xorg.conf.

Catalin

  

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Dirk Heinrichs
Am Mittwoch, 14. Dezember 2005 16:24 schrieb ext Stefan Frank:

 X.org gives me the following error message on startup:

 I don't know where I can get some more informative error messages. A few
 lines above I can see that the glx-module was loaded:

 (II) LoadModule: glx
 (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
 (II) Module glx: vendor=X.Org Foundation
 compiled for 6.99.99.903, module version = 1.0.0
 ABI class: X.Org Server Extension, version 0.2

Any chance you're using hardened gcc? Try switching gcc to vanilla (using 
gcc-config) and rebuild xorg-server and eventually the nvidia stuff. If 
that still doesn't work, also try adding -fno-stack-protector to your 
CFLAGS.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgp4KrjUly0Ek.pgp
Description: PGP signature


Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Stefan Frank
On Wednesday 14 December 2005 16:24, Stefan Frank wrote:
 x11-base/xorg-server-0.99.4-r2  +dri +ipv6 -minimal +xprint
 media-video/nvidia-kernel-1.0.8174-r1
 media-video/nvidia-glx-1.0.8174-r1  -dlloader

Is it correct, that I have set the dri use-flag? I'm confused about that, 
because some people say in xorg.conf it shouldn't be set (glx is sufficient). 
If someone can bring some light into this issue I would be glad too. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Stefan Frank
On Wednesday 14 December 2005 15:53, Catalin Trifu wrote:
Hi,

 did u run: eselect opengl set nvidia

More than once :(.

 to make sure nvidia's implementation is used. By yhe output of
 Xorg.0.log the
 actual implementation used is the X.org default one.
 Also make sure you comment the ModulesPath in xorg.conf.

ModulePath is already commented :(

I really don't know, what the problem may be. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Stefan Frank
On Wednesday 14 December 2005 15:54, Dirk Heinrichs wrote:
 Any chance you're using hardened gcc? Try switching gcc to vanilla (using
 gcc-config) and rebuild xorg-server and eventually the nvidia stuff. 

Nope:

# gcc-config -L
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32

I reemerged xorg-server and nvidia-stuff several times...

 If that still doesn't work, also try adding -fno-stack-protector to your
 CFLAGS.

Do you think, this is worth a try? I assume the problem is somewhere else 
(related to something I have different than others?). My CFLAGS seem to me 
very usual:

CFLAGS=-O2 -pipe -fomit-frame-pointer
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Catalin Trifu




# ls -lsa /usr/lib/libGL*
 4 -rw-r--r-- 1 root root 727 Dec 10 12:04 /usr/lib/libGL.la
 0 lrwxrwxrwx 1 root root 36 Dec 10 12:04 /usr/lib/libGL.so -
//usr/lib/opengl/nvidia/lib/libGL.so*
 4 -rw-r--r-- 1 root root 752 Dec 3 12:31 /usr/lib/libGLU.la
 0 lrwxrwxrwx 1 root root 20 Dec 7 23:43 /usr/lib/libGLU.so
- /usr/lib/libGLU.so.1*
 0 lrwxrwxrwx 1 root root 20 Dec 3 12:31 /usr/lib/libGLU.so.1
- libGLU.so.1.3.060401*
464 -rwxr-xr-x 1 root root 473316 Dec 3 12:31
/usr/lib/libGLU.so.1.3.060401*
 0 lrwxrwxrwx 1 root root 40 Dec 10 12:04 /usr/lib/libGLcore.so
- //usr/lib/opengl/nvidia/lib/libGLcore.so*
 0 lrwxrwxrwx 1 root root 11 Dec 3 12:31 /usr/lib/libGLw.so
- libGLw.so.1*
 0 lrwxrwxrwx 1 root root 15 Dec 3 12:31 /usr/lib/libGLw.so.1
- libGLw.so.1.0.0*
 0 lrwxrwxrwx 1 root root 15 Dec 3 12:31 /usr/lib/libGLw.so.1.0
- libGLw.so.1.0.0*
20 -rwxr-xr-x 1 root root 16804 Dec 3 12:31
/usr/lib/libGLw.so.1.0.0*

 My machine shows this. Is LoadModule "dri" commented out in
xorg.conf.

Catalin


Stefan Frank wrote:

  On Wednesday 14 December 2005 15:53, Catalin Trifu wrote:
  
  
   Hi,

did u run: eselect opengl set nvidia

  
  
More than once :(.

  
  
to make sure nvidia's implementation is used. By yhe output of
Xorg.0.log the
actual implementation used is the X.org default one.
Also make sure you comment the ModulesPath in xorg.conf.

  
  
ModulePath is already commented :(

I really don't know, what the problem may be. 
  





Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Stefan Frank
On Wednesday 14 December 2005 16:43, Catalin Trifu wrote:
 # ls -lsa /usr/lib/libGL*
   4 -rw-r--r--  1 root root727 Dec 10 12:04 /usr/lib/libGL.la
   0 lrwxrwxrwx  1 root root 36 Dec 10 12:04 /usr/lib/libGL.so -
 //usr/lib/opengl/nvidia/lib/libGL.so*
   4 -rw-r--r--  1 root root752 Dec  3 12:31 /usr/lib/libGLU.la
   0 lrwxrwxrwx  1 root root 20 Dec  7 23:43 /usr/lib/libGLU.so -
 /usr/lib/libGLU.so.1*
   0 lrwxrwxrwx  1 root root 20 Dec  3 12:31 /usr/lib/libGLU.so.1 -
 libGLU.so.1.3.060401*
 464 -rwxr-xr-x  1 root root 473316 Dec  3 12:31
 /usr/lib/libGLU.so.1.3.060401*
   0 lrwxrwxrwx  1 root root 40 Dec 10 12:04 /usr/lib/libGLcore.so -
 //usr/lib/opengl/nvidia/lib/libGLcore.so*
   0 lrwxrwxrwx  1 root root 11 Dec  3 12:31 /usr/lib/libGLw.so -
 libGLw.so.1*
   0 lrwxrwxrwx  1 root root 15 Dec  3 12:31 /usr/lib/libGLw.so.1 -
 libGLw.so.1.0.0*
   0 lrwxrwxrwx  1 root root 15 Dec  3 12:31 /usr/lib/libGLw.so.1.0
 - libGLw.so.1.0.0*
  20 -rwxr-xr-x  1 root root  16804 Dec  3 12:31 /usr/lib/libGLw.so.1.0.0*

My system:

# ls -lsa /usr/lib/libGL*
  4 -rw-r--r--  1 root root731 Nov 12 21:02 /usr/lib/libGL.la
  0 lrwxrwxrwx  1 root root 36 Nov 12 21:02 /usr/lib/libGL.so 
- //usr/lib/opengl/nvidia/lib/libGL.so
  4 -rw-r--r--  1 root root752 Dec 12 17:05 /usr/lib/libGLU.la
  0 lrwxrwxrwx  1 root root 11 Dec 12 17:05 /usr/lib/libGLU.so - 
libGLU.so.1
  0 lrwxrwxrwx  1 root root 20 Dec 12 17:05 /usr/lib/libGLU.so.1 - 
libGLU.so.1.3.060401
  0 lrwxrwxrwx  1 root root 20 Dec 12 17:05 /usr/lib/libGLU.so.1.3 - 
libGLU.so.1.3.060401
505 -rwxr-xr-x  1 root root 513640 Dec 12 17:05 /usr/lib/libGLU.so.1.3.060401
  0 lrwxrwxrwx  1 root root 40 Nov 12 21:02 /usr/lib/libGLcore.so 
- //usr/lib/opengl/nvidia/lib/libGLcore.so
  0 lrwxrwxrwx  1 root root 11 Dec 12 17:05 /usr/lib/libGLw.so - 
libGLw.so.1
  0 lrwxrwxrwx  1 root root 15 Dec 12 17:05 /usr/lib/libGLw.so.1 - 
libGLw.so.1.0.0
  0 lrwxrwxrwx  1 root root 15 Dec 12 17:05 /usr/lib/libGLw.so.1.0 - 
libGLw.so.1.0.0
 28 -rwxr-xr-x  1 root root  25656 Dec 12 17:05 /usr/lib/libGLw.so.1.0.0

That looks to me the same.


 My machine shows this. Is LoadModule dri commented out in xorg.conf.

Wasn't, but is now and it doesn't change anything... Have you emerged 
xorg-server with the USE-flag dri?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Catalin Trifu




 Can be because u run x86_64
because it loads the GLX from 

Loading /usr/lib64/xorg/modules/extensions/libglx.so
   This can be a cause. Have u tried to use the xorg implementation.
   Also, you can live without GLX as long u don't need fancy 3D or
something like that.

Catalin



Stefan Frank wrote:

  On Wednesday 14 December 2005 16:43, Catalin Trifu wrote:
  
  
# ls -lsa /usr/lib/libGL*
  4 -rw-r--r--  1 root root727 Dec 10 12:04 /usr/lib/libGL.la
  0 lrwxrwxrwx  1 root root 36 Dec 10 12:04 /usr/lib/libGL.so -
//usr/lib/opengl/nvidia/lib/libGL.so*
  4 -rw-r--r--  1 root root752 Dec  3 12:31 /usr/lib/libGLU.la
  0 lrwxrwxrwx  1 root root 20 Dec  7 23:43 /usr/lib/libGLU.so -
/usr/lib/libGLU.so.1*
  0 lrwxrwxrwx  1 root root 20 Dec  3 12:31 /usr/lib/libGLU.so.1 -
libGLU.so.1.3.060401*
464 -rwxr-xr-x  1 root root 473316 Dec  3 12:31
/usr/lib/libGLU.so.1.3.060401*
  0 lrwxrwxrwx  1 root root 40 Dec 10 12:04 /usr/lib/libGLcore.so -
//usr/lib/opengl/nvidia/lib/libGLcore.so*
  0 lrwxrwxrwx  1 root root 11 Dec  3 12:31 /usr/lib/libGLw.so -
libGLw.so.1*
  0 lrwxrwxrwx  1 root root 15 Dec  3 12:31 /usr/lib/libGLw.so.1 -
libGLw.so.1.0.0*
  0 lrwxrwxrwx  1 root root 15 Dec  3 12:31 /usr/lib/libGLw.so.1.0
- libGLw.so.1.0.0*
 20 -rwxr-xr-x  1 root root  16804 Dec  3 12:31 /usr/lib/libGLw.so.1.0.0*

  
  
My system:

# ls -lsa /usr/lib/libGL*
  4 -rw-r--r--  1 root root731 Nov 12 21:02 /usr/lib/libGL.la
  0 lrwxrwxrwx  1 root root 36 Nov 12 21:02 /usr/lib/libGL.so 
- //usr/lib/opengl/nvidia/lib/libGL.so
  4 -rw-r--r--  1 root root752 Dec 12 17:05 /usr/lib/libGLU.la
  0 lrwxrwxrwx  1 root root 11 Dec 12 17:05 /usr/lib/libGLU.so - 
libGLU.so.1
  0 lrwxrwxrwx  1 root root 20 Dec 12 17:05 /usr/lib/libGLU.so.1 - 
libGLU.so.1.3.060401
  0 lrwxrwxrwx  1 root root 20 Dec 12 17:05 /usr/lib/libGLU.so.1.3 - 
libGLU.so.1.3.060401
505 -rwxr-xr-x  1 root root 513640 Dec 12 17:05 /usr/lib/libGLU.so.1.3.060401
  0 lrwxrwxrwx  1 root root 40 Nov 12 21:02 /usr/lib/libGLcore.so 
- //usr/lib/opengl/nvidia/lib/libGLcore.so
  0 lrwxrwxrwx  1 root root 11 Dec 12 17:05 /usr/lib/libGLw.so - 
libGLw.so.1
  0 lrwxrwxrwx  1 root root 15 Dec 12 17:05 /usr/lib/libGLw.so.1 - 
libGLw.so.1.0.0
  0 lrwxrwxrwx  1 root root 15 Dec 12 17:05 /usr/lib/libGLw.so.1.0 - 
libGLw.so.1.0.0
 28 -rwxr-xr-x  1 root root  25656 Dec 12 17:05 /usr/lib/libGLw.so.1.0.0

That looks to me the same.

  
  
My machine shows this. Is LoadModule "dri" commented out in xorg.conf.

  
  
Wasn't, but is now and it doesn't change anything... Have you emerged 
xorg-server with the USE-flag "dri"?
  





Re: [gentoo-user] Modular X.org + Nvidia = GLX not loading

2005-12-14 Thread Francesco Riosa
Stefan Frank wrote:
 Hi 

 I'm running ~amd64 on some packages and I know this can produce problems ;). 
 I 
 tried the modular X.org a while ago and was surprised about the stability. 
 There was only a issue with missing symlinks for the nvidia drivers. 
 Everything went fine since a few days ago. 

 My current versions:

 x11-base/xorg-server-0.99.4-r2  +dri +ipv6 -minimal +xprint
 media-video/nvidia-kernel-1.0.8174-r1
 media-video/nvidia-glx-1.0.8174-r1  -dlloader

   
different card than your but I need to put in  /etc/portage/package.mask
=media-video/nvidia-kernel-1.0.8174*
=media-video/nvidia-glx-1.0.8174*


emerge -pv media-video/nvidia-kernel media-video/nvidia-glx

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/nvidia-kernel-1.0.7676-r1  0 kB
[ebuild   R   ] media-video/nvidia-glx-1.0.7676-r2  -dlloader 0 kB

also I'm sticky with kernel = 2.6.15-rc1-mm1 ,

another thing you can look at is kernel loaded modules,
#  lsmod | grep nv
nvidia   3707400  12

should output exactly that not other video related modules (groan every
time I see that 3707400 that become 4... with 8174 )

nothing definitive but may be something to try

-- Francesco R.
-- 
gentoo-user@gentoo.org mailing list