[solved] Problems to configure second screen with NVIDIA drivers

Hello, I installed this new HP Omen 15 notebook with Manjaro Gnome. Everything seems working fine from the first installation, until I tried to connect it to a second screen by HDMI. In gnome-control-center detects the external monitor, but when I tried to apply Join Displays, it returns to Single display.

I tried with noueveau drivers, but I need nvidia GPU for blender and other apps that didn’t detect the card with Noueveau. I tried to uninstall hybrid drivers and only use nvidia ones, and then works for the external monitor, but not for the internal screen.

So maybe it’s only a configuration that I can’t found. This is the result of inxi command:

inxi --admin --verbosity=7 --filter --no-host --width
  Kernel: 5.10.26-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=679102ee-fd58-49d7-a9df-9b37b3eac85c rw quiet splash apparmor=1 
  security=apparmor resume=UUID=79bb137d-2f6a-48e6-bc60-a430e1031785 
  udev.log_priority=3 acpi_backlight=native 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.28 wm: gnome-shell dm: GDM 3.38.2.1 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: HP product: OMEN Laptop 15-en0xxx v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 8786 v: 22.26 serial: <filter> UEFI: AMI v: F.02 
  date: 05/11/2020 
Battery:
  ID-1: BAT0 charge: 66.5 Wh (98.8%) condition: 67.3/67.3 Wh (100.0%) 
  volts: 13.2 min: 11.6 model: Hewlett-Packard Primary type: Li-ion 
  serial: N/A status: Charging cycles: 605 
Memory:
  RAM: total: 7.2 GiB used: 2.06 GiB (28.6%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1 
  microcode: 8600103 cache: L2: 4 MiB bogomips: 92661 
  Speed: 1397 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1400 4: 1396 5: 1397 6: 1397 7: 1398 8: 1397 9: 1397 
  10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1400 16: 1397 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm 
  lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx 
  nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter 
  pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni 
  popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni 
  skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor 
  svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload vgif 
  vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 
  xsaves 
  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, IBRS_FW, 
  STIBP: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Hewlett-Packard 
  driver: nvidia v: 460.67 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:2191 class-ID: 0300 
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300 
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera 
  type: USB driver: uvcvideo bus-ID: 3-3:2 chip-ID: 05c8:03df class-ID: 0e02 
  Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: 
  loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau 
  alternate: fbdev,nv,vesa resolution: <missing: xdpyinfo> 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.26-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.1 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/FireFlight/Renoir Audio Processor 
  vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel 
  alternate: snd_pci_acp3x bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480 
  Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 06:00.6 chip-ID: 1022:15e3 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.26-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.24 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus-ID: 02:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: eno1 state: down mac: <filter> 
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: e000 
  bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlo1 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:3 
  chip-ID: 8087:0029 class-ID: e001 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 476.94 GiB used: 16.34 GiB (3.4%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HBJQ-000H1 
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: HPS0NEXF temp: 35.9 C 
  scheme: GPT 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw-size: 333.99 GiB size: 327.68 GiB (98.11%) 
  used: 16.28 GiB (5.0%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 
  label: N/A uuid: 679102ee-fd58-49d7-a9df-9b37b3eac85c 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
  used: 62 MiB (24.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: SYSTEM uuid: 06E5-0131 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A 
  uuid: 79bb137d-2f6a-48e6-bc60-a430e1031785 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 134.34 GiB fs: ntfs label: Windows 
  uuid: D8AE0643AE061B20 
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 541 MiB fs: ntfs label: N/A 
  uuid: 6C62965A6296293A 
USB:
  Hub-1: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-3:2 
  info: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera 
  type: Video driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s 
  power: 500mA chip-ID: 05c8:03df class-ID: 0e02 
  Device-2: 3-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Hub-2: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 5-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 5-1:2 info: Logitech USB Receiver type: Keyboard,Mouse,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 98mA 
  chip-ID: 046d:c53d class-ID: 0300 
  Device-2: 5-2:3 info: Holtek Wireless keyboard and mouse 
  type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0 
  speed: 1.5 Mb/s power: 98mA chip-ID: 1a81:1006 class-ID: 0301 
  Hub-4: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 62.8 C mobo: N/A gpu: amdgpu temp: 42.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 375 Uptime: 5m wakeups: 2 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: pacman: 1322 lib: 418 flatpak: 0 Shell: Zsh 
  v: 5.8 running-in: gnome-terminal inxi: 3.3.03 

Thanks for any directions!

I have a hybrid nvidia and intel, when I connect via hdmi it switches on the nvidia driver and uses the intel on my laptop. Seems to me that you may want to have nvidia drivers installed so that one screens uses the nvidia and the other the amd gpu. Else the hdmi will appear black.

I have absolutely no experience with AMD. Maybe you need to install the correct driver for that gpu? Nvidia seems ok with 460x. As I recall amd maybe integrated in the kernel.

I would check whether this amd gpu is supported by your current kernel or needs a newer or perhaps older lts.

Edit: manjaro has a easy gui tool to try/install another kernel. Needs a reboot after install though. I also like to mention that I often saw problems on linux forum with HP and their dual gpu, something with the vendor bios that makes our life a bit more difficult on linux…

Edit2: saw that you posted on this thread

Did you try install the dual gpu driver as mentioned there via terminal?

This is know issue. As per NVIDIA documentation:

The NVIDIA driver currently cannot be used as an output sink when the output source driver is xf86-video-amdgpu.

See this thread for more information.

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