Модуль Ubuntu 11.10 nvidia не удалось загрузить (модуль не существует)

У меня есть ASUS Ul30vt с гибридной видеокартой Intel / NVIDIA. Я могу заставить драйвер Intel загружаться просто отлично, но я пытаюсь загрузить видеокарту nvidia. Я испробовал ряд различных решений, в том числе с использованием драйвера из ограниченных драйверов Ubuntu и с сайта nvidia. Я опишу мою текущую ситуацию, хотя и посмотрю, достаточно ли информации. Дайте мне знать, если потребуется больше.

В настоящее время, когда я запускаю

jockey-text --list | grep nvidia

, он возвращает следующее

kmod:nvidia_current - nvidia_current (Proprietary, Enabled, Not in use)
kmod:nvidia_current_updates - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)

Также я могу запустить

modinfo nvidia_current

и вижу следующее

filename:       /lib/modules/3.0.0-16-generic/updates/dkms/nvidia_current.ko
alias:          char-major-195-*
version:        295.20
supported:      external
license:        NVIDIA
alias:          pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias:          pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
vermagic:       3.0.0-16-generic SMP mod_unload modversions 686
parm:           NVreg_EnableVia4x:int
parm:           NVreg_EnableALiAGP:int
parm:           NVreg_ReqAGPRate:int
parm:           NVreg_EnableAGPSBA:int
parm:           NVreg_EnableAGPFW:int
parm:           NVreg_Mobile:int
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_RemapLimit:int
parm:           NVreg_UpdateMemoryTypes:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UseVBios:int
parm:           NVreg_RMEdgeIntrCheck:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_MapRegistersEarly:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_NvAGP:int

Мой xorg.conf выглядит как

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

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "record"
    Load  "dri"
    Load  "glx"
    Load  "extmod"
    Load  "dbe"
    Load  "dri2"
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 6 7"
EndSection

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

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

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "DRI"                   # [<bool>]
        #Option     "ColorKey"              # <i>
        #Option     "VideoKey"              # <i>
        #Option     "FallbackDebug"         # [<bool>]
        #Option     "Tiling"                # [<bool>]
        #Option     "LinearFramebuffer"     # [<bool>]
        #Option     "Shadow"                # [<bool>]
        #Option     "SwapbuffersWait"       # [<bool>]
        #Option     "TripleBuffer"          # [<bool>]
        #Option     "XvMC"                  # [<bool>]
        #Option     "XvPreferOverlay"       # [<bool>]
        #Option     "DebugFlushBatches"     # [<bool>]
        #Option     "DebugFlushCaches"      # [<bool>]
        #Option     "DebugWait"             # [<bool>]
        #Option     "HotPlug"               # [<bool>]
        #Option     "RelaxedFencing"        # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "WrappedFB"             # [<bool>]
        #Option     "GLXVBlank"             # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "PageFlip"              # [<bool>]
    Identifier  "Card1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    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 "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    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

Эта конфигурация в настоящее время не работает (если я изменю ее на использование Screen0 с драйвером intel, я смогу просто войти в lightdm). Когда у меня выбран Screen1 / nvidia, но я получаю следующую ошибку

