Hi again,

On 2/28/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote:
> On 2/28/06, Jonatan Antoni <[EMAIL PROTECTED]> 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 via email to