You are not logged in.
Hi,
Just spent about half a day trying to get the graphics card on this laptop to work, to no avail. To work backwards, the last thing I've run is
optirun glxgears64
which gave me the error:
[ 1173.296097] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1173.296164] [ERROR]Aborting because fallback start is disabled.
.
primusrun, with similar results:
primusrun glxgears
primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card
I've included some relevant info below about my current setup, and will include extra info as needed (pretty stumped after half a day of troubleshooting, I'm sure I've left out a bunch of things).
modprobing devices:
sudo modprobe nouveau
No output
sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
Related devices:
lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
02:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
noveau blacklisted:
cat /etc/modprobe.d/blacklist.conf
blacklist nouveau
Related installed packages:
pacman -Q | egrep 'bumblebee|nvidia'
bumblebee 3.2.1-15
lib32-nvidia-utils 381.22-1
nvidia 381.22-3
nvidia-utils 381.22-1
Default grub params;
cat /etc/default/grub
GRUB_CMDLINE_LINUX="rcutree.rcu_idle_gp_delay=1 acpi=force
Bumblebee nvidia config:
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:02:00:0"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
EDIT1: More info, also included in a later post.
Checking the bumblebee service's status:
sudo systemctl status bumblebeed.service
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-07-05 14:27:57 AEST; 20h ago
Main PID: 8853 (bumblebeed)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bumblebeed.service
└─8853 /usr/bin/bumblebeed
Jul 06 10:23:20 machine bumblebeed[8853]: [16222.734001] [ERROR]Could not load GPU driver
Jul 06 10:24:20 machine bumblebeed[8853]: modprobe: ERROR: could not insert 'nvidia': No such device
Jul 06 10:24:20 machine bumblebeed[8853]: [16283.347411] [ERROR]Module nvidia could not be loaded (timeout?)
Jul 06 10:24:20 machine bumblebeed[8853]: [16283.347424] [ERROR]Could not load GPU driver
bbswitch logs:
dmesg | grep bbswitch
[ 9.500837] bbswitch: version 0.8
[ 9.500840] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 9.500843] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG1.PEGP
[ 9.500924] bbswitch: detected an Optimus _DSM function
[ 9.500926] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is off
[ 188.667459] bbswitch: enabling discrete graphics
[ 263.653031] bbswitch: enabling discrete graphics
[ 266.711594] bbswitch: enabling discrete graphics
[ 463.862365] bbswitch: enabling discrete graphics
[ 493.205301] bbswitch: enabling discrete graphics
[ 495.884557] bbswitch: enabling discrete graphics
[ 509.107452] bbswitch: enabling discrete graphics
[ 737.971976] bbswitch: enabling discrete graphics
[ 1171.496510] bbswitch: enabling discrete graphics
[ 1173.205388] bbswitch: enabling discrete graphics
[ 9207.564099] bbswitch: enabling discrete graphics
[13798.274532] bbswitch: enabling discrete graphics
[13800.351919] bbswitch: disabling discrete graphics
[13811.720350] bbswitch: enabling discrete graphics
[13813.738658] bbswitch: disabling discrete graphics
[15568.146540] bbswitch: enabling discrete graphics
bbswitch acpi
cat /proc/acpi/bbswitch
0000:02:00.0 OFF
Despite blacklisting, it appears nouveau still shows up in the kernel list for the nvidia card under
lspci -k
(partial output)
02:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
Kernel modules: nouveau, nvidia_drm, nvidia
Thanks in advance!
Last edited by jting (2017-07-06 00:53:51)
Offline
Before we run in circles, optirun is somewhat known for having problems in recent versions, does it work if you use primusrun instead?
Offline
Just installed and ran the same thing using primusrun:
primusrun glxspheres64
primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card
Seems like it has the same problem of not having access to the graphics card at all (at least the problem is inconsistent in my current scenario...I guess?).
Some additional relevant info (I'll also append these to the original post for anyone else who may be coming across this thread):
I came across multiple variations of this thread: https://www.reddit.com/r/archlinux/comm … us_laptop/ staging that TLP was the cause, but I am neither running TLP nor powertop.
Checking the bumblebee service's status:
sudo systemctl status bumblebeed.service
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-07-05 14:27:57 AEST; 20h ago
Main PID: 8853 (bumblebeed)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bumblebeed.service
└─8853 /usr/bin/bumblebeed
Jul 06 10:23:20 machine bumblebeed[8853]: [16222.734001] [ERROR]Could not load GPU driver
Jul 06 10:24:20 machine bumblebeed[8853]: modprobe: ERROR: could not insert 'nvidia': No such device
Jul 06 10:24:20 machine bumblebeed[8853]: [16283.347411] [ERROR]Module nvidia could not be loaded (timeout?)
Jul 06 10:24:20 machine bumblebeed[8853]: [16283.347424] [ERROR]Could not load GPU driver
bbswitch logs:
dmesg | grep bbswitch
[ 9.500837] bbswitch: version 0.8
[ 9.500840] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 9.500843] bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.PEG1.PEGP
[ 9.500924] bbswitch: detected an Optimus _DSM function
[ 9.500926] bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is off
[ 188.667459] bbswitch: enabling discrete graphics
[ 263.653031] bbswitch: enabling discrete graphics
[ 266.711594] bbswitch: enabling discrete graphics
[ 463.862365] bbswitch: enabling discrete graphics
[ 493.205301] bbswitch: enabling discrete graphics
[ 495.884557] bbswitch: enabling discrete graphics
[ 509.107452] bbswitch: enabling discrete graphics
[ 737.971976] bbswitch: enabling discrete graphics
[ 1171.496510] bbswitch: enabling discrete graphics
[ 1173.205388] bbswitch: enabling discrete graphics
[ 9207.564099] bbswitch: enabling discrete graphics
[13798.274532] bbswitch: enabling discrete graphics
[13800.351919] bbswitch: disabling discrete graphics
[13811.720350] bbswitch: enabling discrete graphics
[13813.738658] bbswitch: disabling discrete graphics
[15568.146540] bbswitch: enabling discrete graphics
bbswitch acpi
cat /proc/acpi/bbswitch
0000:02:00.0 OFF
Despite blacklisting, it appears nouveau still shows up in the kernel list for the nvidia card under
lspci -k
(partial output)
02:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
Kernel modules: nouveau, nvidia_drm, nvidia
Last edited by jting (2017-07-06 00:53:29)
Offline
I will try and see if I have any luck on Ubuntu following a similar process/tutorials catered for Ubuntu and post back to see if I have any luck, as I've previously had hardware problems that simply didn't occur for me on Ubuntu.
Offline