Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVIDIA(0): Failed to initialize DMA #342

Closed
haruka-7 opened this issue Feb 27, 2013 · 16 comments
Closed

NVIDIA(0): Failed to initialize DMA #342

haruka-7 opened this issue Feb 27, 2013 · 16 comments

Comments

@haruka-7
Copy link

Optirun doesn't work for me. I use Ubuntu 12.10 with a Nvidia GT 415M and 310 experimental driver.

optirun -v --debug glxspheres
[23778.224122] [INFO]Configured driver: nvidia
[23778.224399] [DEBUG]optirun version 3.1 starting...
[23778.224417] [DEBUG]Active configuration:
[23778.224425] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[23778.224432] [DEBUG] X display: :8
[23778.224439] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-experimental-310:/usr/lib32/nvidia-experimental-310
[23778.224447] [DEBUG] Socket path: /var/run/bumblebee.socket
[23778.224454] [DEBUG] Accel/display bridge: auto
[23778.224461] [DEBUG] VGL Compression: proxy
[23778.224498] [DEBUG]Using auto-detected bridge virtualgl
[23785.503353] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize DMA.

[23785.503379] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize DMA.

[23785.503385] [DEBUG]Socket closed.
[23785.503426] [ERROR]Aborting because fallback start is disabled.
[23785.503431] [DEBUG]Killing all remaining processes.
lspci -d 10de: -vvnn
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 415M] [10de:0dee] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device [1043:1552]
    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
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
    Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
    Region 5: I/O ports at d000 [size=128]
    [virtual] Expansion ROM at d3000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nvidia
    Kernel modules: nvidia_experimental_310, nouveau, nvidiafb
cat /etc/bumblebee/bumblebee.conf
http://pastebin.com/raw.php?i=xbDWdnvq
@ArchangeGabriel
Copy link
Member

Full Xorg.0.log please, also kern.log if possible.

@haruka-7
Copy link
Author

I ran optirun glxspheres before post this two files.
/var/log/Xorg.0.log : http://pastebin.com/raw.php?i=iCwU2S9K
/var/log/kern.log : https://mega.co.nz/#!7Qw3lSwQ!MTjwKGb8ldVVkXsHk8fRD2zMb8I-guO9O5HMNMThN8w

@ArchangeGabriel
Copy link
Member

Sorry, typo, was Xorg.8.log that I wanted, but there are already a lot of interesting things in your kernel log:

Feb 27 21:07:04 Delta kernel: [23349.645352] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 27 21:07:04 Delta kernel: [23349.653818] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 27 21:07:04 Delta kernel: [23349.669503] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000
Feb 27 21:07:11 Delta kernel: [23356.909973] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 27 21:07:11 Delta kernel: [23356.914270] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 27 21:07:11 Delta kernel: [23356.925485] NVRM: Xid (0000:01:00): 56, CMDre 00000000 00000088 0100cb05 00000007 00000000
Feb 27 21:07:11 Delta kernel: [23356.925502] NVRM: Xid (0000:01:00): 56, CMDre 00000000 0000008c 00000000 00000005 00000008
Feb 27 21:07:14 Delta kernel: [23359.921730] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000
Feb 27 21:12:47 Delta kernel: [23691.913778] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 27 21:12:47 Delta kernel: [23691.921838] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 27 21:12:47 Delta kernel: [23691.936757] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000
Feb 27 21:12:58 Delta kernel: [23703.155485] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 27 21:12:58 Delta kernel: [23703.159808] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 27 21:12:59 Delta kernel: [23703.172262] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000
Feb 27 21:13:17 Delta kernel: [23721.991724] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 27 21:13:17 Delta kernel: [23721.991768] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 27 21:13:17 Delta kernel: [23722.014777] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000

Feb 28 09:53:08 Delta kernel: [ 4575.925748] NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000
Feb 28 09:53:08 Delta kernel: [ 4575.925888] NVRM: GPU at 0000:01:00: GPU-cebb0df1-0659-e4f1-0aee-d1cb1f1cc987
Feb 28 09:53:08 Delta kernel: [ 4575.943161] NVRM: Xid (0000:01:00): 31, Ch 00000001, engmask 00000101, intr 10000000

However, I have absolutely no idea on how to fix that and every topic around the web about this does not end with a solution...

@Lekensteyn
Copy link
Member

Report this at nvidia or try other driver versions.

@haruka-7
Copy link
Author

haruka-7 commented Mar 6, 2013

Here is the Xorg.8.log after a optirun glxspheres : http://paste.ubuntu.com/5590935/plain/
Ok, I'll try with an other driver version.
Thank you !

@haruka-7
Copy link
Author

haruka-7 commented Mar 6, 2013

I have the same problem with nvidia-current and nouveau drivers. I changed only the Driver variable in bumblebee.conf, and ran optirun glxspheres.

@ArchangeGabriel
Copy link
Member

This is not the way do change the driver. First, you need to restart the daemon after such a change. Next, it's not by changing the driver value there that you can change the nvidia driver you use. You have to install the version you want to use. Also, please indeed test nouveau.

@pstch
Copy link

pstch commented Mar 26, 2013

Same problem with GT 540M and 313 driver. I remember it working some days ago, before I ran an upgrade.

@pstch
Copy link

pstch commented Mar 26, 2013

These two lines are written in kern.log before Xorg reports that it failed to initialize the DMA :

NVRM: GPU at 0000:01:00: GPU-bf55680d-08c3-3980-436f-ad03b642f491
NVRM: Xid (0000:01:00): 31, Ch 00000000, engmask 00000101, intr 10000000

@pstch
Copy link

pstch commented Mar 26, 2013

Maybe this is related http://www.phoronix.com/scan.php?page=news_item&px=MTE3MDA .

@amonakov
Copy link
Contributor

No, that is not related. If it was working, please try to find exactly what update has broken it (likely the driver update or a kernel update).

@pstch
Copy link

pstch commented Mar 27, 2013

I finally made it working by reverting all my nvidia and bumblebee packages to the debian/stable version. I do not remember at this time which version is this exactly, and I'll only have access to the concerned machine in a few days. I did not change my kernel (3.2)

@pstch
Copy link

pstch commented Mar 28, 2013

Last question : who would the best person to report the issue with the latest NVIDIA drivers not working for our cards ? NVIDIA itself or are there other mainteners easier to reach that may understand the problem ?

@amonakov
Copy link
Contributor

If you can pinpoint at which exact update the driver regressed, please report it to NVIDIA.

@carbonscott
Copy link

It is happening in 2018 as well. Such failure of initialization will happen if the following two things occur at the same time -- when a running process associated with optirun is not killed, and the computer resumes from sleep (which triggers some issues like driver not working properly).

@nonamethanks
Copy link

This is happening to me, but my laptop doesn't go to sleep, and it doesn't even work on immediate start of the system, so I really have no idea what's causing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants