public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jonatan Antoni <jantoni@web.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Nvidia hangs Xorg
Date: Wed, 01 Mar 2006 12:37:51 +0100	[thread overview]
Message-ID: <4405878F.6010601@web.de> (raw)

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



             reply	other threads:[~2006-03-01 11:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 11:37 Jonatan Antoni [this message]
2006-03-01 12:13 ` [gentoo-user] Nvidia hangs Xorg Glenn Enright
  -- strict thread matches above, loose matches on Subject: below --
2006-03-04 14:19 Jonatan Antoni
2006-02-28 13:48 Jonatan Antoni
2006-02-28 14:51 ` Daniel da Veiga
2006-03-02  3:31 ` Mark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4405878F.6010601@web.de \
    --to=jantoni@web.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox