Siduction Forum
Siduction Forum => Hardware - Support => Topic started by: Pergola on 2022/04/20, 23:38:51
-
Hallo zusammen,
ich habe früher Bumblebee genutzt und bräuchte es jetzt nach etwas längerer Zeit wieder.
inxi -G
Graphics:
Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM206M [GeForce GTX 965M] driver: N/A [attachment id=0 msg=68739]
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
unloaded: vesa gpu: i915 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.3.8
Es kommt aber zu diversen Problemen:
optirun glxheads
[ 720.696418] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 720.696440] [ERROR]Aborting because fallback start is disabled.
primusrun glxheads
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver
sudo systemctl restart bumblebeed.service
sudo systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-04-20 23:25:24 CEST; 1s ago
Main PID: 174077 (bumblebeed)
Tasks: 1 (limit: 38235)
Memory: 640.0K
CPU: 4ms
CGroup: /system.slice/bumblebeed.service
└─174077 /usr/sbin/bumblebeed
Apr 20 23:25:24 laptop systemd[1]: Started Bumblebee C Daemon.
Apr 20 23:25:24 laptop bumblebeed[174077]: [ 823.885640] [ERROR]Module 'bbswitch' not found.
Apr 20 23:25:24 laptop bumblebeed[174077]: [ 823.885652] [WARN]No switching method available. The dedicated card will always be on.
Apr 20 23:25:24 laptop bumblebeed[174077]: [ 823.885894] [INFO]/usr/sbin/bumblebeed 3.2.1 started
bbswitch-dkms ist aber installiert.
Ich habe schon mehrfach diverse Pakete neu installiert und Konfigurationsdateien verändert, ohne Erfolg. Mittlerweile wäre ich schon mit immer laufender Nvidiakarte zufrieden, das scheint aber auch nicht zu funktionieren (muss ich dafür wieder eine xorg anlegen?): Wenn ich update-alternatives --config glx auf Nvidia stelle, scheint immer noch die Intelkarte aktiv zu sein:
glxheads
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
glxheads xdisplayname ...
Example:
glxheads :0 mars:0 venus:1
Name: :0
Display: 0x5605c761b190
Window: 0x3c00002
Context: 0x5605c7652250
GL_VERSION: 4.6 (Compatibility Profile) Mesa 21.3.8
GL_VENDOR: Intel
GL_RENDERER: Mesa Intel(R) HD Graphics 530 (SKL GT2)
Kann mir bitte jemand weiterhelfen?
-
Ich meine mich zu erinnern, dass sich bei Nvidia und Prime einiges geändert hat. Die Schritte ausm Debian Wiki hast du schon durch? Also, alles mal wegwerfen und frisch installieren?
https://wiki.debian.org/Bumblebee#debian11
-
Ja... aber was interessant ist: Ich bin das gerade noch einmal alles durchgegangen und hatte davor auch alles mit bbswitch entfernt. Nun bin ich zumindest einen Teil der Fehler los:
sudo systemctl restart bumblebeed.service
sudo systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-04-21 09:42:52 CEST; 2s ago
Main PID: 11633 (bumblebeed)
Tasks: 1 (limit: 38235)
Memory: 632.0K
Das sieht ja soweit ganz gut aus? Allerdings führt primusrun glxheads immer noch zu
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver
Der Nvidiatreiber scheint nicht geladen zu werden:
inxi -G
Graphics:
Device-1: Intel HD Graphics 530 driver: i915 v: kernel
Device-2: NVIDIA GM206M [GeForce GTX 965M] [color=red]driver: N/A[/color]
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
unloaded: vesa gpu: i915 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.3.8
nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206M [GeForce GTX 965M] [10de:1427] (rev a1)
Checking card: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 470 drivers series.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
nvidia-driver
package.
-> das Paket ist installiert.
nvidia-modprobe bewirkt auch nichts...
-
Es funktioniert jetzt... halbwegs... ich kann z.B. primusrun glxheads starten. Ich glaube, das Problem lag darin, dass in /etc/modprobe.d in einer Blacklistdatei nvidia mit drinstand.
Allerdings will nvidia-settings noch nicht:
ERROR: Unable to load info from any available system
nvidia-smi
Thu Apr 21 15:29:13 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.103.01 Driver Version: 470.103.01 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 Off | N/A |
| N/A 58C P8 N/A / N/A | 6MiB / 4043MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 876639 G ...ows\system32\explorer.exe 2MiB |
+-----------------------------------------------------------------------------+