AMD/Nvidia hybrid user needs help regarding display driver

Hi, I just completely switched from windows and have been using linux manjaro for a week, been playing dota for a week but have been getting below 20-50 FPS on lowest quality as I am using my built-in AMD Vega 8 GPU.

I tried installing nvidia-390xx from mhwd, but lightdm will always fail to start and I have to uninstall nvidia-390xx again to be able to get into DE.

Here is my inxi -Fxza --no-host:

  Kernel: 5.4.85-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=cf402b89-fabe-4ac9-9cba-6dd92e3e833a rw quiet 
  acpi_backlight=none apparmor=1 security=apparmor 
  resume=UUID=fcca9233-f193-40a8-acd8-e49937320513 udev.log_priority=3 
  Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X570ZD_F570ZD 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: X570ZD v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: X570ZD.310 date: 07/04/2019 
  ID-1: BAT0 charge: 41.3 Wh condition: 41.3/48.1 Wh (86%) volts: 11.7/11.7 
  model: ASUSTeK ASUS Battery type: Li-ion serial: N/A status: Not charging 
  cycles: 173 
  Info: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 11 (17) 
  stepping: N/A microcode: 810100B L2 cache: 2 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 31948 
  Speed: 1370 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz): 
  1: 1370 2: 1413 3: 1394 4: 1371 5: 1457 6: 1594 7: 1369 8: 1379 
  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 
  Device-1: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK 
  driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1c8d 
  Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] 
  vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 04:00.0 
  chip ID: 1002:15dd 
  Device-3: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo 
  bus ID: 3-2.2:7 chip ID: 13d3:5a05 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 driver: amdgpu,ati,nouveau 
  unloaded: modesetting alternate: fbdev,nv,vesa display ID: :0.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.85-1-MANJARO LLVM 11.0.0) 
  v: 4.6 Mesa 20.3.1 direct render: Yes 
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus ID: 04:00.1 chip ID: 1002:15de 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Device-3: C-Media SADES Wolfang type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-4:4 chip ID: 0d8c:0012 
  Sound Server: ALSA v: k5.4.85-1-MANJARO 
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: f000 
  bus ID: 02:00.0 chip ID: 8086:24fd 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8168 v: 8.048.03-NAPI modules: r8169 port: e000 
  bus ID: 03:00.0 chip ID: 10ec:8168 
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Local Storage: total: 238.47 GiB used: 65.48 GiB (27.5%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: V-Gen model: 07SM20AR256SDK 256GB 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B 
  speed: 6.0 Gb/s serial: <filter> rev: 7B0 
  ID-1: / raw size: 229.37 GiB size: 224.77 GiB (97.99%) 
  used: 65.48 GiB (29.1%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda3 maj-min: 8:3 
  System Temperatures: cpu: 54.4 C mobo: N/A 
  Fan Speeds (RPM): cpu: 2600 
  GPU: device: amdgpu temp: 54.0 C device: nouveau temp: 40.0 C 
  Processes: 226 Uptime: 34m wakeups: 1 Memory: 6.8 GiB 
  used: 2.19 GiB (32.2%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
  Packages: 1170 pacman: 1160 lib: 371 flatpak: 7 snap: 3 Shell: Bash 
  v: 5.1.0 running in: xfce4-terminal inxi: 3.2.01 

and my mhwd -li:

                  NAME               VERSION          FREEDRIVER           TYPE
         network-r8168            2016.04.20                true            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI

Warning: No installed USB configs!

I do not know how to make my Nvidia 1050 mobile GPU to be working, and needed help.
Do note also that my function keys for display brightness does not work and I need to right-click my battery manager to change my brightness.

Any sort of help is appreciated, Thanks!

For that gpu combo you need the amd/nvidia hybrid drivers, i have the same laptop and works just fine with those drivers

1 Like

To check what drivers are available

mhwd -l

Then install as suggested above the appropriate hybrid profile it should setup it properly. Maybe simply using the automatic install should also work:

sudo mhwd -a pci nonfree 0300
1 Like

You probably need to reinstall mhwd-db, this should work:

sudo pacman -S mhwd-db
sudo mhwd -a pci nonfree 0300
1 Like

Alright, I am able to install my drivers with no problems, and lightdm works just fine using:

sudo mhwd -a pci nonfree 0300

Finally my GPU is able to work well, thanks for the replies all!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.