Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit Xorg und Nvidia glx unterstützung
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
Daschmi
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Germany

PostPosted: Sat Jan 01, 2005 1:50 pm    Post subject: Problem mit Xorg und Nvidia glx unterstützung Reply with quote

Hi,

ich habe vor ein paar tagen auf xorg umgestellt und jetzt hab ich gemerkt das ich mit glxgears nur noch 6.200 FPS (31 Frames in 5 Sekunden)

Ich hab auch schon ne weile rumgespielt und eigentlich nur rausgefunden das es wenn ich mich als root einlogge normal geht.

Ich hab die kernel version gentoo-2.6.9-r13 und auch schon ein paar mal
emerge nvidia-kernel und emerge nvidia-glx gemacht. In der Gruppe video bin ich auch.

Das Modul wird auch automatisch beim start geladen. openglupdate hab ich auch auf nvidia gestellt (mit opengl-update xorg-x11 hab ich ein paar frames mehr aber auch nich das optimum)

Woran kann das liegen ? Wie gesagt wenn ich mich im kdm als root einlogge geht es wie früher, aber in der Gruppe video bin ich eingetragen.

wenn ich glxinfo | grep direct ausführe bekomme ich die meldung :
direct rendering: Yes

Ich weiß nich weiter danke für die Hilfe ...
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


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

PostPosted: Sat Jan 01, 2005 2:03 pm    Post subject: Reply with quote

laufen deine spiele/3d-programme langsamer?
wenn du die geschwindigkeit testen willst,
mach lieber sowas wie eine timedemo unter doom3.

glxgears ist nämlich kein aussagekräftiger benchmark(!).
wenn du zu wenig fps hast, dann mach halt das fenster kleiner :D
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Daschmi
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Germany

PostPosted: Sat Jan 01, 2005 2:09 pm    Post subject: Reply with quote

Also hier läuft als User alles langsammer, wenn ich den xcommgr starte (für transparenz und sowas) dann hängt er sich fast auf, es dauert ewig.

Als root funktioniert das ohne probleme

Hier mal meine xorg.conf

Code:

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

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        ModulePath      "/usr/X11R6/lib/modules"
#       FontPath        "/usr/X11R6/lib/X11/fonts/local/"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

Section "Module"
        Load  "glx"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "speedo"
#       Load  "dri" ##
        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/input/mice"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-100
        VertRefresh  40-120
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"                    "True"
        #Option     "UBB"                       # [<bool>]
        #Option     "Stereo"                    # <i>
        #Option     "SWcursor"                  # [<bool>]
        #Option             "HWcursor"                  "True"
        #Option     "VideoKey"                  # <i>
        Option     "NvAGP"                      "3"
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ConnectedMonitor"          # <str>
        #Option     "ConnectedMonitors"         # <str>
        #Option     "TVStandard"                # <str>
        #Option     "TVOutFormat"               # <str>
#        Option     "RenderAccel"               "True"
        #Option     "CursorShadow"              "False"
        #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"          "True"
        #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     "NoPowerConnectorCheck"     # [<bool>]
        #Option     "AllowDFPStereo"            # [<bool>]
        #Option     "XvMCUsesTextures"          # [<bool>]
        #Option     "HorizSync"                 # <str>
        #Option     "VertRefresh"               # <str>
        Identifier  "nvidia"
        Driver      "nvidia"
        VideoRam    65536
        VendorName  "nVidia Corporation"
        BoardName   "NV15DDR [GeForce2 Ti]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "nvidia"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1600x1200"
        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

Section "Extensions"
     Option "Composite" "Enable"
     Option "RENDER" "Enable"
EndSection
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


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

PostPosted: Sat Jan 01, 2005 2:18 pm    Post subject: Reply with quote

also, damit das ganze nicht total langsam läuft, wenn du xcompmgr startest,
würde ich bei
Code:
#        Option     "RenderAccel"               "True"

das kommentarzeichen entfernen ;)
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Daschmi
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Germany

PostPosted: Sat Jan 01, 2005 2:22 pm    Post subject: Reply with quote

Ok danke erst mal aber daran liegts auch nich

Orginal war es auskommentiert aber ich hab es mal rausgenommen aber es hat auch nichts gebracht
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


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

PostPosted: Sat Jan 01, 2005 2:26 pm    Post subject: Reply with quote

gibt es denn in "/var/log/Xorg.0.log" irgendwas verdächtiges?
poste die datei doch einfach mal.
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Daschmi
n00b
n00b


Joined: 04 Nov 2004
Posts: 7
Location: Germany

PostPosted: Tue Jan 04, 2005 9:24 am    Post subject: Es geht Reply with quote

Es geht wieder Danke !
Ich weiß selber nich so richtig warum, ich glaube es ging nach dem letzten emerge --update world
Back to top
View user's profile Send private message
dp20eic
n00b
n00b


Joined: 17 Jul 2002
Posts: 38
Location: Wolfsburg

PostPosted: Tue Jan 04, 2005 3:51 pm    Post subject: Reply with quote

Hallo @All,

Das sieht mir etwas komisch aus!
Quote:

Section "Screen"
Identifier "Screen0"
Device "nvidia"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200"
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


mein Display section
Quote:

Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "Iiyama"
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 "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection


Also nur ein eintrag Depth und die dazugehörigen Auflösungen.
Back to top
View user's profile Send private message
NewbieSascha
Tux's lil' helper
Tux's lil' helper


Joined: 08 Aug 2004
Posts: 116

PostPosted: Tue Jan 04, 2005 4:32 pm    Post subject: Reply with quote

borisdigital wrote:
also, damit das ganze nicht total langsam läuft, wenn du xcompmgr startest,
würde ich bei
Code:
#        Option     "RenderAccel"               "True"

das kommentarzeichen entfernen ;)



Mal kurz ne OT - Frage: Bringt diese Zeile auch sonst was, bei Spielen oder so? Oder nur, wenn xcompmgr läuft?
Back to top
View user's profile Send private message
reyneke
Guru
Guru


Joined: 09 Jan 2004
Posts: 542
Location: Augsburg / Germany

PostPosted: Thu Jan 06, 2005 1:47 am    Post subject: Reply with quote

Also, wenn ich mir die Erläuterung dazu in /usr/local/doc/NVIDIA_GLX_1.0/README.DE anschaue, dann dient diese Option wohl eher dazu, Rendering auszuschalten.

Was mich aber etwas erstaunt, ist, daß Hardware-Transparenz und GLX bei mir erst nach dem Eintrag von
Code:

Section Device
          (...)
         Option "AllowGLXWithComposite" "true"
          (...)
EndSection

in meine xorg.conf ging. Die findet sich bei dir gar nicht und glxgears geht trotzdem *wunder*.
Naja, xcompmgr scheint eh leicht wählerisch zu sein ...

Gruß,
reyneke.
_________________
I like to wait to see how things turn out
If You Apply Some Pressure
WHAT HAPPENS when you lose EVERYTHING?
You start again.
You start all over again.

Maximo Park - Apply Some Pressure
Back to top
View user's profile Send private message
misterjack
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1655

PostPosted: Thu Jan 06, 2005 11:20 am    Post subject: Reply with quote

Option "NvAGP" "1"

probier des mal
_________________
„Meine Meinung steht fest! Bitte verwirren Sie mich nicht mit Tatsachen.“
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