Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Glx i nvidia, problemu po upgrade Xorg do 7.1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Axio
n00b
n00b


Joined: 07 Nov 2005
Posts: 32

PostPosted: Thu Oct 12, 2006 8:17 pm    Post subject: [SOLVED] Glx i nvidia, problemu po upgrade Xorg do 7.1 Reply with quote

Witam.
Pewnie ten temat pojawiał się wiele razy ale poszukałem trochę na tym forum i nie znalazłem odpowiedzi co zmusiło mnie do założenia nowego tematu.
Tak więc postanowiłem sobie zaktualizować xorg-x11 do wersji 7.1 i zaczęły się kłopoty. Najpierw X-y się nie włączały a potem nie ładowały sterowników nvidii ale sobie z tym poradziłem. Następnie postanowiłemsprawdzić akcelerację sprzętową za pomocą glxgears i się zawiodłem bo otrzymałem błąd
Code:
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

i nie mam pojęcia co z tym zrobić. Żeby nie było za dużo fałszywych tropów to od razu uprzedzam, że:
1) sterowniki nvidia 1.0.7174 instalowałem ręcznie pobrane ze strony nvidii
2) nvidia-glx nie chce mi się emergować bo nie może zemergować nvidia-kernel
Code:
emerge =nvidia-glx-1.0.7174-r5
Calculating dependencies... done!

>>> Emerging (1 of 15) media-video/nvidia-kernel-1.0.7174-r2 to /
 * NVIDIA-Linux-x86-1.0-7174-pkg0.run MD5 ;-) ...                         [ ok ]
 * NVIDIA-Linux-x86-1.0-7174-pkg0.run RMD160 ;-) ...                      [ ok ]
 * NVIDIA-Linux-x86-1.0-7174-pkg0.run SHA1 ;-) ...                        [ ok ]
 * NVIDIA-Linux-x86-1.0-7174-pkg0.run SHA256 ;-) ...                      [ ok ]
 * NVIDIA-Linux-x86-1.0-7174-pkg0.run size ;-) ...                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking NVIDIA-Linux-x86-1.0-7174-pkg0.run ;-) ...                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources

!!! ERROR: media-video/nvidia-kernel-1.0.7174-r2 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  nvidia-kernel-1.0.7174-r2.ebuild, line 56:   Called linux-mod_pkg_setup
  linux-mod.eclass, line 465:   Called linux-info_pkg_setup
  linux-info.eclass, line 537:   Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.


3) w xorg.conf mam odhaszowane glx i zahaszowane dri, a także zahaszowane composite
4) polecenie
Code:
opengl-update nvidia
zwraca błąd
Code:
 * Unrecognized option: nvidia

5) mam zlinkowane libglx.so do libglx.so.1.0.7174 w /usr/lib/modules/extensions
6) oto mój 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/lib/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
    #FontPath    "/usr/local/share/fonts"
    #FontPath    "/usr/share/fonts"
    #FontPath    "/usr/share/fonts/default"
    #FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"
    FontPath    "/usr/share/fonts/corefonts"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/share/fonts/ukr"
    FontPath    "/usr/local/share/fonts/Fonts"
    FontPath    "/usr/share/fonts/default/ghostscript"
    FontPath    "/usr/local/share/fonts"
EndSection

Section "Module"
   Load  "glx"
   #Load  "dri"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "type1"
   Load  "freetype"
   Load  "v4l"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
   Option      "XkbLayout" "pl"
EndSection

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

Section "Monitor"
   #DisplaySize     330   240   # mm
   Identifier   "Monitor0"
   VendorName   "GWY"
   ModelName    "EV700"
   HorizSync    30.0 - 69.0
   VertRefresh  50.0 - 120.0
   Option       "DPMS"
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     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "VideoKey"              # <i>
        #Option     "FlatPanel"             # [<bool>]
        #Option     "FPDither"              # [<bool>]
        #Option     "CrtcNumber"            # <i>
        #Option     "FPScale"               # [<bool>]
        #Option     "FPTweak"               # <i>
   Identifier  "Card0"
        Driver      "nvidia"
   #Option "RenderAccel" "True"
   Option "NoLogo" "True"
   #Option "AllowGLXWithComposite" "True"
   VendorName  "nVidia Corporation"
   BoardName   "GeForce2 64MB :-)"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth   24
   SubSection "Display"
      Viewport   0 0
      Depth     1
      Modes  "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
      SubSection "Display"
      Viewport   0 0
      Depth     4
      Modes  "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
      SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes  "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
      SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes  "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
      SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes  "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

#Section "Extensions"
#Option "Composite" "Enable"
#EndSection

Nie wiem, może o czymś zapomniałem. Przed aktualizacją Xorga wszystko było OK. Byłbym wdzięczny za każdą pomoc.


Last edited by Axio on Fri Oct 13, 2006 10:39 am; edited 1 time in total
Back to top
View user's profile Send private message
szolek
Guru
Guru


Joined: 30 Mar 2005
Posts: 570
Location: Brzóza Królewska

PostPosted: Thu Oct 12, 2006 8:31 pm    Post subject: Reply with quote

Nie sądzisz że podstawą twoich kłopotów jest to o czym mówi ten fragment:
Code:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources

Zdaje się że /usr/src/linux nie wskazuje poprawnie twojego jądra.
Back to top
View user's profile Send private message
Axio
n00b
n00b


Joined: 07 Nov 2005
Posts: 32

PostPosted: Thu Oct 12, 2006 9:35 pm    Post subject: Reply with quote

Działa! Myślałem że zlinkowalem /usr/scr/linux do /usr/src/linux-2.6.14-gentoo-r2 ale widocznie moja pamięć jest zawodna. Teraz już poprawiłem niedopatrzenia i poszło. Serdecznie dzięki.
Back to top
View user's profile Send private message
milu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 1122
Location: Poland, Konstancin-Jeziorna

PostPosted: Thu Oct 12, 2006 11:31 pm    Post subject: Reply with quote

Apel punkt 9 się kłania
_________________
Pozdrawiam,
Milu
------------------------------------
Registered Linux User: #246079

Zanim zadasz pytanie przeczytaj to dokładnie!!
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Thu Jan 03, 2008 6:09 pm    Post subject: Reply with quote

Mam podobny problem, tyle ze jadro mam dobrze podlinkowane. Sek w tym, ze w owym katalogu nie ma pliku makefile :F
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Thu Jan 03, 2008 6:12 pm    Post subject: Reply with quote

to reemergnij zrodla kernela. Poza tym skoro go nie ma, to pewnie sa to pozostalosci po skompilowanym kernelu, a zrodla zostaly wywalone.

Last edited by SlashBeast on Fri Jan 04, 2008 3:01 pm; edited 2 times in total
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Thu Jan 03, 2008 6:16 pm    Post subject: Reply with quote

no tyle, ze nie ma tego kernela juz w portage. Sa inne wersje.
Back to top
View user's profile Send private message
Bialy
Guru
Guru


Joined: 20 Mar 2006
Posts: 486

PostPosted: Fri Jan 04, 2008 7:48 am    Post subject: Reply with quote

To sciagnij inna wersje kernela jak potrzebujesz make'owac :D
Back to top
View user's profile Send private message
rastman
Apprentice
Apprentice


Joined: 22 Jan 2007
Posts: 210

PostPosted: Fri Jan 04, 2008 2:52 pm    Post subject: Reply with quote

No tak zrobie przy najblizszej okazji ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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