Hi, I got a new Asus TUF A15 laptop, which comes with a Ryzen 7 4800H CPU and a RTX2060 GPU. I’ve succesfully installed video-hybrid-amd-nvidia-450xx-prime from mhwd. prime-run seems to work normally. However, I think the Nvidia card is wired to the HDMI port, and as such, I’m unable to get an external monitor to work. inxi output:
Additionnally, xrandr doesn’t detect a known working monitor connected to HDMI. This is also true for when I’m prime-running a program, such as firefox:
$ prime-run firefox && xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.00*+ 60.00
1680x1050 144.00
1280x1024 144.00
1440x900 144.00
1280x800 144.00
1280x720 144.00
1024x768 144.00
800x600 144.00
640x480 144.00
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected
DP-1-1 disconnected
Finally, glxinfo output and installed mhwd drivers:
$ prime-run glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.66
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 450.66
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.66
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-450xx-prime 2019.10.25 false PCI
video-nvidia-450xx 2019.10.25 false PCI
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
Any advice or suggestions would be greatly welcome!
Hi!
I have an asus fx505 with the same problem as you. I wasn’t able to make work the hdmi output with reverse prime. I was able to make it work with aptimus-switch-amd, depend of what DE are you using, you need to choose one of this links.
SDDM
https://github.com/dglt1/optimus-switch-amd-sddm
GDM
https://github.com/dglt1/optimus-switch-amd-gdm
LightDM
https://github.com/dglt1/optimus-switch
It’ll give you option to change between graphics card, use amd for a normal use, and nvidia when you need to game or use the hdmi output
@visone I’ve tried setting this up (optimus-switch-amd-sddm). It works perfectly in AMD mode. However switching to nvidia locks up the system after rebooting. Did you have to edit the acpi call in /etc/switch/amd/no-optimus.sh? (see https://github.com/dglt1/optimus-switch#usage).
Running the acpi call checking tool gives me:
$ sudo /etc/switch/gpu_switch_check.sh
Trying \_SB.PCI0.P0P1.VGA._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P2.VGA._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.OVGA.ATPX: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.OVGA.XTPX: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P3.PEGP._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P2.PEGP._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P1.PEGP._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.MXR0.MXM0._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG1.GFX0._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.GFX0.DOFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG1.GFX0.DOFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.PEGP._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.XVR0.Z01I.DGOF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEGR.GFX0._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG.VID._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.VID._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P2.DGPU._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P4.DGPU.DOFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.IXVE.IGPU.DGOF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.RP00.VGA._PS3: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.RP00.VGA.P3MO: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.GFX0.DSM._T_0: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.LPC.EC.PUBS._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P2.NVID._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.P0P2.VGA.PX02: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.PEGP.DGFX._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.VGA.PX02: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.PEGP.SGOF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.AGP.VGA.PX02: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.PEGP._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.RP01.PEGP._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.GFX0._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.RP01.PXSX._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG.VID._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.PEG0.PEGP._DSM: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.AGP.VGA.PX02: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.PEGP._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.RP01.PEGP._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.GFX0._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.RP01.PXSX._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG.VID._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.PEG0.PEGP._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.AGP.VGA.PX02._DSM_OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG0.PEGP._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.RP01.PEGP._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.GFX0._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.RP01.PXSX._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB.PCI0.PEG.VID._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Trying \_SB_.PCI0.PEG0.PEGP._DSM._OFF: /etc/switch/gpu_switch_check.sh: line 63: warning: command substitution: ignored null byte in input
failed
Resolved! Somehow HDMI started working with the default Manjaro video-hybrid-amd-nvidia-450xx-prime drivers. No need for optimus-switching. I suspect that rebooting with the monitor already plugged in did the trick.
Do you have an issue with screen flickering on the bottom left of your laptop display panel? I have this same system (2060/Ryzen 7 4800H) and on Kernel 5.8 I get a weird static/distortion/flicker on the bottom left of my laptop panel under any kernel higher than 5.7 right now.
Also, under the video-hybrid-amd-nvidia-450xx-prime driver, the FPS for any Vulkan application is locked to vsync (144 for internal panel, 60 for external display), whereas this is NOT the case for the 440 driver. Just curious if you have this issue as well.
alleviated the problem (I thought it was gone, but I just noticed there’s still a bit of flickering). As for the FPS locking, I must admit I didn’t notice. Please let me know if you find a solution!