Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GForce 6600 und GLX/DRI Probleme [Gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Thu Feb 03, 2005 9:55 pm    Post subject: GForce 6600 und GLX/DRI Probleme [Gelöst] Reply with quote

Hallo

Ich habe mir nun eine Nvidia-Karte gekauft (GForce 6600 GT)

Nun habe ich das Problem, dass anscheinend der 3D-Part nicht funktioniert.

Ich verwende momentan eine leicht angepasste Version der von
Code:
X -configuer erzeugten xorg.conf.

Nun passiert es jedesmal, wenn ich
Code:
glxinfo
, bzw.
Code:
glxgears

aufrufe, dass mein X restarted...

Kennt hier jemand das Problem?
Ausserdem friert mir das System ab und zu ein (das konnte ich bisher aber noch nicht sicher reproduzieren...)

Gruß Romses


Last edited by Romses on Sat Feb 05, 2005 1:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Fri Feb 04, 2005 12:12 am    Post subject: Re: GForce 6600 und GLX/DRI Probleme Reply with quote

Romses wrote:
Ich verwende momentan eine leicht angepasste Version der von
Code:
X -configuer erzeugten xorg.conf.
Hm, wie wäre es, wenn Du uns wenigstens auch noch Deine xorg.conf zeigen würdest!? ;-)
Wenn möglich aber ohne die auskommentierten Zeilen.

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Fri Feb 04, 2005 5:44 am    Post subject: Reply with quote

Moin zusammen

Momentan ist Composite aktiviert, allerdings simd meine Probleme auch bei deaktiviertem Composite aufgetreten...

DRI ist momentan deaktiviert (Ich habe irgendwo gelesen, bei nvidia Treibern sollte man das machen)
Bei aktiviertem DRI sah es allerdings nicht besser aus.

Gruß Romses

Code:

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  "extmod"
 Load  "dbe"
 #Load  "dri"
 Load  "glx"
 Load  "xtrap"
 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"
   Option       "Protocol" "ExplorerPS/2"
   Option      "ZAxisMapping" "4 5"
   Option      "Buttons" "7"
EndSection

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

Section "Device"
        Option     "NoLogo" "1"                # [<bool>]
        Option     "AllowGLXWithComposite" "true"  # [<bool>]
 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"
  Modes  "1280x1024" "1024x768" "800x600" "640x480"
  Viewport   0 0
  Depth     24
 EndSubSection
EndSection

Section "DRI"
 Mode 0666
EndSection

Section "Extensions"
     Option "Composite" "Enable"
     Option "RENDER" "Enable"
EndSection


Code:

*  media-video/nvidia-glx
      Latest version available: 1.0.6629-r4
      Latest version installed: 1.0.6629-r4
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA X11 driver and GLX libraries
      License:     NVIDIA

*  media-video/nvidia-kernel
      Latest version available: 1.0.6629-r3
      Latest version installed: 1.0.6629-r3
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA X11 driver
      License:     NVIDIA

*  media-video/nvidia-settings
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6629
      Size of downloaded files: 798 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA Linux X11 Settings Utility
      License:     GPL-2

Code:

    <*>   VESA VGA graphics support
          VESA driver type (vesafb-tng)  --->
          (1280x1024@60) VESA default mode           
...

<M> /dev/agpgart (AGP Support)
     < >   ALI chipset support
     < >   ATI chipset support 
     < >   AMD Irongate, 761, and 762 chipset support
     < >   AMD Opteron/Athlon64 on-CPU GART support
     <M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
     < >   Intel i865 chipset support
[/code]
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Fri Feb 04, 2005 9:12 am    Post subject: Reply with quote

Romses wrote:
DRI ist momentan deaktiviert (Ich habe irgendwo gelesen, bei nvidia Treibern sollte man das machen)

Bei aktiviertem DRI sah es allerdings nicht besser aus.
Code:

Section "Module"
 Load  "record"
 Load  "extmod"
 Load  "dbe"
 #Load  "dri"
 Load  "glx"
 Load  "xtrap"
 Load  "freetype"
 Load  "type1"
EndSection
OK, hier passt das ja mit DRI ...
Romses wrote:
Code:
Section "DRI"
 Mode 0666
EndSection
... aber die Section solltest Du dann auch noch auskommentieren.

