You are not logged in.

#1 2014-03-08 16:35:38

astex
Member
Registered: 2012-06-25
Posts: 37

nouveau fails to start on boot, fails to load at optirun

I have an intel/nvidia hybrid graphics laptop (Asus N56JR) that works perfectly well under the Intel display driver, but fails under nouveau and nvidia.  Here's the relevant configuration:

[astex@dingo ~]$ lspci | grep 3D
01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 760M] (rev a1)
[astex@dingo ~]$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

For nvidia, there are no error messages in either dmesg or journalctl, my display simply flickers several times (as though KMS is being initialized), boot seems to succeed completely, but there's simply no X session tied to my display.

But I'd prefer to use nouveau anyway.  Nouveau displays a few errors during boot, but bumblebee seems to recognize it properly and I can turn the card on/off with bbswitch.  Unfortunately, optirun fails with the following:

[astex@dingo ~]$ optirun -vv glxinfo
[ 1172.734322] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1172.734509] [INFO]Configured driver: nouveau
[ 1172.734659] [DEBUG]optirun version 3.2.1 starting...
[ 1172.734668] [DEBUG]Active configuration:
[ 1172.734670] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1172.734672] [DEBUG] X display: :8
[ 1172.734675] [DEBUG] LD_LIBRARY_PATH: 
[ 1172.734677] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1172.734679] [DEBUG] Accel/display bridge: virtualgl
[ 1172.734681] [DEBUG] VGL Compression: proxy
[ 1172.734683] [DEBUG] VGLrun extra options: 
[ 1172.734686] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1173.398754] [INFO]Response: No - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[ 1173.398776] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.

[ 1173.398778] [DEBUG]Socket closed.
[ 1173.398799] [ERROR]Aborting because fallback start is disabled.
[ 1173.398801] [DEBUG]Killing all remaining processes.

Trying the same using PRIME crashes X11 (although the configuration looks correct).  This triggers the crash:

[astex@dingo ~]$ xrandr --listproviders 
Providers: number : 2
Provider 0: id: 0x67 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel
Provider 1: id: 0x3f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs: 0 associated providers: 0 name:nouveau
[astex@dingo ~]$ xrandr --setprovideroffloadsink nouveau Intel
[astex@dingo ~]$ DRI_PRIME=1 glxinfo

The driver is quite loud in dmesg if that provides some hint to the problem:

[astex@dingo ~]$ dmesg | grep nouveau
[    0.534036] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x0e6230a1
[    0.534037] nouveau  [  DEVICE][0000:01:00.0] Chipset: GK106 (NVE6)
[    0.534038] nouveau  [  DEVICE][0000:01:00.0] Family : NVE0
[    0.535571] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[    0.583758] nouveau  [   VBIOS][0000:01:00.0] ... signature not found
[    0.583759] nouveau  [   VBIOS][0000:01:00.0] checking PROM for image...
[    0.858898] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[    0.858899] nouveau  [   VBIOS][0000:01:00.0] using image from PROM
[    0.858990] nouveau  [   VBIOS][0000:01:00.0] BIT signature found
[    0.858991] nouveau  [   VBIOS][0000:01:00.0] version 80.06.67.00.02
[    0.859538] nouveau  [ DEVINIT][0000:01:00.0] adaptor not initialised
[    0.859540] nouveau  [   VBIOS][0000:01:00.0] running init tables
[    0.943312] nouveau 0000:01:00.0: irq 43 for MSI/MSI-X
[    0.943319] nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
[    0.943357] nouveau  [     PFB][0000:01:00.0] RAM type: GDDR5
[    0.943358] nouveau  [     PFB][0000:01:00.0] RAM size: 2048 MiB
[    0.943359] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 0 tags
[    0.948320] nouveau  [    VOLT][0000:01:00.0] GPU voltage: 600000uv
[    2.014043] nouveau  [  PTHERM][0000:01:00.0] FAN control: none / external
[    2.014049] nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
[    2.014051] nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
[    2.014069] nouveau  [     CLK][0000:01:00.0] 07: core 405 MHz memory 405 MHz 
[    2.014098] nouveau  [     CLK][0000:01:00.0] 0a: core 405-719 MHz memory 810 MHz 
[    2.014136] nouveau  [     CLK][0000:01:00.0] 0f: core 405-719 MHz memory 2004 MHz 
[    2.014201] nouveau  [     CLK][0000:01:00.0] --: core 405 MHz memory 405 MHz 
[    2.047511] nouveau  [     DRM] VRAM: 2048 MiB
[    2.047512] nouveau  [     DRM] GART: 1048576 MiB
[    2.047513] nouveau E[     DRM] Pointer to TMDS table invalid
[    2.047533] nouveau  [     DRM] DCB version 4.0
[    2.047534] nouveau E[     DRM] Pointer to flat panel table invalid
[    2.047672] nouveau  [     DRM] ACPI backlight interface available, not registering our own
[    2.059012] nouveau  [     DRM] MM: using COPY for buffer copies
[    2.059019] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0
[   17.172969] nouveau E[    PBUS][0000:01:00.0] MMIO write of 0x00000000 FAULT at 0x418880 [ IBUS ]
[   17.172993] nouveau E[   PIBUS][0000:01:00.0] GPC1: 0x419eb4 0xbadf1000 (0x3800820c)
[   19.174982] nouveau E[  PGRAPH][0000:01:00.0] HUB_INIT timed out
[   19.174987] nouveau E[  PGRAPH][0000:01:00.0] 409000 - done 0x00000244
[   19.174992] nouveau E[  PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.174996] nouveau E[  PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000002 0x00000009
[   19.174998] nouveau E[  PGRAPH][0000:01:00.0] 502000 - done 0x00000300
[   19.175005] nouveau E[  PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175011] nouveau E[  PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175013] nouveau E[  PGRAPH][0000:01:00.0] 50a000 - done 0x00000300
[   19.175019] nouveau E[  PGRAPH][0000:01:00.0] 50a000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175025] nouveau E[  PGRAPH][0000:01:00.0] 50a000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175027] nouveau E[  PGRAPH][0000:01:00.0] 512000 - done 0x00000300
[   19.175033] nouveau E[  PGRAPH][0000:01:00.0] 512000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175039] nouveau E[  PGRAPH][0000:01:00.0] 512000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
[   19.175041] nouveau E[  PGRAPH][0000:01:00.0] init failed, -16

Offline

#2 2014-03-08 16:49:09

astex
Member
Registered: 2012-06-25
Posts: 37

Re: nouveau fails to start on boot, fails to load at optirun

It's awfully similar to this (https://bugs.freedesktop.org/show_bug.cgi?id=70354), but I've never patched a kernel module before (maybe now's a good time to start?).

Offline

Board footer

Powered by FluxBB