public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Nvidia hangs Xorg
@ 2006-02-28 13:48 Jonatan Antoni
  2006-02-28 14:51 ` Daniel da Veiga
  2006-03-02  3:31 ` Mark
  0 siblings, 2 replies; 7+ messages in thread
From: Jonatan Antoni @ 2006-02-28 13:48 UTC (permalink / raw
  To: gentoo-user

Hy there,

I'm playing around with the nvidia kernel-modules and glx-drivers for x11 for a while.
First all works fine, but using mozilla-firefox crashes the x-server after a while. Let
me give you an example: Running firefox works, going to google as well, but going to
http://gentoo-wiki.com/HOWTO_Dual_Monitors and click the link "4.1 Moving focus between screens"
hangs the display. I can still move around the mouse-cursor, but everything else is locked.

Logging in to my system remotely by ssh, I can find the X-proccess taking nearly 100 percent
of cpu-time. By restarting xdm the X-system comes back correctly.

Now I'm back using the default nv-driver of the xorg-project, because that's the only way of sending
this email without x11 hangs. In the future I want to use the dual-head function of my geforce fx5200
for a video-beamer. Is there another way without using the original nvidia drivers or has somebody
a hint about that nasty error?

thx,
jonatan
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia hangs Xorg
  2006-02-28 13:48 Jonatan Antoni
@ 2006-02-28 14:51 ` Daniel da Veiga
  2006-03-02  3:31 ` Mark
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel da Veiga @ 2006-02-28 14:51 UTC (permalink / raw
  To: gentoo-user

On 2/28/06, Jonatan Antoni <jantoni@web.de> wrote:
> Hy there,
>
> I'm playing around with the nvidia kernel-modules and glx-drivers for x11 for a while.
> First all works fine, but using mozilla-firefox crashes the x-server after a while. Let
> me give you an example: Running firefox works, going to google as well, but going to
> http://gentoo-wiki.com/HOWTO_Dual_Monitors and click the link "4.1 Moving focus between screens"
> hangs the display. I can still move around the mouse-cursor, but everything else is locked.
>
> Logging in to my system remotely by ssh, I can find the X-proccess taking nearly 100 percent
> of cpu-time. By restarting xdm the X-system comes back correctly.
>
> Now I'm back using the default nv-driver of the xorg-project, because that's the only way of sending
> this email without x11 hangs. In the future I want to use the dual-head function of my geforce fx5200
> for a video-beamer. Is there another way without using the original nvidia drivers or has somebody
> a hint about that nasty error?
>

I have an FX 5200 too, and never had problems with it, I used to
download and install the NVidia drivers from their site, but then I
noticed that portage could handle it, so I just call "emerge
nvidia-settings" (as it gets by dependency nvidia-kernel and
nvidia-glx). Everything works. Have you tried following the NVidia
Guide from the Gentoo Docs?

> thx,
> jonatan
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia hangs Xorg
@ 2006-03-01 11:37 Jonatan Antoni
  2006-03-01 12:13 ` Glenn Enright
  0 siblings, 1 reply; 7+ messages in thread
From: Jonatan Antoni @ 2006-03-01 11:37 UTC (permalink / raw
  To: gentoo-user

Hi again,

On 2/28/06, Daniel da Veiga <danieldaveiga@gmail.com> wrote:
 > On 2/28/06, Jonatan Antoni <jantoni@web.de> wrote:
 > > Hy there,
 > >
 > > I'm playing around with the nvidia kernel-modules and glx-drivers 
for x11 for a while.
 > > First all works fine, but using mozilla-firefox crashes the 
x-server after a while. Let
 > > me give you an example: Running firefox works, going to google as 
well, but going to
 > > http://gentoo-wiki.com/HOWTO_Dual_Monitors and click the link "4.1 
Moving focus between screens"
 > > hangs the display. I can still move around the mouse-cursor, but 
everything else is locked.
 > >
 > > Logging in to my system remotely by ssh, I can find the X-proccess 
taking nearly 100 percent
 > > of cpu-time. By restarting xdm the X-system comes back correctly.
 > >
 > > Now I'm back using the default nv-driver of the xorg-project, 
because that's the only way of sending
 > > this email without x11 hangs. In the future I want to use the 
dual-head function of my geforce fx5200
 > > for a video-beamer. Is there another way without using the original 
nvidia drivers or has somebody
 > > a hint about that nasty error?
 > >
 > I have an FX 5200 too, and never had problems with it, I used to
 > download and install the NVidia drivers from their site, but then I
 > noticed that portage could handle it, so I just call "emerge
 > nvidia-settings" (as it gets by dependency nvidia-kernel and
 > nvidia-glx). Everything works. Have you tried following the NVidia
 > Guide from the Gentoo Docs?

Today I tried it by emerging nvidia-kernel-1.0.8178-r3 and 
nvidia-glx-1.0.8178,
having gentoo-kernel 2.6.14-r5 running. Loading the kernel-module with 
modprobe
works fine. Than I tuned my xorg.conf to use the nvidia-glx module, now 
my xorg.conf
looks like this:

---[/etc/X11/xorg.conf]------------

Section "Module"

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    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/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
    FontPath   "/usr/share/fonts/freefont/"

# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "logicdp"
    Option "XkbLayout"  "de"
    Option "XkbVariant" "nodeadkeys"

EndSection

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping" "4 5"

EndSection

Section "Monitor"

    Identifier  "monitor"
    HorizSync   30-96
    VertRefresh 48-160
    Option      "DPMS"

EndSection

Section "Device"
    Identifier  "graka"
    Driver      "nvidia"
    Screen      0
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "graka"
    Monitor     "monitor"
    DefaultDepth 24

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

Section "ServerLayout"

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

EndSection

---[END]------------------

Starting up xorg just with 'startx' works fine.. xfce4 comes up. But 
lateron it hangs with nearly 100 percent of cpu-time usage,
especially if I use the webbrowser firefox.

I don't know what's wrong. Any more hints on that?

thx,
Jonatan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia hangs Xorg
  2006-03-01 11:37 [gentoo-user] " Jonatan Antoni
@ 2006-03-01 12:13 ` Glenn Enright
  0 siblings, 0 replies; 7+ messages in thread
From: Glenn Enright @ 2006-03-01 12:13 UTC (permalink / raw
  To: gentoo-user

On Thursday 02 March 2006 00:37, Jonatan Antoni wrote:
> Hi again,
> Starting up xorg just with 'startx' works fine.. xfce4 comes up. But
> lateron it hangs with nearly 100 percent of cpu-time usage,
> especially if I use the webbrowser firefox.

Use a process viewer to see what is chugging through the usage. It probably 
isnt your xorg configuration, although you might try changing the Modules 
section to this...
	Section "Module"
	# This loads some basic X extensions.
		Load	"dbe"  		# Double buffer extension
	# Some graphics specific modules
		Load	"extmod"	# basic graphics subsystem extended support
		Load "glx"		# glx support
	EndSection

You might like to run revdep-rebuild -p and pay special attention to any 
graphics stuff that is broken. Im also running the same chipset and it goes 
flawlessly with that driver version.

Other posibilities, longshot but worth checking are sound (especially artsd in 
kde), and gtk support (firefox dependancy).

PS you did run 'opengl-update nvidia' right?

-- 
A programmer is a person who passes as an exacting expert on the basis of
being able to turn out, after innumerable punching, an infinite series of
incomprehensible answers calculated with micrometric precisions from vague 
assumptions based on debatable figures taken from inconclusive documents 
and carried out on instruments of problematical accuracy by persons of 
dubious reliability and questionable mentality for the avowed purpose of
annoying and confounding a hopelessly defenseless department that was
unfortunate enough to ask for the information in the first place.
		-- IEEE Grid newsmagazine
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Nvidia hangs Xorg
  2006-02-28 13:48 Jonatan Antoni
  2006-02-28 14:51 ` Daniel da Veiga
@ 2006-03-02  3:31 ` Mark
  1 sibling, 0 replies; 7+ messages in thread
From: Mark @ 2006-03-02  3:31 UTC (permalink / raw
  To: gentoo-user

i had the same problem, even when i would switch back to VT1 it would be
a black screen, so i uesed the drivers from nvidia.com and it worked
fine, seems to be a problem in portage


On Tue, 2006-02-28 at 14:48 +0100, Jonatan Antoni wrote:
> Hy there,
> 
> I'm playing around with the nvidia kernel-modules and glx-drivers for x11 for a while.
> First all works fine, but using mozilla-firefox crashes the x-server after a while. Let
> me give you an example: Running firefox works, going to google as well, but going to
> http://gentoo-wiki.com/HOWTO_Dual_Monitors and click the link "4.1 Moving focus between screens"
> hangs the display. I can still move around the mouse-cursor, but everything else is locked.
> 
> Logging in to my system remotely by ssh, I can find the X-proccess taking nearly 100 percent
> of cpu-time. By restarting xdm the X-system comes back correctly.
> 
> Now I'm back using the default nv-driver of the xorg-project, because that's the only way of sending
> this email without x11 hangs. In the future I want to use the dual-head function of my geforce fx5200
> for a video-beamer. Is there another way without using the original nvidia drivers or has somebody
> a hint about that nasty error?
> 
> thx,
> jonatan
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Nvidia hangs Xorg
@ 2006-03-04 14:19 Jonatan Antoni
  2006-03-04 15:20 ` [gentoo-user] " Peter
  0 siblings, 1 reply; 7+ messages in thread
From: Jonatan Antoni @ 2006-03-04 14:19 UTC (permalink / raw
  To: gentoo-user

Hi there,

my problem of the freezing x-screen with the proprietary nvidia-drivers 
and firefox is solved for the moment.
I've just disabled the drivers agp-support by setting the option nvagp 
to zero in xorg.conf.
For me, it made no difference whether to use nvagp or agpgart, both 
leads in a hung-up.

Thanks for your ideas.
Jonatan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user]  Re: Nvidia hangs Xorg
  2006-03-04 14:19 [gentoo-user] Nvidia hangs Xorg Jonatan Antoni
@ 2006-03-04 15:20 ` Peter
  0 siblings, 0 replies; 7+ messages in thread
From: Peter @ 2006-03-04 15:20 UTC (permalink / raw
  To: gentoo-user

On Sat, 04 Mar 2006 15:19:57 +0100, Jonatan Antoni wrote:

> Hi there,
> 
> my problem of the freezing x-screen with the proprietary nvidia-drivers
> and firefox is solved for the moment. I've just disabled the drivers
> agp-support by setting the option nvagp to zero in xorg.conf.
> For me, it made no difference whether to use nvagp or agpgart, both leads
> in a hung-up.
> 
> Thanks for your ideas.
> Jonatan

I had a 5200 card and two monitors and have never had this trouble --
either when using twinview or dual head modes.

Here's an experiment.

unmerge nvidia-glx and nvidia-kernel and try installing the nvidia drivers
directly using their compile settings and installation routines.

Next, check your xorg.conf file again. Another poster suggested correctly
that you should have Load "dbe" as well as Load "extmod" (see the sample
configuration file included with the source.

Next, check how the agpgart module is loaded. Is it built into the kernel?
Is it a module? Is modprobe agpgart being run? It must be a module if you
are going to use the NVAGP option. Without agpgart loaded, nvidia drivers
might bonk.0

More than likely, unless there is a hardware failure, your problem is one
of configuration. Hopefully, this will get you going in the proper
direction.

I have used the nvidia drivers for almost 3 years with both the 5200 and
6200 cards and various different screen configurations, including laptops.
I _DO_ know that configuration is a total bear. Not easy, confusing, and
not intuitive!

A good way to see what a bare nvidia configuration will be like is to run
Xorg -configure. It will create a file in /root called xorg.conf.new which
will show every option the driver (in this case nvidia) reports.

While I currently only have one monitor, FWIW here is xorg.conf.new as
reported by Xorg -configure for my setup.

HTH

xorg.conf.new:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/lib/X11/rgb"
	ModulePath   "/usr/lib/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "DigitalVibrance"    	# <i>
        #Option     "NoFlip"             	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "NoLogo"             	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "NvAGP"              	# <i>
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ConnectedMonitor"   	# <str>
        #Option     "ConnectedMonitors"  	# <str>
        #Option     "TVStandard"         	# <str>
        #Option     "TVOutFormat"        	# <str>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "CursorShadow"       	# [<bool>]
        #Option     "CursorShadowAlpha"  	# <i>
        #Option     "CursorShadowXOffset" 	# <i>
        #Option     "CursorShadowYOffset" 	# <i>
        #Option     "UseEdidFreqs"       	# [<bool>]
        #Option     "FlatPanelProperties" 	# <str>
        #Option     "TwinView"           	# [<bool>]
        #Option     "TwinViewOrientation" 	# <str>
        #Option     "SecondMonitorHorizSync" 	# <str>
        #Option     "SecondMonitorVertRefresh" 	# <str>
        #Option     "MetaModes"          	# <str>
        #Option     "UseInt10Module"     	# [<bool>]
        #Option     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "ForceEmulatedOverlay" 	# [<bool>]
        #Option     "TransparentIndex"   	# <i>
        #Option     "OverlayDefaultVisual" 	# [<bool>]
        #Option     "NvEmulate"          	# <i>
        #Option     "NoBandWidthTest"    	# [<bool>]
        #Option     "CustomEDID-CRT-0"   	# <str>
        #Option     "CustomEDID-CRT-1"   	# <str>
        #Option     "CustomEDID-DFP-0"   	# <str>
        #Option     "CustomEDID-DFP-1"   	# <str>
        #Option     "CustomEDID-TV-0"    	# <str>
        #Option     "CustomEDID-TV-1"    	# <str>
        #Option     "TVOverScan"         	# <f>
        #Option     "IgnoreDisplayDevices" 	# <str>
        #Option     "MultisampleCompatibility" 	# [<bool>]
        #Option     "RegistryDwords"     	# <str>
        #Option     "RegistryBinary"     	# <str>
        #Option     "NoPowerConnectorCheck" 	# [<bool>]
        #Option     "AllowDFPStereo"     	# [<bool>]
        #Option     "XvMCUsesTextures"   	# [<bool>]
        #Option     "HorizSync"          	# <str>
        #Option     "VertRefresh"        	# <str>
        #Option     "AllowGLXWithComposite" 	# [<bool>]
        #Option     "RandRRotation"      	# [<bool>]
        #Option     "ExactModeTimingsDVI" 	# [<bool>]
        #Option     "Coolbits"           	# <i>
        #Option     "AllowDDCCI"         	# [<bool>]
        #Option     "ConstantFrameRateHint" 	# [<bool>]
        #Option     "LoadKernelModule"   	# [<bool>]
        #Option     "ClearCube"          	# [<bool>]
        #Option     "PredefinedTimings"  	# <i>
        #Option     "EmulatedOverlaysTimerMs" 	# <i>
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "Unknown Board"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection




-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-03-04 15:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-04 14:19 [gentoo-user] Nvidia hangs Xorg Jonatan Antoni
2006-03-04 15:20 ` [gentoo-user] " Peter
  -- strict thread matches above, loose matches on Subject: below --
2006-03-01 11:37 [gentoo-user] " Jonatan Antoni
2006-03-01 12:13 ` Glenn Enright
2006-02-28 13:48 Jonatan Antoni
2006-02-28 14:51 ` Daniel da Veiga
2006-03-02  3:31 ` Mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox