- Index
- » Laptop Issues
- » [SOLVED]Could not enable discrete graphics card on laptop.
Pages: 1
#1 2019-04-01 09:11:26
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
[SOLVED]Could not enable discrete graphics card on laptop.
Hello, I have already searched many topics about this problem but none of them solve such question on my laptop.
Could you please help me with this?
Linux version 5.0.5-arch1-1-ARCH (builduser@heftig-17705) (gcc version 8.2.1 20181127 (GCC))
Bumblebee version 3.2.1
[dell@precision ~]$ optirun nvidia-smi
[ 283.192025] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 283.192108] [ERROR]Aborting because fallback start is disabled.
[dell@precision ~]$ sudo bumblebeed -vv
[ 273.480286] [DEBUG]Found card: 01:00.0 (discrete)
[ 273.480293] [DEBUG]Found card: 00:02.0 (integrated)
[ 273.480294] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 273.480347] [INFO]Configured driver: nvidia
[ 273.480351] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 273.480403] [DEBUG]Process /sbin/modprobe started, PID 1887.
[ 273.480435] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 273.481280] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 273.481302] [DEBUG]bbswitch has been detected.
[ 273.481305] [INFO]Switching method 'bbswitch' is available and will be used.
[ 273.481307] [DEBUG]Active configuration:
[ 273.481308] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 273.481310] [DEBUG] X display: :8
[ 273.481311] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 273.481313] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 273.481314] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 273.481315] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 273.481317] [DEBUG] ModulePath: /usr/lib/nvidia/xorg,/usr/lib/xorg/modules
[ 273.481318] [DEBUG] GID name: bumblebee
[ 273.481320] [DEBUG] Power method: auto
[ 273.481321] [DEBUG] Stop X on exit: 1
[ 273.481322] [DEBUG] Driver: nvidia
[ 273.481324] [DEBUG] Driver module: nvidia
[ 273.481325] [DEBUG] Card shutdown state: 1
[ 273.481368] [DEBUG]Process /sbin/modprobe started, PID 1888.
[ 273.481439] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 273.482125] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 273.482134] [DEBUG]Configuration test passed.
[ 273.482234] [INFO]bumblebeed 3.2.1 started
[ 273.482255] [INFO]Initialization completed - now handling client requests
[ 283.191298] [DEBUG]Accepted new connection
[ 283.191773] [INFO]Switching dedicated card ON [bbswitch]
[ 283.191922] [ERROR]Could not enable discrete graphics card
[ 283.192168] [DEBUG]Socket closed.
I solved this problem about optirun, but it seems that I still can not use bbswitch. I tested the approximate battery life between the one with the GPU on and the one with the GPU disabled on my laptop. The change is so subtle that I don’t want to continue working on the bbswitch problem. I changed my kernel to 4.19-lts and all things done PS: The Nvidia GPU PWR Usage is 4W if it is idle.
But if you have a better solution, please tell me.
Last edited by czx (2019-04-22 09:10:09)
#2 2019-04-01 10:37:53
- Lone_Wolf
- Member
- From: Netherlands, Europe
- Registered: 2005-10-04
- Posts: 10,650
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Please use [ code ] tags for such listings, see https://wiki.archlinux.org/index.php/Co … uct#Forums
[ 273.480403] [DEBUG]Process /sbin/modprobe started, PID 1887.
[ 273.480435] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 273.481280] [DEBUG]SIGCHILD received, but wait failed with No child processes
post journalctl -b (will be big, use a pastebin client
lspci -k and xorg log may also be helpful
Last edited by Lone_Wolf (2019-04-01 10:38:09)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
#3 2019-04-01 12:58:57
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
/*This message is wrong so it is deleted*/
Last edited by czx (2019-04-02 10:16:38)
#4 2019-04-01 13:11:14
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
/* Useless Message */
Last edited by czx (2019-04-22 09:11:17)
#5 2019-04-02 06:27:48
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Lone_Wolf wrote:
Please use [ code ] tags for such listings, see https://wiki.archlinux.org/index.php/Co … uct#Forums
[ 273.480403] [DEBUG]Process /sbin/modprobe started, PID 1887. [ 273.480435] [DEBUG]Hiding stderr for execution of /sbin/modprobe [ 273.481280] [DEBUG]SIGCHILD received, but wait failed with No child processespost journalctl -b (will be big, use a pastebin client
lspci -k and xorg log may also be helpful
Now I have solved the problem that the NVIDIA and bbswitch modules can’t be found. I deleted linux-lts kernel and installed linux kernel.
But I still could not enable discrete graphics card.
Here is the new journalctl -b
and the new xorg log
Bumblebee log:
[dell@precision ~]$ sudo bumblebeed -vv
[sudo] password for dell:
[ 1763.235618] [DEBUG]Found card: 01:00.0 (discrete)
[ 1763.235624] [DEBUG]Found card: 00:02.0 (integrated)
[ 1763.235626] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1763.235749] [INFO]Configured driver: nvidia
[ 1763.235768] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 1763.235849] [DEBUG]Process /sbin/modprobe started, PID 1975.
[ 1763.235930] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1763.236695] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1763.236716] [DEBUG]bbswitch has been detected.
[ 1763.236718] [INFO]Switching method 'bbswitch' is available and will be used.
[ 1763.236720] [DEBUG]Active configuration:
[ 1763.236721] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1763.236723] [DEBUG] X display: :8
[ 1763.236724] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1763.236726] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1763.236727] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 1763.236728] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 1763.236730] [DEBUG] ModulePath: /usr/lib/nvidia/xorg,/usr/lib/xorg/modules
[ 1763.236731] [DEBUG] GID name: bumblebee
[ 1763.236733] [DEBUG] Power method: auto
[ 1763.236734] [DEBUG] Stop X on exit: 1
[ 1763.236735] [DEBUG] Driver: nvidia
[ 1763.236737] [DEBUG] Driver module: nvidia
[ 1763.236738] [DEBUG] Card shutdown state: 1
[ 1763.236783] [DEBUG]Process /sbin/modprobe started, PID 1976.
[ 1763.236838] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1763.237500] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1763.237508] [DEBUG]Configuration test passed.
[ 1763.237617] [INFO]bumblebeed 3.2.1 started
[ 1763.237639] [INFO]Initialization completed - now handling client requests
[ 1768.864279] [DEBUG]Accepted new connection
[ 1768.864596] [INFO]Switching dedicated card ON [bbswitch]
[ 1769.119365] [ERROR]Could not enable discrete graphics card
[ 1769.119541] [DEBUG]Socket closed.
Version:
Linux version 5.0.5-arch1-1-ARCH (builduser@heftig-17705) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Wed Mar 27 17:53:10 UTC 2019
Bumblebee Version:
[dell@precision ~]$ bumblebeed --version
bumblebeed (Bumblebee) 3.2.1
Copyright (C) 2011 The Bumblebee Project
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Last edited by czx (2019-04-22 09:12:28)
#6 2019-04-03 12:36:14
- Lone_Wolf
- Member
- From: Netherlands, Europe
- Registered: 2005-10-04
- Posts: 10,650
Re: [SOLVED]Could not enable discrete graphics card on laptop.
[ 5.757] (==) Using config file: "/etc/X11/xorg.conf"
Post the contents of that file, please.
The journalctl output is truncated, use SYSTEMD_LESS=FRXMK journalctl -b
Also, please stop running bumblebeed with sudo .
Is your user a member of the bumblebee group ?
Last edited by Lone_Wolf (2019-04-03 12:36:51)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
#7 2019-04-03 16:18:33
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Lone_Wolf wrote:
[ 5.757] (==) Using config file: "/etc/X11/xorg.conf"Post the contents of that file, please.
The journalctl output is truncated, use SYSTEMD_LESS=FRXMK journalctl -b
Also, please stop running bumblebeed with sudo .
Is your user a member of the bumblebee group ?
/etc/X11/xorg.conf
[dell@precision ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 418.56
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
[dell@precision ~]$
SYSTEMD_LESS=FRXMK journalctl -b
Yes I added my username to the bumblebee group by «sudo gpasswd -a dell bumblebee», but bumblebeed can not run without sudo here. (I have already rebooted)
[dell@precision ~]$ sudo gpasswd -a dell bumblebee
[sudo] password for dell:
Adding user dell to group bumblebee
[dell@precision ~]$ bumblebeed
[ 138.036055] [ERROR]Could not set the GID of bumblebee: Operation not permitted
[dell@precision ~]$
And these may helpful too.
[dell@precision ~]$ sudo modprobe bbswitch
[dell@precision ~]$ sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
[dell@precision ~]$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
[dell@precision ~]$ sudo pacman -Qs nvidia
local/bumblebee 3.2.1-20
NVIDIA Optimus support for Linux through VirtualGL
local/lib32-libvdpau 1.2-1
Nvidia VDPAU library
local/lib32-opencl-nvidia 418.56-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.2-1
Nvidia VDPAU library
local/libxnvctrl 418.56-1
NVIDIA NV-CONTROL X extension
local/nvidia 418.56-5
NVIDIA drivers for linux
local/nvidia-settings 418.56-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 418.56-1
NVIDIA drivers utilities
[dell@precision ~]$
#8 2019-04-03 16:23:26
- V1del
- Forum Moderator
- Registered: 2012-10-16
- Posts: 18,288
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Remove that xorg.conf nvidia-xconfig will always generate the wrong configuration. Enable the bumblebeed.service reboot, test functionality with optirun or primusrun (you are not supposed to run bumblebeed as your own user, it should already be started before trying things.)
#9 2019-04-03 16:28:50
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
V1del wrote:
Remove that xorg.conf nvidia-xconfig will always generate the wrong configuration. Enable the bumblebeed.service reboot, test functionality with optirun or primusrun (you are not supposed to run bumblebeed as your own user, it should already be started before trying things.)
Thank you for your advice.
I deleted the xorg.conf so now the /etc/X11/ is:
[dell@precision ~]$ ls /etc/X11
nvidia-xorg.conf.d xorg.conf.back xorg.conf.d
xinit xorg.confback1 xorg.conf.nvidia-xconfig-original
[dell@precision ~]$
And I have already enabled the bumblebeed.service by doing
sudo systemctl enable bumblebeed.service
But it still can’t run as before.
[dell@precision ~]$ optirun bash
[ 161.923297] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 161.923314] [ERROR]Aborting because fallback start is disabled.
[dell@precision ~]$ primusrun bash
bash: primusrun: command not found
[dell@precision ~]$
Last edited by czx (2019-04-03 16:30:50)
#10 2019-04-03 16:33:00
- V1del
- Forum Moderator
- Registered: 2012-10-16
- Posts: 18,288
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Are you actually in a xorg session there? Also try to optirun something that will actually try to use the GPU like glxgears
And post a dmesg after generating that error, and an updated xorg log.
Last edited by V1del (2019-04-03 16:33:51)
#11 2019-04-03 16:47:46
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
V1del wrote:
Are you actually in a xorg session there? Also try to optirun something that will actually try to use the GPU like glxgears
And post a dmesg after generating that error, and an updated xorg log.
Yes in xorg session.
xorg log
dmesg
#12 2019-04-03 17:38:32
- V1del
- Forum Moderator
- Registered: 2012-10-16
- Posts: 18,288
Re: [SOLVED]Could not enable discrete graphics card on laptop.
Looks like you are running into the general bbswitch/dell issues, I suggest you look through this extensive thread on the issue and the workarounds and solutions provided therein.
#13 2019-04-04 06:00:04
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
V1del wrote:
Looks like you are running into the general bbswitch/dell issues, I suggest you look through this extensive thread on the issue and the workarounds and solutions provided therein.
I followed the instructions one by one on it (the 2nd instructions which he regarded it as ‘better solution’), but I still can not use the GPU. The only change I’ve seen is that I cannot see the card in lspci. And the enableGpu.sh provided by him can not run properly on my computer too.
enableGpu.sh
[dell@precision ~]$ cat enableGpu.sh
#!/bin/sh
# allow to load nvidia module
mv /etc/modprobe.d/disable-nvidia.conf /etc/modprobe.d/disable-nvidia.conf.disable
# remove NVIDIA card (currently in power/control = auto)
echo -n 1 > /sys/bus/pci/devices/0000:01:00.0/remove
sleep 1
# change PCIe power control
echo -n on > /sys/bus/pci/devices/0000:00:01.0/power/control
sleep 1
# rescan for NVIDIA card (defaults to power/control = on)
echo -n 1 > /sys/bus/pci/rescan
modprobe nvidia
[dell@precision ~]$
And I can see the card in the lspci after reboot and without running the enableGpu.sh.
When I was trying to run it:
[dell@precision ~]$ ./enableGpu.sh
mv: cannot stat '/etc/modprobe.d/disable-nvidia.conf': No such file or directory
./enableGpu.sh: line 6: /sys/bus/pci/devices/0000:01:00.0/remove: No such file or directory
./enableGpu.sh: line 9: /sys/bus/pci/devices/0000:00:01.0/power/control: Permission denied
./enableGpu.sh: line 12: /sys/bus/pci/rescan: Permission denied
modprobe: ERROR: Error running install command for ipmi_devintf
modprobe: ERROR: could not insert 'nvidia': Operation not permitted
[dell@precision ~]$ sudo sh enableGpu.sh
mv: cannot stat '/etc/modprobe.d/disable-nvidia.conf': No such file or directory
enableGpu.sh: line 6: /sys/bus/pci/devices/0000:01:00.0/remove: No such file or directory
modprobe: ERROR: Error running install command for ipmi_devintf
modprobe: ERROR: could not insert 'nvidia': No such device
[dell@precision ~]$
And it seems that they can not find nvidia device, but I have already installed the driver. I also tried to install nvidia-beta and the result is the same.
[dell@precision ~]$ sudo pacman -Ql nvidia
nvidia /usr/
nvidia /usr/lib/
nvidia /usr/lib/modprobe.d/
nvidia /usr/lib/modprobe.d/nvidia.conf
nvidia /usr/lib/modules/
nvidia /usr/lib/modules/extramodules-ARCH/
nvidia /usr/lib/modules/extramodules-ARCH/nvidia-drm.ko.gz
nvidia /usr/lib/modules/extramodules-ARCH/nvidia-modeset.ko.gz
nvidia /usr/lib/modules/extramodules-ARCH/nvidia-uvm.ko.gz
nvidia /usr/lib/modules/extramodules-ARCH/nvidia.ko.gz
nvidia /usr/share/
nvidia /usr/share/licenses/
nvidia /usr/share/licenses/nvidia/
nvidia /usr/share/licenses/nvidia/LICENSE
[dell@precision ~]$ sudo pacman -Qs nvidia
local/bumblebee 3.2.1-20
NVIDIA Optimus support for Linux through VirtualGL[dell@precision ~]$ sudo pacman -Qs nvidia
[sudo] password for dell:
local/bumblebee 3.2.1-20
NVIDIA Optimus support for Linux through VirtualGL
local/lib32-libvdpau 1.2-1
Nvidia VDPAU library
local/lib32-opencl-nvidia 418.56-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.2-1
Nvidia VDPAU library
local/libxnvctrl 418.56-1
NVIDIA NV-CONTROL X extension
local/nvidia 418.56-5[dell@precision ~]$ sudo pacman -Qs nvidia
[sudo] password for dell:
local/bumblebee 3.2.1-20
NVIDIA Optimus support for Linux through VirtualGL
local/lib32-libvdpau 1.2-1
Nvidia VDPAU library
local/lib32-opencl-nvidia 418.56-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.2-1
Nvidia VDPAU library
local/libxnvctrl 418.56-1
NVIDIA NV-CONTROL X extension
local/nvidia 418.56-5
NVIDIA drivers for linux
local/nvidia-settings 418.56-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 418.56-1
NVIDIA drivers utilities
[dell@precision ~]$
NVIDIA drivers for linux
local/nvidia-settings 418.56-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 418.56-1
NVIDIA drivers utilities
[dell@precision ~]$
local/lib32-libvdpau 1.2-1
Nvidia VDPAU library
local/lib32-opencl-nvidia 418.56-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.2-1
Nvidia VDPAU library
local/nvidia 418.56-5
NVIDIA drivers for linux
local/nvidia-utils 418.56-1
NVIDIA drivers utilities
[dell@precision ~]$ sudo modprobe nvidia
modprobe: ERROR: Error running install command for ipmi_devintf
modprobe: ERROR: could not insert 'nvidia': No such device
[dell@precision ~]$
xorg log
journalctl -b
dmesg
Last edited by czx (2019-04-22 09:13:31)
#14 2019-04-08 10:01:03
- czx
- Member
- Registered: 2019-03-31
- Posts: 20
Re: [SOLVED]Could not enable discrete graphics card on laptop.
/*This message is wrong so it is deleted*/
Last edited by czx (2019-04-08 10:02:00)
Hi @bluca ,
Dell XPS 15 9560
gtx 1050 4gb
I added +iglx to /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf to make normal opengl apps work with intel. Could not run them before.
I installed nvidia-381 from the apt repos (no nvidia proprietary drivers install, even though I installed 378 by extracting the driver and patching it with a patch from the nvidia forums, https://devtalk.nvidia.com/default/topic/995429/linux/failed-installed-nvidia-with-kernel-4-10/). Before installing 378 from extracted and patched sources, I installed bumblebee-nvidia, which brought nvidia-304 and nvidia-current as dependencies. After I installed nvidia-378 from patched installer, i tried installing from apt repos, with no luck still. I tried upgrading the nvidia drivers to 381.
By installing the nvidia-381, apt said a lot of packages were going to be removed (including nvidia-current), I read that sometimes this was the issue. I will make another pastebin. https://pastebin.com/VDNqz13Z
This is the terminal output from apt. (apart from the subject, if you know how to solve the
/sbin/ldconfig.real: /usr/local/lib/libboost_math_tr1l.so.1.62.0 is not a symbolic link errors, I’ll send you a beer through paypal :)) )
I changed the bumblebee.conf to point to 381 drivers. Reboot. All works. What should I check for now ?
I tested runnning glxgears with and without optirun. bbswitch indicator is on when running with optirun, off when running without.
Thanks,
Daniel.
EDIT
As of today, this was fixed by the latest nvidia-current update 
Until last week i had a working bumblee/nvidia set up.
Now, when i do
optirun -vv firefox
I’m greeted by:
[ 6174.504548] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 6174.632794] [DEBUG]optirun version 3.0.1 starting...
[ 6174.632850] [DEBUG]Active configuration:
[ 6174.632861] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 6174.632872] [DEBUG] X display: :8
[ 6174.632883] [DEBUG] LD_LIBRARY_PATH:
[ 6174.632893] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 6174.632902] [DEBUG] VGL Compression: proxy
[ 6174.737261] [INFO]Response: No - error: Could not load GPU driver
[ 6174.737309] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 6174.737329] [DEBUG]Socket closed.
[ 6174.737365] [ERROR]Aborting because fallback start is disabled.
[ 6174.737379] [DEBUG]Killing all remaining processes.
dpkg -l | grep nvidia
ii bumblebee-nvidia 3.0.1-1~preciseppa1 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-common 1:0.2.44 Find obsolete NVIDIA drivers
ii nvidia-current 304.37-0ubuntu1~precise~xup1 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-current-updates 295.49-0ubuntu0.2 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings 302.17-0ubuntu1~precise~xup3 Tool of configuring the NVIDIA graphics driver
ii nvidia-settings-updates 295.33-0ubuntu1 Tool of configuring the NVIDIA graphics driver
I’ve seen some comments to the effect of deleting
10-nvidia-current-thinkpad-t420s.conf
but doing
ls /usr/share/X11/xorg.conf.d/
yields:
10-evdev.conf 11-evdev-trackpoint.conf 50-vmmouse.conf 51-synaptics-quirks.conf
11-evdev-quirks.conf 50-synaptics.conf 50-wacom.conf
Is there a way to fix this?
asked Aug 20, 2012 at 9:35
This is copied from github user ArchangeGabriel:
For your current issue, the fact is that the nvidia kernel module and driver have changed their name on Ubuntu in this new 304.22 version. So you have to edit (with sudo rights) /etc/bumblebee/bumblebee.conf and do the two followings things :
- Replace
Driver=byDriver=nvidia - Replace
KernelDriver=nvidia-currentbyKernelDriver=nvidia
Then reboot, and you should be fine for optirun.
//end quote.
So the answer suggested of editing KernelDriver is correct, but needs 1 extra step due to the name change. In likelihood you probably have nouveau kicking around somewhere on your system which is overriding the nvidia driver when bumblebee goes to autodetect (if Driver= is left blank it tries to autodetect with nouveau winning out where you actually want nvidia).
I had the same problem as you, tried this more-complete answer and now bumblebee / optirun work just fine. Hope it works for you, too.
Kalle Richter
5,78619 gold badges67 silver badges100 bronze badges
answered Aug 21, 2012 at 4:59
1
same problem. Renaming the drivers name solved the problem but
- I can’t access external monitors (I could just before last update). I don’t see them from the «displays» system setting
-
Running optirun -vv nvidia-settings rise the error that I’m not currently using nvidia X drivers and that I shoud run nvidia-xconfig. the -vv doesn’t show any error, full log is reported below
optirun -vv nvidia-settings [ 674.856470] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 674.856716] [INFO]Configured driver: nvidia [ 675.044903] [DEBUG]optirun version 3.0.1 starting... [ 675.044922] [DEBUG]Active configuration: [ 675.044925] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 675.044928] [DEBUG] X display: :8 [ 675.044930] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current [ 675.044933] [DEBUG] Socket path: /var/run/bumblebee.socket [ 675.044936] [DEBUG] VGL Compression: proxy [ 677.053609] [INFO]Response: Yes. X is active. [ 677.053623] [INFO]Running application through vglrun. [ 677.053851] [DEBUG]Process vglrun started, PID 4605.
* UPDATE *
Solved installing nvidia-current-updates
roslav
2682 silver badges16 bronze badges
answered Aug 21, 2012 at 8:11
2
@Bobjohnson thank you!
It worked for me (nvidia gforce 610m and Linux mint 13)
i just did
sudo nano /etc/bumblebee/bumblebee.conf- Replace the line
Driver=byDriver=nvidia - Replace the line
KernelDriver=nvidia-currentbyKernelDriver=nvidia - Then save, reboot and check with
optirun glxgears
Kalle Richter
5,78619 gold badges67 silver badges100 bronze badges
answered Aug 23, 2012 at 11:31
2
I had this problem too. It seems that nvidia module was renamed from nvidia-current to nvidia after recent updates. You need to edit file /etc/bumblebee/bumblebee.conf and change line:
KernelDriver=nvidia-current
to
KernelDriver=nvidia
Then restart computer or bumblebee, and optirun should work again.
I hope it helps. I have made few other changes, before it start working, so query if it didn’t work…
Kalle Richter
5,78619 gold badges67 silver badges100 bronze badges
answered Aug 20, 2012 at 12:06
3
Briefly describe your issue below:
I was following this documentation(https://docs.parrotlinux.org/info/gpu-drivers/) for installing proprietary Nvidia driver.
Issue: When I had test run with optirun glxgears I had no errors and it worked but when I followed whole documentation(yes I did create those files and appended the content that instructed) and reboot the system then I ran optirun glxgears I got this error.
____ $optirun -vv glxgears
[ 1356.734285] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1356.734992] [DEBUG]optirun version 3.2.1 starting...
[ 1356.734997] [DEBUG]Active configuration:
[ 1356.734999] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1356.735001] [DEBUG] X display: :8
[ 1356.735003] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 1356.735005] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1356.735007] [DEBUG] Accel/display bridge: auto
[ 1356.735009] [DEBUG] VGL Compression: proxy
[ 1356.735011] [DEBUG] VGLrun extra options:
[ 1356.735013] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1356.735099] [DEBUG]Using auto-detected bridge primus
[ 1356.735306] [INFO]Response: No - error: Could not enable discrete graphics card
[ 1356.735313] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 1356.735318] [DEBUG]Socket closed.
[ 1356.735347] [ERROR]Aborting because fallback start is disabled.
[ 1356.735351] [DEBUG]Killing all remaining processes.
What version of Parrot are you running?
Its fresh install of parrot and up to date.
Linux parrot 5.7.0-2parrot2-amd64 #1 SMP Debian 5.7.10-1parrot2 (2020-07-31) x86_64 GNU/Linux
If there are any error messages or relevant logs, post them below:
____ $sudo dmesg | grep bbswitch
[ 41.551342] bbswitch: version 0.8
[ 41.551353] bbswitch: Found integrated VGA device 0000:00:02.0: _SB_.PCI0.GFX0
[ 41.551367] bbswitch: Found discrete VGA device 0000:01:00.0: _SB_.PCI0.PEG0.PEGP
[ 41.551603] bbswitch: detected an Optimus _DSM function
[ 41.551807] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 41.553569] bbswitch: disabling discrete graphics
[ 352.141180] bbswitch: enabling discrete graphics
[ 930.208956] bbswitch: enabling discrete graphics
[ 1225.390955] bbswitch: enabling discrete graphics
[ 1350.309887] bbswitch: enabling discrete graphics
[ 1354.342766] bbswitch: enabling discrete graphics
[ 1356.747766] bbswitch: enabling discrete graphics
[ 2167.234057] bbswitch: enabling discrete graphics
[ 2186.187844] bbswitch: enabling discrete graphics
[ 2405.406211] bbswitch: enabling discrete graphics
.
______$ lspci -v
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])
DeviceName: Onboard - Video
Subsystem: Dell UHD Graphics 630 (Mobile)
Flags: bus master, fast devsel, latency 0, IRQ 127, IOMMU group 2
Memory at a2000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
.
______$ lspci -v
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: nvidia
I have also tried by writing in ‘/etc/bumblebee/bumblebee.conf’ file where «Driver=» placed «Driver=nvidia». Reboot the system. Still doesnt work.
UPDATE #1:
My laptop model is Dell G3 3579.
____ $optirun -vv glxgears -info
[ 471.923260] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 471.923960] [DEBUG]optirun version 3.2.1 starting...
[ 471.923980] [DEBUG]Active configuration:
[ 471.923982] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 471.923984] [DEBUG] X display: :8
[ 471.923986] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 471.923988] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 471.923990] [DEBUG] Accel/display bridge: auto
[ 471.923991] [DEBUG] VGL Compression: proxy
[ 471.923993] [DEBUG] VGLrun extra options:
[ 471.923995] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 471.924045] [DEBUG]Using auto-detected bridge primus
[ 471.924142] [INFO]Response: No - error: Could not enable discrete graphics card
[ 471.924146] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 471.924148] [DEBUG]Socket closed.
[ 471.924152] [ERROR]Aborting because fallback start is disabled.
[ 471.924155] [DEBUG]Killing all remaining processes.
Ошибка:
[spacecat@spacecat-x555sj ~]$ optirun glxgears -info
[ 1743.196005] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
Версия:
Linux version 5.4.192-1-MANJARO (builduser@fv-az42-323) (gcc version 11.2.0 (GCC)) 1 SMP PREEMPT Mon May 9 08:01:19 UTC 2022
Nvidia:
sudo pacman -Qs nvidia
[sudo] password for spacecat:
local/bumblebee 3.2.1-22
NVIDIA Optimus support for Linux through Primus/VirtualGL
local/egl-wayland 2:1.1.9+r3+g582b2d3-1
EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-1
Nvidia VDPAU library
local/lib32-nvidia-utils 510.68.02-1
NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia-390xx 390.147-2
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-1
Nvidia VDPAU library
local/libxnvctrl-390xx 390.147-1
NVIDIA NV-CONTROL X extension
local/linux54-nvidia-390xx 390.147-28 (linux54-extramodules)
NVIDIA drivers for linux.
local/mhwd-nvidia 510.68.02-1
MHWD module-ids for nvidia 510.68.02
local/mhwd-nvidia-390xx 390.147-6
MHWD module-ids for nvidia 390.147
local/mhwd-nvidia-470xx 470.103.01-1
MHWD module-ids for nvidia 470.103.01
local/nvidia-390xx-dkms 390.147-6
NVIDIA drivers - module sources
local/nvidia-390xx-utils 390.147-6
NVIDIA drivers utilities
local/opencl-nvidia-390xx 390.147-6
OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
Open Source 3D acceleration driver for nVidia cards
bumblebee
[spacecat@spacecat-x555sj ~]$ bumblebeed -vv
[ 260.390193] [DEBUG]Found card: 01:00.0 (discrete)
[ 260.390237] [DEBUG]Found card: 00:02.0 (integrated)
[ 260.390936] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 260.391128] [INFO]Configured driver: nvidia
[ 260.391151] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 260.391458] [DEBUG]successfully loaded bbswitch
[ 260.391484] [INFO]Switching method 'bbswitch' is available and will be used.
[ 260.391497] [DEBUG]Active configuration:
[ 260.391509] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 260.391521] [DEBUG] X display: :8
[ 260.391533] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 260.391544] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 260.391563] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 260.391575] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 260.391653] [DEBUG] Xorg binary: Xorg
[ 260.391700] [DEBUG] ModulePath: /usr/lib/nvidia/xorg,/usr/lib/xorg/modules
[ 260.391748] [DEBUG] GID name: bumblebee
[ 260.391794] [DEBUG] Power method: auto
[ 260.391841] [DEBUG] Stop X on exit: 1
[ 260.391887] [DEBUG] Driver: nvidia
[ 260.391935] [DEBUG] Driver module: nvidia
[ 260.391982] [DEBUG] Card shutdown state: 1
[ 260.392147] [DEBUG]Configuration test passed.
[ 260.397234] [ERROR]Could not set the GID of bumblebee: Operation not permitted
Я новичок в линуксе и не знаю, с какой стороны подступиться к проблеме
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.
- Печать
Страницы: 1 … 107 108 [109] 110 111 … 231 Вниз
Тема: nVidia Optimus (Гибридная графика nVidia + Intel) [Wiki] v2.0 (Прочитано 621498 раз)
0 Пользователей и 1 Гость просматривают эту тему.

SirEdvin
Добрый вечер.
Собственно говоря такая проблема:
После установки bumblebee никак не смог запустить optirun. Все время вылазить ошибка:
[ 889.303843] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 889.303925] [ERROR]Aborting because fallback start is disabled.
Кто-то может подсказать что делать или какой черной магией занятся?
Если нужно, настройки bumblebee:
Все решилось переустановкой. Оставлю на тот случай, если у кого-то будет такое же
« Последнее редактирование: 19 Октября 2013, 21:57:24 от SirEdvin »

balabonchick
всем здрасте.
кто подскажет в чем дело. поставил bumblebee
пытаюсь запустить любой процесс через optirun и получаю вот что:
[ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics cardэто с чем связано?
[ERROR]Aborting because fallback start is disabled.
кстати ноут acer aspire 5935g. видео intel & nvidia GeForce GT130M
в общем я так понял что это из-за того что технология Optimus не поддерживается моим барахлом…
так ведь?
« Последнее редактирование: 19 Октября 2013, 23:23:29 от balabonchick »

Vovii
Включите Universe и Multiverse репозитории в источниках (для доступа к пакетам bumblebee и Nvidia)
Ткните мордой ПЛЗ где это сделать?!
Lenovo B560 Проц i3, Хард 500, память 6 Га, Шитый кастомный BIOS.

Spect
Включите Universe и Multiverse репозитории в источниках (для доступа к пакетам bumblebee и Nvidia)
Ткните мордой ПЛЗ где это сделать?!
«Источники приложений», первая закладка «Программное обеспечение Ubuntu» читай названия и поставь галочки.
Ubuntu 16.04 LTS [x86-64]/i3-2100T/2*4G/1T HDD/Intel HD 2000
Hatsan Escort Aimguard Combo 12/76, 7+1

BolgenOS
Я перешел с 13 убунты на 12 LTC, так как 13.10 у меня начала лагать, но это уже другая история
Так вот, 12 Ubuntu мне предлагает обновить драйвера видеокарты (приложил картинку к сообщению), 13.04 и 13.10 не предлагали этого, но у меня NVidea 630M! По идеи Ubuntu не должна видеть моей видеокарты без bumblebee. Или я не прав?
Я поставил рекомендуемый драйвер, перезагрузился, все ок. Начал ставить bumblebee, перезагрузился, а bumblebee отказался работать. Попробовал установить bumblebee еще раз, перезагрузился, и при загрузке убунты вылетело окошко с ошибкой гласящее о ошибки видеообработке. Так как Ubuntu была только что поставлена, то я поставил ее еще раз пока пил чай, но вопросы остались — Стоит ли ставить предлагаемый драйвер системой? Можно ли, да и нужно ли будет потом ставить bumblebee?
У меня закралось впечатление, что Ubuntu предлагает поставить универсальный драйвер для всех видеокарт NVidea, но поскольку у меня M630 (Optimus), для запуска которого необходим bumblebee, то драйвер создает путаницу. Не знаю
Завтра попробую сделать бэкап системы и установить драйвер и bumblebee еще раз. Но вдруг кто-нибудь знает ответ
![]()

Spect
НЕ НАДО ставить драйвер.
Надо — ставить бумблеби.
А вот при установке бумблеби он там сам потянет нужный ему драйвер.. см. описалово.
Хм, а де там было — до установки удалить все драйвера, если они были.. Никки заменил описалово полностью.
См. самое начало, инструкцию.
Пользователь решил продолжить мысль 20 Октября 2013, 04:20:57:
Погодь до завтра, бо я чуть не год назад последний раз ставил 
« Последнее редактирование: 20 Октября 2013, 04:20:57 от Spect »
Ubuntu 16.04 LTS [x86-64]/i3-2100T/2*4G/1T HDD/Intel HD 2000
Hatsan Escort Aimguard Combo 12/76, 7+1

Vovii
Включите Universe и Multiverse репозитории в источниках (для доступа к пакетам bumblebee и Nvidia)
Ткните мордой ПЛЗ где это сделать?!«Источники приложений», первая закладка «Программное обеспечение Ubuntu» читай названия и поставь галочки.
нет такого меню…можно «по прямее ткнуть мордой»!
« Последнее редактирование: 20 Октября 2013, 04:52:21 от Vovii »
Lenovo B560 Проц i3, Хард 500, память 6 Га, Шитый кастомный BIOS.

Spect
Набери в терминале
gksu software-properties-gtkили в синаптике «настройки» «репозитории»
или в менеджере обновлений внизу слева кнопка «Настройки»
Ubuntu 16.04 LTS [x86-64]/i3-2100T/2*4G/1T HDD/Intel HD 2000
Hatsan Escort Aimguard Combo 12/76, 7+1

Vovii
gksu software-properties-gtk
Программа ‘gksu’ на данный момент не установлена. Вы можете установить её, выполнив:
…кривой манул… «чтож все в какашульки то тыкаете…сметана то где?»
Пользователь решил продолжить мысль 20 Октября 2013, 06:09:10:
ну ладно, установил….
таже хрень… у мня 13.10…ну не вижу я настроек репозитория….погуглил..говорят # снять нада в файле…залез по мануалу там все итак снято…
Старый мануал в шапке более четкий был, где, что , откуда и как..тепер хрень каккая-то….
« Последнее редактирование: 20 Октября 2013, 06:09:10 от Vovii »
Lenovo B560 Проц i3, Хард 500, память 6 Га, Шитый кастомный BIOS.

BolgenOS
НЕ НАДО ставить драйвер.
Надо — ставить бумблеби.
Спасибо! Так и сделаю

neon1ks
BolgenOS,
Попробуйте выполнить для начала все по стандартной инструкции. Мои комментарии для ubuntu 12.04.3:
1 — подключаем репозиторий ppa:bumblebee/stable
2 — по умолчанию уже все включено
3 — обновляем систему
4 — для того, чтобы установить пропретарные драйвера nvidia и bumblebee выполняем
sudo apt-get install bumblebee bumblebee-nvidiaДрайвера сами установятся, можно еще выполнить для подстраховки, но не обязательно
sudo apt-get install virtualgl linux-headers-generic-lts-raring5 — перезагрузка
Проверяем работу, если все работает, то можно по желанию сменить драйвера на другую версию.
Vovii,
Жалко, что куча полезной информации больше нету в мануале.
Новый мануал можно и правда покритиковать…
1) 2 пункт, например, все по умолчанию уже стоит, иногда только нужно перезагрузиться…
2) Про пакет bumblebee-nvidia сообщается не совсем понятно! Я бы написал так:
Если вы хотите использовать bumblebee и пропретарные драйвера nvidia, то необходимо установить еще bumblebee-nvidia
3) Про пакет virtualgl — раньше никогда его не устанавливали, и все работало замечательно. Зачем его устанавливать сейчас? В ubuntu нет такого пакета в стандартных репозиториях !!!
BolgenOS,
Посмотреть список всех доступных драйверов можно используя Synaptic
https://help.ubuntu.ru/wiki/synaptic
Или на сайте http://packages.ubuntu.com/search?suite=all§ion=all&arch=any&keywords=nvidia-&searchon=names но здесь необходимо в начале освоиться
В Synaptic’е ищем по запросу nvidia
И в результате в списке помимо других пакетов будут драйвера. Например в ubuntu 12.04.3,
nvidia-319 и nvidia-319-updates — оказывается это одни и те же драйвера 319.32
И чтобы окончательно вас запутать 