[   175.767] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[   175.767] X Protocol Version 11, Revision 0
[   175.767] Build Operating System: Linux 2.6.24-29-server i686 Ubuntu
[   175.767] Current Operating System: Linux ubuntu 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:49:42 UTC 2012 i686
[   175.767] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-16-generic root=UUID=8E2C55032C54E82B loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
[   175.767] Build Date: 19 October 2011  05:09:41AM
[   175.767] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support) 
[   175.767] Current version of pixman: 0.22.2
[   175.767]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   175.767] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   175.767] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 18 09:36:25 2012
[   175.767] (==) Using config file: "/etc/X11/xorg.conf"
[   175.770] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   175.771] (==) ServerLayout "X.org Configured"
[   175.771] (**) |-->Screen "Screen1" (0)
[   175.771] (**) |   |-->Monitor "Monitor1"
[   175.771] (**) |   |-->Device "Card1"
[   175.771] (**) |-->Input Device "Mouse0"
[   175.771] (**) |-->Input Device "Keyboard0"
[   175.771] (==) Automatically adding devices
[   175.771] (==) Automatically enabling devices
[   175.772] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   175.772]    Entry deleted from font path.
[   175.772] (**) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins,
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins
[   175.772] (**) ModulePath set to "/usr/lib/xorg/modules"
[   175.772] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   175.772] (WW) Disabling Mouse0
[   175.772] (WW) Disabling Keyboard0
[   175.772] (II) Loader magic: 0x823ada0
[   175.772] (II) Module ABI versions:
[   175.772]    X.Org ANSI C Emulation: 0.4
[   175.772]    X.Org Video Driver: 10.0
[   175.772]    X.Org XInput driver : 12.3
[   175.772]    X.Org Server Extension : 5.0
[   175.773] (--) PCI:*(0:0:2:0) 8086:2a42:1043:1af2 rev 7, Mem @ 0xfcc00000/4194304, 0xd0000000/268435456, I/O @ 0x0000cc00/8
[   175.773] (--) 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
[   175.773] (II) Open ACPI successful (/var/run/acpid.socket)
[   175.773] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[   175.773] (II) LoadModule: "record"
[   175.774] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   175.774] (II) Module record: vendor="X.Org Foundation"
[   175.774]    compiled for 1.10.4, module version = 1.13.0
[   175.774]    Module class: X.Org Server Extension
[   175.774]    ABI class: X.Org Server Extension, version 5.0
[   175.774] (II) Loading extension RECORD
[   175.774] (II) LoadModule: "dri"
[   175.774] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   175.775] (II) Module dri: vendor="X.Org Foundation"
[   175.775]    compiled for 1.10.4, module version = 1.0.0
[   175.775]    ABI class: X.Org Server Extension, version 5.0
[   175.775] (II) Loading extension XFree86-DRI
[   175.775] (II) LoadModule: "glx"
[   175.775] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   175.775] (II) Module glx: vendor="X.Org Foundation"
[   175.775]    compiled for 1.10.4, module version = 1.0.0
[   175.775]    ABI class: X.Org Server Extension, version 5.0
[   175.775] (==) AIGLX enabled
[   175.775] (II) Loading extension GLX
[   175.775] (II) LoadModule: "extmod"
[   175.775] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   175.776] (II) Module extmod: vendor="X.Org Foundation"
[   175.776]    compiled for 1.10.4, module version = 1.0.0
[   175.776]    Module class: X.Org Server Extension
[   175.776]    ABI class: X.Org Server Extension, version 5.0
[   175.776] (II) Loading extension MIT-SCREEN-SAVER
[   175.776] (II) Loading extension XFree86-VidModeExtension
[   175.776] (II) Loading extension XFree86-DGA
[   175.776] (II) Loading extension DPMS
[   175.776] (II) Loading extension XVideo
[   175.776] (II) Loading extension XVideo-MotionCompensation
[   175.776] (II) Loading extension X-Resource
[   175.776] (II) LoadModule: "dbe"
[   175.776] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   175.776] (II) Module dbe: vendor="X.Org Foundation"
[   175.776]    compiled for 1.10.4, module version = 1.0.0
[   175.776]    Module class: X.Org Server Extension
[   175.776]    ABI class: X.Org Server Extension, version 5.0
[   175.776] (II) Loading extension DOUBLE-BUFFER
[   175.776] (II) LoadModule: "dri2"
[   175.776] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   175.777] (II) Module dri2: vendor="X.Org Foundation"
[   175.777]    compiled for 1.10.4, module version = 1.2.0
[   175.777]    ABI class: X.Org Server Extension, version 5.0
[   175.777] (II) Loading extension DRI2
[   175.777] (II) LoadModule: "nvidia"
[   175.777] (WW) Warning, couldn't open module nvidia
[   175.777] (II) UnloadModule: "nvidia"
[   175.777] (II) Unloading nvidia
[   175.777] (EE) Failed to load module "nvidia" (module does not exist, 0)
[   175.777] (EE) No drivers available.
[   175.777] 
Fatal server error:
[   175.777] no screens found
[   175.777] 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[   175.777] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   175.777] 

Я попытался набрать «nvidia_current» в xorg.conf, где он ищет имя устройства, но затем он просто отказывает и говорит он не может найти модуль nvidiacurrent.

По сути, я не уверен, что мне нужно поместить в xorg.conf, чтобы указать на модуль nvidia_current, который, как знает моя система, находится там.

Спасибо за любую помощь, и если нужна дополнительная информация.

1
задан 18 March 2012 в 18:03

4 ответа

Старый вопрос, но все еще без ответа - надеюсь, это кому-нибудь поможет.

Убедитесь, что у вас установлены заголовки для вашего ядра - без этого вы не сможете собрать модуль nvidia.

sudo apt-get install linux-headers-`uname -r`

Затем запустите

sudo dpkg-reconfigure nvidia-current

В конце концов, запустите

sudo nvidia-xconfig

или восстановите исходный xorg.conf.

0
ответ дан 18 March 2012 в 18:03

Этот ноутбук (Asus UL30VT) не является моделью Optimus, хотя у него гибридная графика. Во IIRC есть аппаратный мультиплексор, которым можно управлять с помощью программного обеспечения (BIOS?).

Попробуйте:

  1. Удалите файл /etc/X11/xorg.conf, настройка должна быть обнаружена автоматически
  2. Переустановите nvidia-current: sudo apt-get install --reinstall nvidia-current
  3. Перезагрузитесь в BIOS и проверьте возможность принудительного использования встроенной или дискретной карты
  4. Загрузочный Ubuntu
  5. Проверьте, используется ли карта NVIDIA (файл журнала находится в /var/log/Xorg.0.log)
  6. [ 118]
0
ответ дан 18 March 2012 в 18:03

Попробуйте сгенерировать xorg.conf, чтобы проверить, решает ли он ваши проблемы.
Сначала переместите текущий файл в xorg.conf.old, а затем выполните sudo nvidia-xconfig, чтобы восстановить его.

Я также рекомендую вам запустить (до вышеописанного) sudo dpkg-reconfigure nvidia-current, чтобы убедиться, что драйвер хорошо настроен.

0
ответ дан 18 March 2012 в 18:03

Обновление заголовков ядра сделало свое дело! Я попытался запустить sudo nvidia-xconfig без удачи, но новая установка nvidia плюс обновление заголовков исправили генерацию файла. См. Команды для свежего обновления ниже:

sudo apt-get --purge remove nvdia-*  

sudo apt-get install nvidia-current 
0
ответ дан 18 March 2012 в 18:03

Другие вопросы по тегам:

Похожие вопросы: