nvidia optimus
Posted: Sat Dec 18, 2021 10:06 am
This is a relatively new MX-21 Fluxbox installation, reusing my previous home folder from MX-19.
I installed nvidia drivers with mx-tools, then bumblebee and bumblebee-nvidia.
That the driver is not loaded should be because of bumblebee, right?
But with optirun I still can't open settings.
Same if I try to run anything with optirun, not just the settings. What am I supposed to do to use the secondary card?
Code: Select all
System: Host: <filter> Kernel: 5.10.0-9-amd64 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-9-amd64
root=UUID=<filter> ro quiet splash
Desktop: Fluxbox 1.3.7 info: tint2, polybar dm: LightDM 1.26.0
Distro: MX-21_fluxbox_x64 Wildflower Oct 20 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Dell product: G3 3779 v: N/A serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: Dell model: 0NY03M v: A00 serial: <filter> UEFI: Dell v: 1.18.0
date: 09/22/2021
Battery: ID-1: BAT0 charge: 36.3 Wh condition: 36.3/56.0 Wh (65%) volts: 16.8/15.2
model: BYD DELL 7FHHV86 type: Li-ion serial: <filter> status: Full
CPU: Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP arch: Kaby Lake
family: 6 model-id: 9E (158) stepping: A (10) microcode: EA L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799
Speed: 1217 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 1278 2: 1398 3: 1393
4: 1398 5: 1366 6: 1333 7: 1398 8: 1395
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: N/A bus ID: 01:00.0
chip ID: 10de:1c8d
Display: x11 server: X.Org 1.20.11 driver: intel compositor: compton v: 1
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.5
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel
bus ID: 00:1f.3 chip ID: 8086:a348
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:0fb9
Sound Server: ALSA v: k5.10.0-9-amd64
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel
port: 5000 bus ID: 00:14.3 chip ID: 8086:a370
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell
driver: r8169 v: kernel port: 3000 bus ID: 02:00.0 chip ID: 10ec:8168
IF: eth0 state: down mac: <filter>
Drives: Local Storage: total: 1.03 TiB used: 60.99 GiB (5.8%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB block size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter>
rev: SDM3 scheme: GPT
ID-2: /dev/sdb vendor: SK Hynix model: SC311 SATA 128GB size: 119.24 GiB block size:
physical: 4096 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 0P10
scheme: GPT
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0
port: 5060 bus ID: 00:17.0 chip ID: 8086.282a rev: 10
Partition: ID-1: / raw size: 39.90 GiB size: 38.98 GiB (97.69%) used: 6.94 GiB (17.8%) fs: ext4
dev: /dev/sda5
ID-2: /home raw size: 98.79 GiB size: 96.74 GiB (97.92%) used: 49.20 GiB (50.9%)
fs: ext4 dev: /dev/sda6
ID-3: swap-1 size: 8.01 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/sda7
Sensors: System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.units.it/mxlinux/mx/repo/ bullseye main non-free
Info: Processes: 232 Uptime: 11m Memory: 7.63 GiB used: 1.48 GiB (19.4%) Init: SysVinit
v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 clang: 11.0.1-2
Shell: quick-system-in running in: quick-system-in inxi: 3.0.36
Code: Select all
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
But with optirun I still can't open settings.
Code: Select all
$ optirun nvidia-settings
[ 963.884950] [ERROR]No bridge found. Try installing primus or virtualgl.
$ optirun -b none nvidia-settings -c :8
[ 986.886349] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[ 986.886402] [ERROR]Aborting because fallback start is disabled.