You are not logged in.
Hi,
I was using bumblebee and now I switched to optimus to have control over using intel or Nvidia GPU. I followed the advice in the wiki, an installed from the AUR optimus-manager, optimus-manager-qt and gdm-prime
When switching to Nvidia, I see no error, but the Nvidia driver and card are not used.
glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2)
...
systemctl status optimus-manager
● optimus-manager.service - Optimus Manager Commands Daemon
Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2019-11-01 15:53:53 WET; 49min ago
Main PID: 607 (python3)
Tasks: 1 (limit: 37855)
Memory: 34.6M
CGroup: /system.slice/optimus-manager.service
└─607 /usr/bin/python3 -u /usr/bin/optimus-manager-daemon
Nov 01 16:21:20 cthulhu python3[607]: "type": "switch"
Nov 01 16:21:20 cthulhu python3[607]: }
Nov 01 16:21:20 cthulhu python3[607]: Writing requested GPU mode intel
Nov 01 16:21:48 cthulhu python3[607]: Received command : {
Nov 01 16:21:48 cthulhu python3[607]: "args": {
Nov 01 16:21:48 cthulhu python3[607]: "mode": "nvidia"
Nov 01 16:21:48 cthulhu python3[607]: },
Nov 01 16:21:48 cthulhu python3[607]: "type": "switch"
Nov 01 16:21:48 cthulhu python3[607]: }
Nov 01 16:21:48 cthulhu python3[607]: Writing requested GPU mode nvidia
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
nvidia-smi
Fri Nov 1 16:47:27 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:01:00.0 Off | N/A |
| N/A 51C P0 N/A / N/A | 0MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Last edited by retogenes (2019-11-02 16:03:14)
Offline
Shot in the dark, but ensure GDM is configured to launch a xorg: https://wiki.archlinux.org/index.php/GD … rg_backend
Online
Great. I thought I had disabled Wayland, but I have just checked my /etc/gdm/custom.conf and it was not disabled... Thank you, V1del
edit: I still have minor problems: when changing mode, more often than GDM does not appear, and I instead see a black window with a blinking cursor. I have to change to a TTY (Ctrl+Alt+2) and then back (Ctr+Alt+1) for GDM to appear
Last edited by retogenes (2019-11-02 19:29:32)
Offline