Не удалось инициализировать графический процессор Nvidia

Я установил nvidia-current на 12.04 и шмель в соответствии с этими ссылками http://news.softpedia.com/news/How-to-Install-The-Latest-Nvidia-Driver-on-Ubuntu-12-04 -295542.shtml И https://wiki.ubuntu.com/Bumblebee соответственно. Однако, пытаясь запустить optirun, я получаю следующую ошибку:

       [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed t0 initialize the NVIDIA GPU at PCI:1:0:0.  Please

       [ERROR]Aborting because fallback start is disabled.

У меня есть google это широко, не имея возможности найти общий консенсус относительно того, что делать. У меня есть Intel Core i5 и GEFORCE 740M Nvidia. Ниже приведена информация о системе ниже:

**root@:/home/# lspci -d 10de: -vvnn**
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:0fdf] (rev a1)
    Subsystem: ASUSTeK Computer Inc. Device [1043:1587]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at e000 [size=128]
    Expansion ROM at f7000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Address: 0000000000000000  Data: 0000
    Capabilities: [78] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 256 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed unknown, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <4us
            ClockPM+ Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Range AB, TimeoutDis+
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
        LnkCtl2: Target Link Speed: Unknown, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -3.5dB
    Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    Capabilities: [100 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
    Capabilities: [128 v1] Power Budgeting <?>
    Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Capabilities: [900 v1] #19
    Kernel driver in use: nvidia
    Kernel modules: nvidia_current, nouveau, nvidiafb

root @: / home / # dmesg | grep bb

[    0.000000] PERCPU: Embedded 14 pages/cpu @f7bb2000 s34176 r0 d23168 u57344
[   15.081790] bbswitch: version 0.6
[   15.081796] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   15.081801] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[   15.081882] bbswitch: detected an Optimus _DSM function
[   15.081887] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[   15.083422] bbswitch: disabling discrete graphics

root @: / home / # dmesg | root @: / home / # uname -a [ ! d9]

Ubuntu 12.04.2 LTS \n \l

root @: / home / # dpkg -l | grep nvidia

ii  nvidia-common                                1:0.2.44.2                                       Find obsolete NVIDIA drivers
ii  nvidia-current                               304.88-0ubuntu0.0.2                              NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-settings                              304.88-0ubuntu0.0.2                              Tool of configuring the NVIDIA graphics driver

root @: / home / # dpkg -l | grep nvidia \

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia_current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

/ home # cat /etc/bumblebee/xorg.conf.nvidia

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
#   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
1
задан 14 May 2013 в 19:44

2 ответа

 sudo nano /etc/bumblebee/xorg.conf.nvidia

И удалите хэш-шину BusID «PCI: 01: 00: 0»

    # BusID "PCI:01:00:0"

To

 BusID "PCI:01:00:0"

Проблема с шмелем с 13.04

Я не знаю, почему вы столкнулись с этой проблемой. Эта проблема была исправлена ​​более недели назад обновлением bumblebee ..
  optirun -vvvv glxspheres

Проверьте вывод

[13454.974937] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[13454.975659] [INFO]Configured driver: nvidia
[13454.976110] [DEBUG]optirun version 3.2.1 starting...
[13454.976152] [DEBUG]Active configuration:
[13454.976164] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[13454.976175] [DEBUG] X display: :8
[13454.976185] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[13454.976196] [DEBUG] Socket path: /var/run/bumblebee.socket
[13454.976206] [DEBUG] Accel/display bridge: auto
[13454.976216] [DEBUG] VGL Compression: proxy
[13454.976226] [DEBUG] VGLrun extra options: 
[13454.976236] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[13454.976306] [DEBUG]Using auto-detected bridge virtualgl
[13457.134946] [INFO]Response: Yes. X is active.