Probier mal das evtl.:
Code:
Option "NvAGP" "integer"
                Configure AGP support. Integer argument can be one of:
                0 : disable agp
                1 : use NVIDIA's internal AGP support, if possible
                2 : use AGPGART, if possible
                3 : use any agp support (try AGPGART, then NVIDIA's AGP)
                Please note that NVIDIA's internal AGP support cannot
                work if AGPGART is either statically compiled into your
                kernel or is built as a module, but loaded into your
                kernel (some distributions load AGPGART into the kernel
                at boot up).  Default: 3 (the default was 1 until after
                1.0-1251).

Vielleicht schreibst Du mal noch bei der Monitor Section die Frequenzen rein!? z.B. so:
Code:
Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Monitor Vendor"
        ModelName       "TFT LM 919"
        HorizSync       24.0 - 83.0
        VertRefresh     55.0 - 85.0
EndSection

Und, bei der Device Section (Grafikkarte) noch:
Code:
        Option          "ConnectedMonitor"      "DFP"           # <str>
Wenn Du einen CRT hast, dann CRT anstatt DFP.

Ciao,
aleX!


PS: Was sagt Dein Xorg.0.log ? Steht da nichts auffälliges drin?
_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Fri Feb 04, 2005 7:22 pm    Post subject: Reply with quote

Ich habe jetzt mal komplett auf DRI im Kernel verzichtet, und
Code:
Option "NvAGP"  "3"

eingetragen...

Hilft leider nicht...

Die Monitoroptionen habe ich noch nicht ausprobiert.

Ich habe zwar einen LCD, aber per VGA angeschlossen...
Ich werde das auf jeden fall noch testen.

Gruß Romses

edit:

Code:
Option          "ConnectedMonitor"      "CRT"

hat auch nichts gebracht...
Ich habe zwar einen TFT, aber der wird per VGA angesprochen...
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Fri Feb 04, 2005 8:12 pm    Post subject: Reply with quote

Romses wrote:
Code:
<M> /dev/agpgart (AGP Support)
     < >   ALI chipset support
     < >   ATI chipset support 
     < >   AMD Irongate, 761, and 762 chipset support
     < >   AMD Opteron/Athlon64 on-CPU GART support
     <M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
     < >   Intel i865 chipset support
Lass die beiden Moduleinstellungen mal weg! Also, den AGP Support rausnehmen, dann ist auch das andere Modul weg.

Und, hier noch kurz ein Auszug aus der /usr/share/doc/nvidia-kernel-1.0.6629-r1/README.gz wegen DFP oder CRT:
Code:
Option "ConnectedMonitor" "string"
                Allows you to override what the NVIDIA kernel module
                detects is connected to your video card.  This may
                be useful, for example, if you use a KVM (keyboard,
                video, mouse) switch and you are switched away when
                X is started.  In such a situation, the NVIDIA kernel
                module cannot detect what display devices are connected,
                and the NVIDIA X driver assumes you have a single CRT.

                Valid values for this option are "CRT" (cathode ray
                tube), "DFP" (digital flat panel), or "TV" (television);
                if using TwinView, this option may be a comma-separated
                list of display devices; e.g.: "CRT, CRT" or "CRT, DFP".

                NOTE: anything attached to a 15 pin VGA connector is
                regarded by the driver as a CRT.  "DFP" should only be
                used to refer to flatpanels connected via a DVI port.



Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Hotstuff
Guru
Guru


Joined: 19 Sep 2004
Posts: 487
Location: Schweiz ( Zürich )

PostPosted: Fri Feb 04, 2005 8:29 pm    Post subject: Reply with quote

Hallo

Ich habe die gleiche Karte und meine Config (xorg.conf) sieht so aus.


Code:
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  "dbe"
   Load  "extmod"
   Load  "fbdevhw"
   Load  "glx"
   Load  "record"
   Load  "freetype"
   Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Generic Monitor, 1280x1024 @ 74 Hz"
HorizSync    31.5 - 79.0
   VertRefresh  50.0 - 90.0
   Option       "dpms"
EndSection

Section "Device"
   Identifier  "Videocard0"
   Driver      "nvidia"
   VendorName  "Videocard vendor"
   BoardName   "NVIDIA GeForce 6600GT (generic)"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Videocard0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Depth     24
      Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
   EndSubSection
EndSection




Gruss Dave
Back to top
View user's profile Send private message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Sat Feb 05, 2005 10:04 am    Post subject: Reply with quote

Hmmm dave

Meine Config ist weitgehend identisch zu Deiner, aber trotzdem klappt es mit dem 3D nicht...

Langsam bin ich am verzweifeln...

Gruß Romses
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sat Feb 05, 2005 10:23 am    Post subject: Reply with quote

Romses wrote:
Langsam bin ich am verzweifeln...
In welcher Reihenfolge hast Du was gemacht? Also Kernel backen, etc. ...

Ciao,
aleX!

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Sat Feb 05, 2005 10:50 am    Post subject: Reply with quote

Kernel
nvidia-kernel
Xorg
(verschiedene xorg-konfigurationen durchgespielt)

Das Nvidia-Kernelmodul wird auch ohne Probleme geladen.
Code:

DREVIL root # lsmod
Module                  Size  Used by
emu10k1_gp              2944  0
gameport                3712  1 emu10k1_gp
tuner                  21028  0
tvaudio                20384  0
msp3400                25512  0
bttv                  146384  0
video_buf              17412  1 bttv
v4l2_common             4864  1 bttv
btcx_risc               4104  1 bttv
videodev                7552  1 bttv
3c59x                  36392  0
i2c_i801                7564  0
rtc                     9784  0
nvidia               3460668  8


Ich verwende die gentoo-dev-sources 2.6.10-r5
Xorg liegt in der Version 6.8.0-r4 vor.

Gruß Romses

edit:
Ich habe auch schon an ein zu schwaches Netzteil gedacht,
aber eine Nacht lang 3dMark05 hat mich eines besseren Belehrt...
Back to top
View user's profile Send private message
Louisdor
Veteran
Veteran


Joined: 14 Dec 2003
Posts: 1231
Location: im Brandenburgischen

PostPosted: Sat Feb 05, 2005 11:20 am    Post subject: Reply with quote

bessere Reihenfolge:

Code:
# cd /usr/src/
# ll
total 1,0K
lrwxrwxrwx   1 root root   24 Jan 24 10:35 linux -> /usr/src/linux-2.6.10-r1
drwxr-xr-x  19 root root 1,3K Feb  4 20:49 linux-2.6.10-r1
drwxr-xr-x   2 root root  464 Jan 24 10:37 patches
#

Es sollte mit so ähnlich aussehen, damit nvidia-kernel auch die Sourcen findet.
Code:
# make menuconfig

Die Kerneleinstellungen noch mal durchgehen, agpgart erst mal raus lassen.

Code:
# make && make modules_install


Code:
# emerge nvidia-kernel
# emerge nvidia-glx
# emerge opengl-update


Code:
# modules-update
# opengl-update nvidia

Code:
# Xorg -configure


Code:
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# nano -w /etc/X11/xorg.conf

Die Konfiguration nochmal durchgehen.
Code:
# startx

_________________
"Ich bin ich."
Back to top
View user's profile Send private message
sysXcep
n00b
n00b


Joined: 04 Feb 2005
Posts: 39
Location: Göttingen, Germany

PostPosted: Sat Feb 05, 2005 11:45 am    Post subject: Reply with quote

Romses, ich hatte genau das selbe Problem wie du. Hab es vor 5 Minuten hinbekommen :)
Das Problem ist ein falscher Symlink. Der Link
Code:
/usr/X11R6/lib/modules/extensions/libglx.a

zeigt auf die falsche Datei. Deswegen sagt dir
Code:
cat /var/log/Xorg.0.log|grep EE

auch, dass das Laden von dem glx Modul fehlschlägt. Ändere den Symlink (als root) mit
Code:

ln -sf /usr/lib/opengl/nvidia/extensions/libglx.so /usr/X11R6/lib/modules/extensions/libglx.a

und restarte deine box. Dann sollte OpenGL funktionieren 8)
Back to top
View user's profile Send private message
Romses
Apprentice
Apprentice


Joined: 20 Jan 2004
Posts: 257
Location: Frankfurt

PostPosted: Sat Feb 05, 2005 12:47 pm    Post subject: Reply with quote

Hey, das war es :)

GLX funktioniert...

Danke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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