LinuxForum.Fans
Тема

Проблема с драйверами nvidia на ноутбуке

Автор: qman 26 сообщений 3995 просмотров
#96551

На ноутбуке (asus UL30Vt) стоят две видеокарты

text
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce G210M] (rev a2)

После установки убунты все работало прекрасно до тех пор, пока я не попытался поставить проприетарные драйвера. Пробовал и через менеджер драйверов и скачивать с офф сайта. Иксы после этого не запускаются. Вернул пока все путем sudo apt-get remove nvidia*. Что делать?

#96552

Показать логи.

#96556
xlin написал:
Показать логи.

Логи чего?

Видимо, вот этого:

text
[     3.947] 
X.Org X Server 1.9.0
Release Date: 2010-08-20
[     3.947] X Protocol Version 11, Revision 0
[     3.947] Build Operating System: Linux 2.6.24-27-server x86_64 Ubuntu
[     3.947] Current Operating System: Linux qman-laptop 2.6.35-23-generic #36-Ubuntu SMP Tue Oct 26 17:13:06 UTC 2010 x86_64
[     3.947] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic root=UUID=05d0cd0f-a281-4052-887c-c54b462a6088 ro quiet splash
[     3.947] Build Date: 16 September 2010  06:18:41PM
[     3.947] xorg-server 2:1.9.0-0ubuntu7 (For technical support please see http://www.ubuntu.com/support) 
[     3.947] Current version of pixman: 0.18.4
[     3.947]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     3.947] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.947] (==) Log file: "/var/log/Xorg.1.log", Time: Sat Nov  6 12:10:43 2010
[     3.947] (==) Using config file: "/etc/X11/xorg.conf"
[     3.947] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.948] (==) No Layout section.  Using the first Screen section.
[     3.948] (**) |-->Screen "Default Screen" (0)
[     3.948] (**) |   |-->Monitor "<default monitor>"
[     3.948] (==) No device specified for screen "Default Screen".
    Using the first device section listed.
[     3.948] (**) |   |-->Device "Default Device"
[     3.948] (==) No monitor specified for screen "Default Screen".
    Using a default monitor configuration.
[     3.948] (==) Automatically adding devices
[     3.948] (==) Automatically enabling devices
[     3.948] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     3.948]     Entry deleted from font path.
[     3.948] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins
[     3.948] (==) ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[     3.948] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     3.948] (II) Loader magic: 0x7d0200
[     3.948] (II) Module ABI versions:
[     3.948]     X.Org ANSI C Emulation: 0.4
[     3.948]     X.Org Video Driver: 8.0
[     3.948]     X.Org XInput driver : 11.0
[     3.948]     X.Org Server Extension : 4.0
[     3.949] (--) PCI:*(0:0:2:0) 8086:2a42:1043:1af2 rev 7, Mem @ 0xfcc00000/4194304, 0xd0000000/268435456, I/O @ 0x0000cc00/8
[     3.949] (--) PCI: (0:1:0:0) 10de:0a74:1043:1af2 rev 162, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/524288
[     3.949] (II) Open ACPI successful (/var/run/acpid.socket)
[     3.949] (II) "extmod" will be loaded by default.
[     3.949] (II) "dbe" will be loaded by default.
[     3.949] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[     3.949] (II) "record" will be loaded by default.
[     3.949] (II) "dri" will be loaded by default.
[     3.949] (II) "dri2" will be loaded by default.
[     3.950] (II) LoadModule: "glx"
[     3.950] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.960] (II) Module glx: vendor="NVIDIA Corporation"
[     3.960]     compiled for 4.0.2, module version = 1.0.0
[     3.960]     Module class: X.Org Server Extension
[     3.960] (II) NVIDIA GLX Module  256.53  Fri Aug 27 20:50:26 PDT 2010
[     3.960] (II) Loading extension GLX
[     3.960] (II) LoadModule: "extmod"
[     3.961] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[     3.961] (II) Module extmod: vendor="X.Org Foundation"
[     3.961]     compiled for 1.9.0, module version = 1.0.0
[     3.961]     Module class: X.Org Server Extension
[     3.961]     ABI class: X.Org Server Extension, version 4.0
[     3.961] (II) Loading extension MIT-SCREEN-SAVER
[     3.961] (II) Loading extension XFree86-VidModeExtension
[     3.961] (II) Loading extension XFree86-DGA
[     3.961] (II) Loading extension DPMS
[     3.961] (II) Loading extension XVideo
[     3.961] (II) Loading extension XVideo-MotionCompensation
[     3.961] (II) Loading extension X-Resource
[     3.961] (II) LoadModule: "dbe"
[     3.961] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[     3.961] (II) Module dbe: vendor="X.Org Foundation"
[     3.961]     compiled for 1.9.0, module version = 1.0.0
[     3.961]     Module class: X.Org Server Extension
[     3.961]     ABI class: X.Org Server Extension, version 4.0
[     3.961] (II) Loading extension DOUBLE-BUFFER
[     3.961] (II) LoadModule: "record"
[     3.962] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[     3.962] (II) Module record: vendor="X.Org Foundation"
[     3.962]     compiled for 1.9.0, module version = 1.13.0
[     3.962]     Module class: X.Org Server Extension
[     3.962]     ABI class: X.Org Server Extension, version 4.0
[     3.962] (II) Loading extension RECORD
[     3.962] (II) LoadModule: "dri"
[     3.962] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[     3.963] (II) Module dri: vendor="X.Org Foundation"
[     3.963]     compiled for 1.9.0, module version = 1.0.0
[     3.963]     ABI class: X.Org Server Extension, version 4.0
[     3.963] (II) Loading extension XFree86-DRI
[     3.963] (II) LoadModule: "dri2"
[     3.963] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[     3.963] (II) Module dri2: vendor="X.Org Foundation"
[     3.963]     compiled for 1.9.0, module version = 1.2.0
[     3.963]     ABI class: X.Org Server Extension, version 4.0
[     3.963] (II) Loading extension DRI2
[     3.963] (II) LoadModule: "nvidia"
[     3.963] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     3.964] (II) Module nvidia: vendor="NVIDIA Corporation"
[     3.964]     compiled for 4.0.2, module version = 1.0.0
[     3.964]     Module class: X.Org Video Driver
[     3.964] (II) NVIDIA dlloader X Driver  256.53  Fri Aug 27 20:29:45 PDT 2010
[     3.964] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     3.964] (--) using VT number 8

[ 3.968] (EE) No devices detected. [ 3.968] Fatal server error: [ 3.968] no screens found [ 3.968] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 3.968] Please also check the log file at "/var/log/Xorg.1.log" for additional information. [ 3.968]

Проблема наверное в этих строчках

text
[     3.968] (EE) No devices detected.
[     3.968] 
Fatal server error:
[     3.968] no screens found
[     3.968] 
#96562

запуска xorg сервера, иксов. Где вылазит (EE)?

#96567
xlin написал:
запуска xorg сервера, иксов. Где вылазит (EE)?

Уже нашел

#96574

Вот что пишут в вики

I keep getting the message: "no screens found"

This is a very general message telling you that something went wrong and there is no screen left which the server can successfully drive. Usually you'll see another error message describing what went wrong in more detail:

Message: "No devices detected"

You get an error message like:


(EE) No devices detected.
Fatal server error:
no screens found
It is very likely that your xorg.conf file doesn't contain the correct driver(s) for the chipset(s) in your system or that your chipset isn't supported by any of the drivers.
You can check for the detected devices in the log file (in most cases /var/log/Xorg.0.log) by looking for lines like:
(--) PCI:*(1:0:0) Neomagic Corporation NM2200 [MagicGraph 256AV] rev 32, Mem @ 0xfd000000/24, 0xfe800000/22, 0xfec00000/20
In this example the active video device (the one with the *) is a Neomagic NM2200 video chip. In order to get this chipset to work you'd have to use the neomagic driver.
If you are using a distribution you should rerun its configuration tool. If there is no such tool, or if it keeps configuring your Xserver wrong you may want to try xorgcfg, the graphical tool shipped with Xorg. You can also let the server generate a config file: as root just run X -configure.
Please note: If you appear to use the correct driver and you still keep getting this message it is very likely that your chipset isn't supported (yet). In this case you may try the vesa driver or - if this doesn't work - the vga driver. However both are entirely unaccellerated.
#96603

Ок, нашел ту же версию для amd64. Сейчас попробую поставить.

#96605

Результат тот же. Есть еще идеи?

#96608

Покажи xorg.conf

#96611
text
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.06  (buildmeister@builder101)  Mon Sep 13 04:59:45 PDT 2010

#Section "ServerLayout" # Identifier "Default Layout" # Screen "Default Screen" 0 0 #EndSection

Section "Module" Load "glx" # Load "glx" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection

Section "Device" Identifier "Intel card" Driver "intel" EndSection

Section "Device" Identifier "Nvidia card" Driver "nvidia" Option "NoLogo" "True" # Option "SLI" "True" EndSection

Section "Screen" Identifier "Default Screen" Device "Nvidia card" Monitor "Monitor0" DefaultDepth 24 Option "NoLogo" "True" SubSection "Display" Depth 24 Modes "nvidia-auto-select" EndSubSection EndSection

С версией без использования nvidia-xconfig работало не лучше

#96613

Section "Device"
Identifier "Intel card"
Driver "intel"
EndSection

Section "Device"
Identifier "Nvidia card"
Driver "nvidia"
Option "NoLogo" "True"
# Option "SLI" "True"
EndSection

вы бы уже определились что вам надо

#96619
Termo написал:
вы бы уже определились что вам надо

Интел - рабочий вариант, а нвидию я настраиваю как раз.

#96621

Хз, возможно так указывать две видюхи сразу или нет, но я бы закоментил строки Intel и сделал бы заново X --configure. Затем если они опять добавились, то убрал бы.
Вариант?

#96626
xlin написал:
Хз, возможно так указывать две видюхи сразу или нет, но я бы закоментил строки Intel и сделал бы заново X --configure. Затем если они опять добавились, то убрал бы.
Вариант?

Нет, я добавил их сам для удобства переключения. Без этого все тоже не работало.

#96632

X -configure вылетает с ошибкой, что число девайсов не совпадает с числом скринов. (Это и с закомментенным интелом и без)

#96633

Либо добавь еще одну секцию Section "Screen", либо снеси все что касется интела... Так пробовал?

UPD: Удали xorg.conf и попробуй стартануть иксы.

#96635

Удалил, стартанул. В lsmod есть нвидия, но приложения, использущие opengl не запускаются и nvidia xserver settings говорит, что у меня не запущен нвидия Х драйвер

#96637

Добавлял скрин, удалял девайс, не помогает. Пишется вроде number of detected devices doesn't match number of created screens.

Войдите или зарегистрируйтесь, чтобы ответить.