[13457.134995] [INFO]Running application using virtualgl.
[13457.135250] [DEBUG]Process vglrun started, PID 7972.
Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GT 525M/PCIe/SSE2
96.393433 frames/sec - 103.415501 Mpixels/sec
116.021494 frames/sec - 112.820229 Mpixels/sec
[13462.342559] [DEBUG]SIGCHILD received, but wait failed with No child processes
[13462.342637] [DEBUG]Socket closed.
[13462.342682] [DEBUG]Killing all remaining processes.
[d7 ]

Если его все еще не работает, проверьте свой библиотечный файл LibraryPath = / usr / lib / nvidia-304 not LibraryPath = / usr / lib / nvidia-current

ls /usr/lib/nvidia     # Double TAB 
nvidia/              nvidia-304/          nvidia-settings-304/ 

] Я не знаю, почему вы столкнулись с этой проблемой. Эта проблема была исправлена ​​более недели назад обновлением шмеля ..

 sudo nano  /etc/bumblebee/bumblebee.conf

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia_current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

TO

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-304
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
1
ответ дан 24 May 2018 в 22:13
  • 1
    Nope LibraryPath = / usr / lib / nvidia-current находится на моем пути. Также указание BusID не изменило мою проблему. – Radagasp 14 May 2013 в 23:26
  • 2
    @ user1658296 & gt; lspci | grep NVIDIA & gt; & gt; выход plzz – Qasim 14 May 2013 в 23:29
  • 3
    dominic @ dominic: ~ $ lspci | grep NVIDIA 01: 00.0 3D-контроллер: устройство NVIDIA Corporation 0fdf (rev ff) – Radagasp 14 May 2013 в 23:32
  • 4
    @ user1658296 у вас есть skype, поэтому можно увидеть свой экран ... и исправить проблему ... или совместное использование экрана Google – Qasim 14 May 2013 в 23:34
  • 5
    проблема с идентификатором шины, исправленная в версии.3.2 – shantanu 12 July 2013 в 17:48

В установке могут возникнуть некоторые проблемы. Не нужно было следовать первому руководству. Я думаю, вы не перезапустили систему, если вы перезапустили, будет черный экран.

Единственное, что меня беспокоит в конфигурации, это строка

KernelDriver=nvidia_current [ ! d2]

должно быть,

KernelDriver=nvidia-current

Измените его, а затем перезагрузите. Посмотрите, работает ли он, если он не читается, чтобы переустановить,

Сначала удалите nvidia-current

sudo apt-get remove nvidia-current

stop bumblebee service,

sudo stop bumblebeed

Переименуйте файл конфигурации

sudo mv /etc/bumblebee/bumblebee.conf /etc/bumblebee/bumblebee.conf.old

Заново установите шмелю с nvidia-driver

sudo apt-get install --reinstall bumblebee bumblebee-nvidia [ ! d13]

Если все не удается, сообщите об этом здесь https://github.com/Bumblebee-Project/Bumblebee/wiki/Reporting-Issues

0
ответ дан 24 May 2018 в 22:13
  • 1
    У меня есть аппаратное обеспечение .... root @ dominic: / home / dominic # lspci | grep NV 01: 00.0 3D-контроллер: устройство NVIDIA Corporation 0fdf (rev ff) Также ноутбуком является assus S56C. – Radagasp 14 May 2013 в 19:55
  • 2
    root @ dominic: / home / dominic # [352.714825] [WARN] Не удалось открыть файл конфигурации: /etc/bumblebee/bumblebee.conf [352.714954] [WARN] Использование конфигурации по умолчанию [353.712309] [ERROR] Не удается получить доступ к вторичной ошибке GPU - ошибка : [XORG] (EE) NVIDIA (0): Не удалось инициализировать графический процессор NVIDIA при PCI: 1: 0: 0. Пожалуйста, [353.712375] [ОШИБКА] Отмена, потому что резервный старт отключен. Благодарю. Сейчас я попробую предложение Касима. – Radagasp 14 May 2013 в 22:56

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

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