« Последнее редактирование: 20 Октября 2013, 13:33:51 от neon1ks »

Nikki1993
neon1ks,
Новый мануал можно и правда покритиковать…
никто этого не делает, но все жалуются что гайд неполноценным стал. Я жду от вас комментариев. Про объяснения я сам сказал, русский не мой язык. Если что-то как-то не так объяснено, пишите я поправлю.
Пакет VirtualGL описан в зависимостях bumblebee. Если вы смотрели внимательно, там 2 секции. Базовая, установка bumblebee со всеми зависимостями и установка для знающих, где все можно поставить отдельно. Я написал про пакет virtualGL потому что в одних версиях Ubuntu, bumblebee уже находится в репах, в других реп нужно подключать и так далее.

Nikki1993
Vovii,
Старый мануал в шапке более четкий был, где, что , откуда и как..тепер хрень каккая-то….
чем лучше? тем что там больше половины инфы было не нужно общей массе, что вызывало не нужное лазание в конфиги новичками и установки не нужного софта и как результат много вопросов почему ничего не работает? Я написал что гайд я еще допишу со своими мыслями. Я перевел новый гайд с сайта, фокусируясь только на установке шмеля для его работы. Ничего более. Чуть позже я верну только самые необходимые части, ез таких вешей как подключение через HDMI с Nvidia картой и так далее.

neon1ks
Nikki1993,
Я за новый 
Пакет VirtualGL описан в зависимостях bumblebee.
Я установил bumblebee в ubuntu 13.10 не устанавливая VirtualGL. VirtualGL не смог установить, т.к. его не было в стандартных репозиториях (Шаг 2 — все было подключено).
Только затем я стал искать способ установить VirtualGL.
« Последнее редактирование: 20 Октября 2013, 13:32:31 от neon1ks »

Spect
Nikki1993,
помнится, была фраза в начале мануала — перед установкой удалить (если были установлены) какие-либо драйвера. Или я что-то не так просмотрел сегодня ночью, не нашел. Предполагаю, надо упомянуть это.
Ubuntu 16.04 LTS [x86-64]/i3-2100T/2*4G/1T HDD/Intel HD 2000
Hatsan Escort Aimguard Combo 12/76, 7+1
- Печать
Страницы: 1 … 107 108 [109] 110 111 … 231 Вверх
I’m on Dell XPS 15 9570, running latest Tumbleweed.
I’ve tried the following ways of installing Nvidia, none of them worked:
I’ve tried it by adding the repo and installing G04, and G05, neither worked. I tried it with Bumblebee, didn’t work, I tried it with Bumblebee and optional installing Nvidia driver still didn’t work.
Here’s what i’m getting:
optirun <any-app>
Cannot access secondary GPU - error: Could not enable discrete graphics card
Aborting because fallback start is disabled.
modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
lspci -v
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel modules: nouveau, nvidia_drm, nvidia
dmesg | grep NVIDIA
[ 5.023644] nvidia: module license 'NVIDIA' taints kernel.
[ 5.907994] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5.907994] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 5.991291] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5.991291] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 7.865304] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 7.865304] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 7.990145] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 7.990145] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 491.689661] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 491.689661] NVRM: None of the NVIDIA graphics adapters were initialized!
dmesg | grep bbswitch
[ 4.674588] bbswitch: loading out-of-tree module taints kernel.
[ 4.674723] bbswitch: version 0.8
[ 4.674727] bbswitch: Found integrated VGA device 0000:00:02.0: _SB_.PCI0.GFX0
[ 4.674732] bbswitch: Found discrete VGA device 0000:01:00.0: _SB_.PCI0.PEG0.PEGP
[ 4.674817] bbswitch: detected an Optimus _DSM function
[ 4.674890] bbswitch: disabling discrete graphics
[ 4.726649] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off
[ 55.196731] bbswitch: enabling discrete graphics
[ 481.972768] bbswitch: enabling discrete graphics
[ 556.281585] bbswitch: enabling discrete graphics




