Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X w/ NVIDIA drivers refused to start w/ Load glx option
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Mon Apr 25, 2005 2:22 am    Post subject: X w/ NVIDIA drivers refused to start w/ Load glx option Reply with quote

For some reason, my X refuses to start with the Modules Load glx uncommented. The nvidia-kernel module loads fine, and I've tried several versions of nvidia-kernel and nvidia-glx. None of them seem to be working. I'm using gentoo-sources-2.6.10-r7 for a kernel.

Here is the end of Xorg.0.log
Code:

(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/psaux"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Option "Buttons" "10"
(==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 10
(**) Mouse1: SmartScroll: 1
(**) Option "Resolution" "200"
(**) Mouse1: Resolution: 200
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc101"
(**) Keyboard1: XkbModel: "pc101"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse1: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/local/, removing from list!
SetClientVersion: 0 8


When Load glx is uncommented, the servers dies with a "Connection reset by peer". Anyone know whats going on, cuz there is no sense in using nvidia drivers If I can't use glx :?

Edit: My xorg.conf that doesn't work.
Code:

Section "Module"

    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"

EndSection

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"   "us"

EndSection

Section "InputDevice"

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Buttons" "10"
    Option "ZAxisMapping" "4 5"
    Option "Device"      "/dev/psaux"
    Option "Resolution"   "200"

EndSection

Section "Monitor"

    Identifier  "E152FP"
    HorizSync   31-62
    VertRefresh 50-75

EndSection

Section "Device"

    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"

EndSection


Section "Device"
    Identifier  "GeForce4"
    Driver      "nvidia"
    VideoRam    65000
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "GeForce4"
    Monitor     "E152FP"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection



Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection


_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
Master Shake
l33t
l33t


Joined: 10 Apr 2005
Posts: 755
Location: Wilmington, Delaware

PostPosted: Mon Apr 25, 2005 3:49 am    Post subject: Reply with quote

What version of glibc do you have installed. I hear that version 2.3.5 breaks the nvidia-glx part. Try installing 2.3.4 if you have 2.3.5 installed and try again.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Apr 25, 2005 3:57 am    Post subject: Reply with quote

I read in another post that it is a bug with glibc 2.3.5. If that is what you are using then downgrade until a fix comes along.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Mon Apr 25, 2005 12:08 pm    Post subject: Reply with quote

After I downgrade, what exactly do I need to recompile. Just nvidia-glx?
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Mon Apr 25, 2005 12:17 pm    Post subject: Reply with quote

Valhalla wrote:
After I downgrade, what exactly do I need to recompile. Just nvidia-glx?

You should not have to recompile anything.
Back to top
View user's profile Send private message
froglet
n00b
n00b


Joined: 25 Jan 2005
Posts: 10

PostPosted: Mon Apr 25, 2005 3:53 pm    Post subject: Reply with quote

whats the reason for this happening with glibc messing with glx?
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Thu Apr 28, 2005 9:38 pm    Post subject: Reply with quote

Ok, so I have a friend in dorm running gentoo on an HP Pavilion laptop, Nvidia GeForce4 440, and an Athlon-XP processor. He gets the exact same error, but he is using on of the revisions of glibc-2.3.4. We are both stumped, anybody know what that could be caused by?
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
Slowhand
n00b
n00b


Joined: 09 Sep 2003
Posts: 41
Location: St. Charles, IL

PostPosted: Thu Apr 28, 2005 10:00 pm    Post subject: Reply with quote

I had the same problem after updating to glibc 2.3.5 until today. The latest revision of nvidia-glx (media-video/nvidia-glx-1.0.7174-r3) and glibc 2.3.5 are working fine for me.
Back to top
View user's profile Send private message
deoren
Apprentice
Apprentice


Joined: 23 Dec 2004
Posts: 227
Location: USA

PostPosted: Thu Apr 28, 2005 10:40 pm    Post subject: Not fo' me Reply with quote

Just wanted to mention that I upgraded to unstable media-video/nvidia-glx-1.0.7174-r3 and X wouldn't start for me either. Downgraded to media-video/nvidia-glx-1.0.7174-r1 by:

1. Adding
Quote:
=media-video/nvidia-glx-1.0.7174-r3
in /etc/portage/package.mask
2. emerge -Cp nvidia-glx
3. emerge -vpD nvidia-glx
4. /etc/init.d/xdm stop
5. /etc/init.d/xdm zap
6. /etc/init.d/xdm start

Voila, X is alive. :)
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Thu Apr 28, 2005 10:59 pm    Post subject: Reply with quote

He was using the 6626. We upgraded it to 7174 version, and now it starts, but the nvidia splash doesn't show. X seems to partially initilize, but no graphhics show up, and it won't start gdm. It hardlocks, before it just failed, now it hardlocks, and you can't reset X. I had to ssh in and zap it.

edit: The log has several Unresolved Symbol errors, all libdri.a
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
kloune
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 185
Location: lost

PostPosted: Sat Apr 30, 2005 12:50 pm    Post subject: Reply with quote

Hi,

I am installing the whole thing today and the dri problem I already solved. You shouldn't use dri if you use the nvidia things, so just comment the
Code:
Load "dri"

out in the xorg.conf file.

That should solve these problems. I go on looking. Read you.
Back to top
View user's profile Send private message
kloune
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 185
Location: lost

PostPosted: Sat Apr 30, 2005 1:27 pm    Post subject: Reply with quote

After removing the dri things, it started.

I use ~amd64 and everything from today's portage tree. I reemerge nvidia-glx. I set the screen resolution to 1280x1024 and before, I had a restriction on the frequency, which I removed. Not it seems to work without problem, at least I get the logo and the screen looks nice. Only one small problem.

glxgears runs at 5.6 fps.

Here are the interesting sections:

Code:


Section "Module"
        Load            "glx"
        Load            "record"
        Load            "extmod"
        Load            "dbe"
        # Load  "dri"
        Load            "xtrap"
        Load            "freetype"
        Load            "type1"
EndSection

Section "Device"
        Option     "NvAGP"                      "0"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024"
        EndSubSection
EndSection



I have a PCI-E graphics card, but strangely, on another forum I read that you should specify:
Code:
  Option     "NvAGP"                      "0"

I don't know why, but as at least I have a nice screen, It's okay. Except from glxgears it's okay.
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sat Apr 30, 2005 2:36 pm    Post subject: Reply with quote

Got a quite similar problem, after upgrading to the r3 version my xorg stops loading with a black screen, but my pc is not hardlocked, num lock for instance does still work.
I can also reset it via ctrl alt del but i cant do anything else.

The log shows clearly where it hangs
Code:

       [29] -1 0       0x0000c000 - 0x0000c01f (0x20) IX[B]
        [30] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [31] -1 0       0x0000e000 - 0x0000e007 (0x8) IX[B]
        [32] -1 0       0x0000e400 - 0x0000e41f (0x20) IX[B]
        [33] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [34] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX

The problem is, even downgrading to the r1 version did not work. I am a little lost right now i have to disable the loading of the glx extension otherwise i have no xorg. I also not using glibc 2.5 i am using
Code:

 sys-libs/glibc
      Latest version available: 2.3.4.20041102-r1
      Latest version installed: 2.3.4.20041102-r1
      Size of downloaded files: 17,128 kB
      Homepage:    http://sources.redhat.com/glibc/
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2


Help anyone?
:(
Back to top
View user's profile Send private message
ScOut3R
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2005
Posts: 116
Location: Australia

PostPosted: Sun May 01, 2005 12:10 am    Post subject: Reply with quote

anarchist wrote:
Got a quite similar problem, after upgrading to the r3 version my xorg stops loading with a black screen, but my pc is not hardlocked, num lock for instance does still work.
I can also reset it via ctrl alt del but i cant do anything else.

The log shows clearly where it hangs
Code:

       [29] -1 0       0x0000c000 - 0x0000c01f (0x20) IX[B]
        [30] -1 0       0x0000f000 - 0x0000f00f (0x10) IX[B]
        [31] -1 0       0x0000e000 - 0x0000e007 (0x8) IX[B]
        [32] -1 0       0x0000e400 - 0x0000e41f (0x20) IX[B]
        [33] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [34] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX

The problem is, even downgrading to the r1 version did not work. I am a little lost right now i have to disable the loading of the glx extension otherwise i have no xorg. I also not using glibc 2.5 i am using
Code:

 sys-libs/glibc
      Latest version available: 2.3.4.20041102-r1
      Latest version installed: 2.3.4.20041102-r1
      Size of downloaded files: 17,128 kB
      Homepage:    http://sources.redhat.com/glibc/
      Description: GNU libc6 (also called glibc2) C library
      License:     LGPL-2


Help anyone?
:(

I have the same problem. :( Glibc is the same, nvidiaglx is 1.0.6629-r1. I need that help also :)
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 8:56 am    Post subject: Reply with quote

Yesterday i tried reverting to older versions, but it is no use. I will try to use glibc 2.5 today.

What i actually realised is a skew in my cflags, i accidently set 2 cflags and no cxx flags, i suppose that might cause some trouble, so i will recompile everything i compiled with those cflag settings...
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 9:36 am    Post subject: Reply with quote

What i was actually thinking 'bout scout :lol: can you think of the last things you emerged before your glx stoped working? I am pretty sure which were the last things i emerged, and not too much of them have anything in common with the glx.
Well the last things i emerged before my glx stopped working were:
Code:

ncurses, python, libglade, gal, grep, libgcrypt, libtasn, libtool, gnutls, libsoup, libIDL, orbit, libbonobo, libgnome, evolution (and all of its tiny helper things) libbonoboui gail, libgtkhtml, opengl-update

And the only things that i suppose to interfere with the glx are the gnutls and the opgengl-updatem probably even libtool. I am not so sure about the gnutls thing, cause i might mix it up with something else.

I hope that this might help someone to come to a solution... otherwise i have to play World of Warcraft with windows :?
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 2:17 pm    Post subject: Reply with quote

Thats it ... i tried everything and nothing helped, im really out of ideas. The last thing i will try is to re prelink everything probably that might help
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Sun May 01, 2005 2:28 pm    Post subject: Reply with quote

Did you upgrade xorg at all?
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
anfpunk
Apprentice
Apprentice


Joined: 29 May 2003
Posts: 275
Location: Columbus, Oh

PostPosted: Sun May 01, 2005 4:01 pm    Post subject: Reply with quote

I'm using these:

Code:

[ebuild   R   ] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts +cjk -debug +dlloader -dmx -doc -font-server +hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts -type1-fonts (-uclibc) -xprint +xv 0 kB
[ebuild   R   ] media-video/nvidia-kernel-1.0.7174  0 kB
[ebuild   R   ] media-video/nvidia-glx-1.0.7174-r3  0 kB
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug -erandom +hardened -multilib +nls -nomalloccheck -nptl -nptlonly +pic -userlocales 0 kB


and get the same thing. I can however alt+F1 and get back to my login after X just dies.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Sun May 01, 2005 5:29 pm    Post subject: Reply with quote

anfpunk, downgrade your glibc to a 2.3.4-########.
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 5:29 pm    Post subject: Reply with quote

@anfpunk
do you use prelink?

@valhalla
what do you mean?
Its the newest version i am using.
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Sun May 01, 2005 6:14 pm    Post subject: Reply with quote

glibc-2.3.5 breaks the nvidia glx module. He has to downgrade to glibc-2.3.4.

See post #3

Code:

# echo "=sys-libs/glibc=2.3.5" >> /etc/portage/package.mask

# emerge glibc


That was my initiale problem
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 6:47 pm    Post subject: Reply with quote

Well the funny thing is, it also wont work with glibc 2.3.4 ... but at any rate with the r3 revision of the nvidia-glx it also should work with the 2.3.5 glibc

I have tried everything now ... even re prelinking did not help at any rate, im absolutely lost. We could file a bug request but i suppose it wont help us at all ... maybe it is something with a config file, did somebody try a different X server? like the old xfree? probably that might help?
Back to top
View user's profile Send private message
Valhalla
Apprentice
Apprentice


Joined: 31 Jan 2005
Posts: 205
Location: Home = Atl, GA College = Carlisle, PA

PostPosted: Sun May 01, 2005 7:33 pm    Post subject: Reply with quote

Dunno, when I upgraded to glibc-2.3.5 my glx stopped working, when I downgraded to 2.3.4 it started working again. I am running 7147-r3 for glx and 7147 for kernel.
_________________
--Quote of the Month--
"And god saw that the CG artists life was too easy, so he created Skinning and UV unwrapping."
Oh My 8O, look at all these poor Unanswered Posts
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun May 01, 2005 7:38 pm    Post subject: Reply with quote

I found the solution!
Revert your opengl-update to the version before 2.2.1 its somehow broken on my system as soon as i started using the old one everything is back up running!
Well and do opengl-update xorg-x11 and after that directly opengl-update nvidia then it ran again here at my place!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum