Greetings! I have installed nvidia-amd hybrid driver by mhwd, but I can’t make it work with prime-run.
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime 2020.11.30 false PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
nvidia-smi
Fri Jan 22 16:11:12 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| 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 GeForce GTX 106... Off | 00000000:04:00.0 Off | N/A |
| 0% 57C P5 16W / 120W | 0MiB / 6078MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
inxi -Fazy
System:
Kernel: 5.4.89-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64
root=UUID=5bc6d794-d757-4e08-815d-ef80f9bd2cd6 rw quiet apparmor=1
security=apparmor resume=UUID=f7077067-d7cb-4d9a-a30e-1b30720bffd2
udev.log_priority=3 acpi_backlight=vendor
Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM
Distro: Manjaro Linux
CPU:
Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen/Zen+ note: check family: 17 (23)
model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 33549
Speed: 399 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz):
1: 400 2: 407 3: 410 4: 405 5: 400 6: 401 7: 419 8: 407
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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 AMD retpoline, IBPB: conditional, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP104 [GeForce GTX 1060 6GB] vendor: Micro-Star MSI
driver: nvidia v: 460.32.03 alternate: nouveau,nvidia_drm bus ID: 04:00.0
chip ID: 10de:1b83
Device-2: AMD Picasso vendor: Acer Incorporated ALI driver: amdgpu v: kernel
bus ID: 05:00.0 chip ID: 1002:15d8
Device-3: Quanta VGA WebCam type: USB driver: uvcvideo bus ID: 1-1:2
chip ID: 0408:a031 serial: <filter>
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver:
loaded: amdgpu display ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6")
diag: 394mm (15.5")
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.35.0
5.4.89-1-MANJARO LLVM 11.0.1)
v: 4.6 Mesa 20.3.3 direct render: Yes
But I get this:
prime-run glxinfo | grep vendor
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 39
Current serial number in output stream: 40
What should I do else?