You are not logged in.

#1 2014-02-03 12:30:51

Linoman
Member
From: Barcelona, Spain
Registered: 2010-12-04
Posts: 40

Intel/nVidia troubles for Razer Blade 14

Hi, I've been trying to setup the switchable graphics for the Razer Blade 14 (nVidia 765M) but no luck. I've been reading several posts but still no dice.

I'm using nvidia, bbswitch, linux-ck and bumblebee.

nvidia-config was saved at /etc/bumblebee/xorg.conf.d/20-nvidia.conf and changed

Section "Device"
    Identifier "nvidiagpu1"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

bumblebee.conf I set Driver=nvidia and Bridge=virtualgl and I set BusID to 01:00:00. It shows (rev ff) before optirun and rev (a1) after running optirun.

[linoman@Avon ~]lspci | grep 3Dg 
01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev ff)

Attempting to run optirun I get

[linoman@Avon ~]$ optirun -vv subl
[   94.961069] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[   94.961277] [INFO]Configured driver: nvidia
[   94.961455] [DEBUG]optirun version 3.2-12-g8244297 starting...
[   94.961465] [DEBUG]Active configuration:
[   94.961469] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[   94.961473] [DEBUG] X display: :8
[   94.961477] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[   94.961481] [DEBUG] Socket path: /var/run/bumblebee.socket
[   94.961484] [DEBUG] Accel/display bridge: auto
[   94.961488] [DEBUG] VGL Compression: proxy
[   94.961492] [DEBUG] VGLrun extra options: 
[   94.961495] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[   94.962466] [DEBUG]Using auto-detected bridge virtualgl
[   99.773403] [INFO]Response: No - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[   99.773417] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[   99.773422] [DEBUG]Socket closed.
[   99.773437] [ERROR]Aborting because fallback start is disabled.
[   99.773442] [DEBUG]Killing all remaining processes.

This is xorg.8,log

[linoman@Avon ~]$ less /var/log/Xorg.8.log
[    95.710] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    95.710] (==) NVIDIA(0): RGB weight 888
[    95.710] (==) NVIDIA(0): Default visual is TrueColor
[    95.710] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    95.710] (**) NVIDIA(0): Enabling 2D acceleration
[    99.766] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    99.766] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    99.766] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    99.766] (EE) NVIDIA(GPU-0):     README for additional information.
[    99.766] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    99.766] (EE) NVIDIA(0): Failing initialization of X screen 0
[    99.766] (II) UnloadModule: "nvidia"
[    99.766] (II) UnloadSubModule: "wfb"
[    99.766] (II) UnloadSubModule: "fb"
[    99.766] (EE) Screen(s) found, but none have a usable configuration.
[    99.766] (EE) 
Fatal server error:
[    99.766] (EE) no screens found(EE) 
[    99.766] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    99.766] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[    99.766] (EE) 
[    99.766] (EE) Server terminated with error (1). Closing log file

In kmesg I get the same error as this post

[linoman@Avon ~]$ sudo cat /proc/kmsg 
<6>[   94.962570] bbswitch: enabling discrete graphics
<6>[   95.585511] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
<4>[   95.585516] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  331.38  Wed Jan  8 19:32:30 PST 2014
<3>[   95.710544] vgaarb: this pci device is not a vga device
<7>[   95.711679] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
<4>[   95.718737] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718788] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718815] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718839] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718862] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718885] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718923] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   95.718947] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   99.750417] ACPI Error: Field [TMPB] at 1081344 exceeds Buffer [ROM1] size 262144 (bits) (20130725/dsopcode-236)
<4>[   99.750423] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ROM] (Node ffff8802240d7050), AE_AML_BUFFER_LIMIT (20130725/psparse-536)
<4>[   99.760776] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130725/nsarguments-95)
<4>[   99.766571] NVRM: RmInitAdapter failed! (0x24:0x38:1130)
<4>[   99.766579] NVRM: rm_init_adapter failed for device bearing minor number 0
<4>[   99.766599] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5

So I've tried to use linux-ck and running mkinitcpio, I get 6 images too boot (I don't think I have to try fallback menu entries, correct me if I'm wrong) I've tried each one changing rcutree.rcu_idle_gp_delay={1-4}

-rw-r--r-- 1 root root 17216441 Feb  3 10:20 initramfs-linux-ck-fallback.img
-rw-r--r-- 1 root root  3598869 Feb  3 10:20 initramfs-linux-ck.img
-rw-r--r-- 1 root root 17222780 Feb  3 11:45 initramfs-linux-fallback.img
-rw-r--r-- 1 root root  3605224 Feb  3 11:45 initramfs-linux.img
-rw-r--r-- 1 root root  3867632 Jan 31 09:24 vmlinuz-linux
-rw-r--r-- 1 root root  3796176 Feb  3 10:17 vmlinuz-linux-ck

Grub menu entries and results
vmlinuz-linux & initramfs-linux.img: loads bumblebee but I get the same error mentioned before in xorg.8.log

vmlinuz-linux-ck: gives kernel panic

vmlinuz-linux-ck & initramfs-linux.img: doesn't load bumblbee, gives

[linoman@Avon ~]$ systemctl status bumblebeed
bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2014-02-03 13:13:20 UTC; 31s ago
  Process: 288 ExecStart=/usr/sbin/bumblebeed (code=exited, status=1/FAILURE)
 Main PID: 288 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/bumblebeed.service

Feb 03 13:13:20 Avon systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE
Feb 03 13:13:20 Avon systemd[1]: Unit bumblebeed.service entered failed state.

Finally I've tried this with the same results.

Am I missing something? I'm out of ideas/posts/research. Any help help is appreciated. Forgive me if I'm missing something to post, it's a lot of info. First time setting up nVidia stuf.

Last edited by Linoman (2014-02-03 12:35:04)

Offline

#2 2014-02-05 15:37:17

Linoman
Member
From: Barcelona, Spain
Registered: 2010-12-04
Posts: 40

Re: Intel/nVidia troubles for Razer Blade 14

Don't mean to bump but perhaps I'm on the wrong subforum? Should I copy this on newbie corner?

Last edited by Linoman (2014-02-06 14:57:37)

Offline

Board footer

Powered by FluxBB