Second monitor not working when using hybrid graphics (optimus)

CPU: Intel i7-8565U
GPU: Nvidia 1050Ti M
Monitors work if I'm using nvidia only but when using the hybrid option my external monitor gets no signal (HDMI).Screenshot_20200501_203701
Also, the desktop is laggy when I'm using nvidia compared to integrated (I don't know why).
External monitor doesn't appear when using xrandr but appears in nvidia settings.
Any help is appreciated!

Edit:Since I'm a newbie and I can't figure this out I'll just use PopOS until this whole hybrid graphic stuff gets fixed hopefully.I really like manjaro but not being able to use my dedicated gpu sucks.

Edit2:Same problem in PopOS.Guess it's a linux problem and not a distro problem.Will reinstall manjaro to tinker with it.

Edit3: Disabling hardware acceleration in my browser(brave) solved the lag issues. Using only the dedicated gpu from now on.

What drivers are you exactly using? Please provide inxi -Fxxxza --no-host and see also this post:

Regarding Optimus, this FAQ posts explains all options you have:

1 Like
  Kernel: 5.6.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64 
  root=UUID=c0a1dc29-a3cb-4752-81c1-93566f116afc rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.18.4 tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
  Type: Laptop System: HP product: HP Pavilion Laptop 15-cs1xxx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 
  serial: <filter> 
  Mobo: HP model: 856A v: 15.27 serial: <filter> UEFI: Insyde v: F.16 
  date: 03/25/2019 
  ID-1: BAT0 charge: 63.6 Wh condition: 63.6/63.6 Wh (100%) 
  volts: 17.2/15.4 model: HP Primary type: Li-ion serial: <filter> 
  status: Full 
  Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 8E (142) stepping: B (11) 
  microcode: CA L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 
  bogomips: 32012 
  Speed: 4033 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 4048 
  2: 4137 3: 4198 4: 4186 5: 4026 6: 3557 7: 4107 8: 4002 
  Vulnerabilities: Type: itlb_multihit status: KVM: Vulnerable 
  Type: l1tf status: Not affected 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  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 generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:3ea0 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] 
  vendor: Hewlett-Packard driver: nvidia v: 440.82 bus ID: 02:00.0 
  chip ID: 10de:1c8c 
  Display: x11 server: X.Org 1.20.8 driver: modesetting,nvidia 
  compositor: kwin_x11 resolution: 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 
  v: 4.6.0 NVIDIA 440.82 direct render: Yes 
  Device-1: Intel Cannon Point-LP High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  chip ID: 8086:9dc8 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 02:00.1 chip ID: 10de:0fb9 
  Sound Server: ALSA v: k5.6.7-1-MANJARO 
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi 
  v: kernel port: 5000 bus ID: 00:14.3 chip ID: 8086:9df0 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 
  bus ID: 04:00.0 chip ID: 10ec:8168 
  IF: eno1 state: down mac: <filter> 
  Local Storage: total: 476.94 GiB used: 8.29 GiB (1.7%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN520 SDAPNUW-512G-1006 size: 476.94 GiB block size: 
  physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 
  serial: <filter> rev: 20110006 scheme: GPT 
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 port: 5060 bus ID: 00:17.0 chip ID: 8086.282a rev: 30 
  ID-1: / raw size: 476.64 GiB size: 468.16 GiB (98.22%) 
  used: 8.29 GiB (1.8%) fs: ext4 dev: /dev/nvme0n1p2 
  System Temperatures: cpu: 78.0 C mobo: N/A gpu: nvidia temp: 63 C 
  Fan Speeds (RPM): N/A 
  Processes: 257 Uptime: 4m Memory: 15.53 GiB used: 1.38 GiB (8.9%) 
  Init: systemd v: 244 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.16 
  running in: konsole inxi: 3.0.37

this is in nvidia only mode

Edit: I was checking the optimus-manager wiki and found this
Not sure how to handle this.Maybe using an hdmi to usb adapter would help?

I guess you have a nvidia driver installed with the render-offload option enabled.

That depends on how the display adapters are routed in your laptop. The problem is this: In some case some of the external display connectors are wired to the nvidia chip. Thus, the nvidia card has to be active in order to drive these outputs. AFAIK the proprietary nvidia driver does not allow Reverse Prime with the intel one being the primary renderer. And I have no experience with the render-offload of the newer nvidia drivers, as my card is to old for that, but from what I have heard so far it does not seem to work very well.

Before you start messing with the drivers is a good point for a backup btw.

I suggest you try a setup following the linked prime tutorial (second option of the FAQ) and setup reverse-prime or you use optimus-switch, but make sure that you follow the sddm-guide, if you still want to be able to switch. However, the external monitor will only work in the nvidia mode. You can also try using nouveau as the 1050 is a Pascal card (NV130) and according to the feature matrix of nouveau the free driver seems to work for the most parts: But I don't know how well it actually works


as @firefightux mentioned you'll only be able to use the external display from nvidia mode. your video output is wired directly to the nvidia gpu, i know this because it's the only way you would be able to see the option for G-sync in nvidia settings since gsync requires direct access between monitor/gpu.

the reason "hybrid" (render offload prime) wont work is because render offload uses the intel gpu for everything unless you launch a game/app with prime-run or equivalent variables.

if you ask me, your lucky to have this setup if not for the external g-sync display capability but also for better performance.

however, if your laptop has a usb-c port with display capability then that might be wired to the intel gpu and so you would be able to use the "hybrid" option and still have external display capability.


Thanks for the information!

1 Like

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

Forum kindly sponsored by