Problem z X'ami , xorg - nie działają , mam kartę nvidia


(Pl1230) #1

Mam gentoo 64 bity i problem z X'ami gdy pisuje startx, robilem wg kilku instrukcji z www gentoo - odnosnie x.org i instalacji sterownikow nvidia

pokazuje mi tylko blad :

(EE) Failed to load module "dri" (module does not exist, 0)

 (EE) Failed to load module "dri2" (module does not exist, 0)



 (EE) No devices detected. <------ mysle ze z tym jest problem nie rozpoznaje, nie moze wykryc karty itp.


Fatal server error:

 no screens found

mam zainstalowane sterowniki nvidia-drivers , instalowalem potem rowiez najnowsze ze ze strony nvidi , i też nic Mam geforce 9400GT 512MB PCI-E Kde mam juz zainstalaowane. Probowałem juz kilkadziesiąt razy modyfikować xorg.conf ale nic mój obecny xorg.conf

Section "Module"

    SubSection "extmod"

       Option "omit xfree86-dga"

    EndSubSection

    Load "i2c"

    Load "ddc"

    Load "vbe"

    Load "dri"

    Load "glx"


EndSection


Section "ServerFlags"

     Option "AllowMouseOpenFail" "true"

EndSection


Section "Monitor"

    Identifier "Generic Monitor"

    VertRefresh 43 - 60

    HorizSync 28 - 80

EndSection



Section "Device"


    Identifier "SabayonVga0"

    Driver "nvidia"

    BusID "PCI:01:00.0"

    #Option "RenderAccel" "on"

    #Option "XAANoOffscreenPixmaps"

    #Option "BusType" "PCI"

    #Option "ColorTiling" "on"

    #Option "EnablePageFlip" "on"

    Option "UseEvents" "True"



EndSection




Section "Screen"


    Identifier "Screen 0"

    Device "SabayonVga0"

    Monitor "Generic Monitor"

    Option "AddARGBGLXVisuals" "true"


    DefaultDepth 24


    SubSection "Display"

        Depth 8

        ViewPort	0 0

        #Modes "1024x768" "800x600" "640x480"

    EndSubsection


    SubSection "Display"

        Depth 16

        ViewPort 0 0

        #Modes "1024x768" "800x600" "640x480"

    EndSubsection


    SubSection "Display"

        Depth 24

        ViewPort 0 0

        #Modes "1024x768" "800x600" "640x480"

    EndSubsection


EndSection



Section "DRI"

    Mode 0666

EndSection


Section "ServerLayout"

    Identifier "Main Layout"

    Screen 0 "Screen 0"

EndSection


Section "Extensions"

   #Option "Composite" "Enable"

EndSection

i log z Xorga :

[8559.136] 

X.Org X Server 1.9.5

Release Date: 2011-03-17

[8559.147] X Protocol Version 11, Revision 0

[8559.150] Build Operating System: Linux 2.6.38-gentoo-r6 x86_64 Gentoo

[8559.154] Current Operating System: Linux localhost 2.6.38-gentoo-r6 #7 SMP Fri Jun 10 21:27:02 CEST 2011 x86_64

[8559.162] Kernel command line: root=/dev/sdb4 raid=noautodetect

[8559.166] Build Date: 10 June 2011 08:10:37PM

[8559.170]  

[8559.174] Current version of pixman: 0.20.2

[8559.179] Before reporting problems, check http://wiki.x.org

	to make sure that you have the latest version.

[8559.188] Markers: (--) probed, (**) from config file, (==) default setting,

	(++) from command line, () notice, (II) informational,

	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[8559.204] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 11 02:13:52 2011

[8559.210] (==) Using config file: "/etc/X11/xorg.conf"

[8559.215] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[8559.221] (==) ServerLayout "Main Layout"

[8559.221] (**) |-->Screen "Screen 0" (0)

[8559.221] (**) | |-->Monitor "Generic Monitor"

[8559.221] (**) | |-->Device "SabayonVga0"

[8559.221] (**) Option "AllowMouseOpenFail" "true"

[8559.221] (==) Automatically adding devices

[8559.221] (==) Automatically enabling devices

[8559.221] (==) FontPath set to:

	/usr/share/fonts/misc/,

	/usr/share/fonts/TTF/,

	/usr/share/fonts/OTF/,

	/usr/share/fonts/Type1/,

	/usr/share/fonts/100dpi/,

	/usr/share/fonts/75dpi/

[8559.221] (==) ModulePath set to "/usr/lib64/xorg/modules"

[8559.221] (II) The server relies on udev to provide the list of input devices.

	If no devices become available, reconfigure udev or disable AutoAddDevices.

[8559.221] (II) Loader magic: 0x7b5140

[8559.221] (II) Module ABI versions:

[8559.221] X.Org ANSI C Emulation: 0.4

[8559.221] X.Org Video Driver: 8.0

[8559.221] X.Org XInput driver : 11.0

[8559.221] X.Org Server Extension : 4.0

[8559.221] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

[8559.221] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.

[8559.221] (II) "dbe" will be loaded by default.

[8559.221] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.

[8559.221] (II) "record" will be loaded by default.

[8559.221] (II) "dri" will be loaded by default.

[8559.221] (II) "dri2" will be loaded by default.

[8559.221] (II) LoadModule: "extmod"

[8559.222] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so

[8559.222] (II) Module extmod: vendor="X.Org Foundation"

[8559.222] compiled for 1.9.5, module version = 1.0.0

[8559.222] Module class: X.Org Server Extension

[8559.222] ABI class: X.Org Server Extension, version 4.0

[8559.222] (II) Loading extension MIT-SCREEN-SAVER

[8559.222] (II) Loading extension XFree86-VidModeExtension

[8559.222] (II) Loading extension DPMS

[8559.222] (II) Loading extension XVideo

[8559.222] (II) Loading extension XVideo-MotionCompensation

[8559.222] (II) Loading extension X-Resource

[8559.222] (II) LoadModule: "i2c"

[8559.222] (II) Module "i2c" already built-in

[8559.222] (II) LoadModule: "ddc"

[8559.222] (II) Module "ddc" already built-in

[8559.222] (II) LoadModule: "vbe"

[8559.222] (II) Loading /usr/lib64/xorg/modules/libvbe.so

[8559.222] (II) Module vbe: vendor="X.Org Foundation"

[8559.222] compiled for 1.9.5, module version = 1.1.0

[8559.222] ABI class: X.Org Video Driver, version 8.0

[8559.222] (II) LoadModule: "glx"

[8559.222] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so

[8559.234] (II) Module glx: vendor="NVIDIA Corporation"

[8559.234] compiled for 4.0.2, module version = 1.0.0

[8559.234] Module class: X.Org Server Extension

[8559.234] (II) NVIDIA GLX Module 275.09.04 Thu Jun 2 13:09:45 PDT 2011

[8559.234] (II) Loading extension GLX

[8559.234] (II) LoadModule: "dbe"

[8559.234] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so

[8559.235] (II) Module dbe: vendor="X.Org Foundation"

[8559.235] compiled for 1.9.5, module version = 1.0.0

[8559.235] Module class: X.Org Server Extension

[8559.235] ABI class: X.Org Server Extension, version 4.0

[8559.235] (II) Loading extension DOUBLE-BUFFER

[8559.235] (II) LoadModule: "record"

[8559.235] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so

[8559.235] (II) Module record: vendor="X.Org Foundation"

[8559.235] compiled for 1.9.5, module version = 1.13.0

[8559.235] Module class: X.Org Server Extension

[8559.235] ABI class: X.Org Server Extension, version 4.0

[8559.235] (II) Loading extension RECORD

[8559.235] (II) LoadModule: "dri"

[8559.235] (WW) Warning, couldn't open module dri

[8559.235] (II) UnloadModule: "dri"

[8559.235] (EE) Failed to load module "dri" (module does not exist, 0)

[8559.241] (II) LoadModule: "dri2"

[8559.241] (WW) Warning, couldn't open module dri2

[8559.241] (II) UnloadModule: "dri2"

[8559.241] (EE) Failed to load module "dri2" (module does not exist, 0)

[8559.247] (II) LoadModule: "nvidia"

[8559.247] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so

[8559.247] (II) Module nvidia: vendor="NVIDIA Corporation"

[8559.247] compiled for 4.0.2, module version = 1.0.0

[8559.247] Module class: X.Org Video Driver

[8559.247] (II) NVIDIA dlloader X Driver 275.09.04 Thu Jun 2 12:53:09 PDT 2011

[8559.247] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

[8559.248] (--) using VT number 7


[8559.252] (EE) No devices detected.

[8559.252] 

Fatal server error:

[8559.252] no screens found

[8559.252] 

Please consult the The X.Org Foundation support 

	 at http://wiki.x.org

 for help. 

[8559.252] Please also check the log file at "/var/log/Xorg.0.log" for additional information.

[8559.252] 


[/code]

(nintyfan) #2

DGA jest modułem do porozumiewania się z monitorem przez kartę graficzną(przynajmniej tak sądzę - z tym mi się kojarzy DGA). Komunikat wyświetlany na końcu, to no Devices found, czyli być może nie znalazł monitorów.


(Pl1230) #3

No devices detected. <------ mysle ze z tym jest problem nie rozpoznaje, nie moze wykryc karty itp.


(nintyfan) #4

http://linux.die.net/man/3/xfree86-dga

Nie - pomyliłem się. Rozszerzenie DGA odpowiada za coś innego.


(OgiX) #5

W jaki sposób miałeś tworzony "xorg.conf"? Czy bez tego pliku X-y uruchamiają się normalnie?

Wykonaj (jako root) polecenie:

Xorg -configure

I porównaj utworzony plik (domyślnie w /root) z aktualnym plikiem "xorg.conf". Spróbuj uruchomić na nowym pliku (składnia do testu powinna być wyświetlona przy zakończeniu działania powyższego polecenia).

Edit: Jeżeli masz zainstalowane Nouveau, to je usuń.


(Kaka') #6
BusID "PCI:01:00.0"

Zobacz czy się zgadza z tym co mówi lspci.


(Pl1230) #7

lspci, pokazuje mi :

01:00.0 nvidia

xorg.conf, mialem tworzone, dodyfikowane na rozne sposoby :

  • uruchamialem livecd linux sabayon - i podpatrywałem plik xorg

  • nvidia sterowniki producenta mi same go generowały

robilem juz też i pokazuje mi :

próbowałem zmieniać opcje driver na inne "nv" "vesa" "nouveau" - i je instalowac, ale tez nic to nie dawało, zawsze mi potem pokazywał sie ten sam bląd "No devices detected" po poleceniu startx


(OgiX) #8

To nie jest czasem ten przypadek (rozwiązanie w drugim poście od dołu)? Co prawda komunikaty błędu ma trochę inne, ale problem na karcie intela daje podobne błędy jak u ciebie.


(Pl1230) #9

dzieki kolego pomogło, zrobilem dokladnie

rc-update add udev sysinit && /etc/init.d/udev start

teraz mam problem z klawiaturą i myszą na usb , nie działają pod kde 4

klawiatura pod konsolą przed uruchomieniem kde mi dzialala

póżniej zapodam xorga i jeszcze raz spojrzę w dokumentacje gentoo odnosnie tych urzadzen - ich konfuguracj