Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GLX Problem
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
Dirk-FR
n00b
n00b


Joined: 26 Jan 2005
Posts: 7

PostPosted: Sun Jan 30, 2005 3:09 pm    Post subject: GLX Problem Reply with quote

Hallo,

ich habe ein Problem mit GLX.

Code:

 glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21  8 pc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x22  8 gs  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x23  8 sc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x24  8 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x25  8 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x26  8 sg  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


glxgears
glxgears: Error: couldn't get an RGB, Double-buffered visual.



NVIDIA wir als Modul geladen.

Kernel ist der linux-2.6.10-r1

nvidia-glx-1.0.6111-r1
nvidia-kernel-1.0.6629-r1

emerge nvidia-kernel nvidia-glx opengl-update
opengl-update nvidia
modules-update
env-update

habe ich gemacht

xorg-x11-6.8.0-r4

Die config müsste auch stimmen:

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  "extmod"
 Load  "dri"
 Load  "dbe"
 Load  "record"
 Load  "xtrap"
 Load  "glx"
 Load  "type1"
 Load  "freetype"
EndSection

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

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

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

Section "Device"
   
 Identifier  "Card0"
 Driver      "nvidia"
 VendorName  "nVidia Corporation"
 BoardName   "NV34 [GeForce FX 5200]"
 BusID       "PCI:1:0:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device     "Card0"
 Monitor    "Monitor0"
 SubSection "Display"
   Viewport   0 0
   Depth     24
   Modes "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
  EndSubSection
EndSection



Ich habe auch schon die Suche benutzt aber nichts gefunden was mir hilft.

Die Farbtiefe ist einfach grauenhaft.

Kennt vielleicht jemand die Lösung ?

Im log von xorg habe ich was gefunden, keine ahnung ob es was zusagen hat.

Code:


(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24



Last edited by Dirk-FR on Sun Jan 30, 2005 3:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Sun Jan 30, 2005 3:25 pm    Post subject: Reply with quote

Hi,

Das "Load "dri"" muß aus deiner Konfig verschwinden, da inkompatibel mit Nvidias glx OGL Bibliothek. (siehe Doku Nvidia!)
Code:

Section "Module"
......
 Load  "dri"
..........
EndSection
Back to top
View user's profile Send private message
Dirk-FR
n00b
n00b


Joined: 26 Jan 2005
Posts: 7

PostPosted: Sun Jan 30, 2005 3:38 pm    Post subject: Reply with quote

Danke, habe es jetzt rausgenommen, aber es funktioniert leider
auch nicht.
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Sun Jan 30, 2005 3:51 pm    Post subject: Reply with quote

Err,
dies hier paßt auch nicht so recht.
Quote:

nvidia-glx-1.0.6111-r1
nvidia-kernel-1.0.6629-r1


Nun noch gleiche Versionen von Kernelmodul und GLX lib verwenden, dazu der übliche Dreisatz.
Code:

emerge "=media-video/nvidia-kernel-1.0.6629-r3"
emerge "=media-video/nvidia-glx-1.0.6629-r4"
...
X-stoppen
..
rmmod nvidia
modprobe nvidia
opengl-update nvidia
..
X-starten
Back to top
View user's profile Send private message
Dirk-FR
n00b
n00b


Joined: 26 Jan 2005
Posts: 7

PostPosted: Sun Jan 30, 2005 3:58 pm    Post subject: Reply with quote

Danke, aber dabei bekomme ich die Fehlermeldung:

!!! All ebuilds that could satisfy "=media-video/nvidia-kernel-1.0.6629-r3" have been masked.
Back to top
View user's profile Send private message
zielscheibe
l33t
l33t


Joined: 02 Apr 2004
Posts: 804
Location: Aachen

PostPosted: Sun Jan 30, 2005 4:12 pm    Post subject: Reply with quote

Ja habe die Nvidia-Teile in "/etc/portage/package.keywords" eingetragen, dem war ich mir nicht mehr bewußt. :oops:

Also entweder holst du dir die _stable_ Teile mit
Code:

emerge nvidia-kernel nvidia-glx

oder demaskierst sie halt, dann funkt. mein Vorschlag aus dem vorangegangenen Post.

:D
Back to top
View user's profile Send private message
Dirk-FR
n00b
n00b


Joined: 26 Jan 2005
Posts: 7

PostPosted: Sun Jan 30, 2005 4:26 pm    Post subject: Reply with quote

zielscheibe wrote:
Err,
dies hier paßt auch nicht so recht.
Quote:

nvidia-glx-1.0.6111-r1
nvidia-kernel-1.0.6629-r1


Nun noch gleiche Versionen von Kernelmodul und GLX lib verwenden, dazu der übliche Dreisatz.
Code:

emerge "=media-video/nvidia-kernel-1.0.6629-r3"
emerge "=media-video/nvidia-glx-1.0.6629-r4"
...
X-stoppen
..
rmmod nvidia
modprobe nvidia
opengl-update nvidia
..
X-starten



Das habe ich jetzt gemacht, doch geändert hat sich nichts :(

Edit:

Mir ist gerade aufgefallen, wenn ich startx eingebe ist das Bild kurz normal, nach ein paar sek. flackert das Bild und die Farbtiefe ist wieder niedriger. :?:
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Jan 30, 2005 4:47 pm    Post subject: Reply with quote

hi ;)
also ich vermisse in deiner xorg.conf den eintrag
"DefaultDepth 24" bzw. "DefaultDepth 16".

aussehen sollte das ganze dann z.b. so
Code:

...
Section "Screen"
    Identifier  "Screen"
    Device      "deinegeforce"
    Monitor     "deinmonitor"
   DefaultDepth 24                #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111einseinseins
    Subsection "Display"
    ...


ansonsten ist imho sehr wichtig, dass du (wie vorher gesagt)
die gleichen versionen von nvidia-kernel&nvidia-glx benutzt.
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Dirk-FR
n00b
n00b


Joined: 26 Jan 2005
Posts: 7

PostPosted: Sun Jan 30, 2005 4:55 pm    Post subject: Reply with quote

Code:

DefaultDepth 24 


Vielen Dank.

Jetzt funktioniert es. :)
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