Article 5CN0P Can't connect a second monitor through HDMI

Can't connect a second monitor through HDMI

by
MeinzBeur
from LinuxQuestions.org on (#5CN0P)
Hei everyone,
I know such issues have already been posted in many places before, but no forum thread could solve my issue.

The title says most of it: I can't connect a monitor to my laptop using the HDMI port.

My laptop: ACER aspire V nitro. Intel Core i7 and a GeForce GTX 960M graphic card (the NVIDIA card is being used all the time, not the Intel integrated graphics). I do not have any other video port than the HDMI.
I run pop os 20.10, but I had the same issue before when I had ubuntu (since 5 years more or less).

If I run xrandr with the monitor connected, I get this output:
Code:DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)I did not include the part about my eDP-1-1 primary screen. First question here: Why are there 2 HDMI output?

I have used many times the add mode in xrandr:
Code:]xrandr --addmode HDMI-1-1 "1920x1080"
xrandr --output HDMI-1-1 --mode 1920x1080That did the job many times for external monitors and beamers, but:
* It is not permanent (I know), but it also disconnect the screen when the computer goes to sleep after 10 mins. Pretty annoying.
* If I change the code to place the monitor "to the right" rather than a duplicate of the main screen it does not work. Well, it appears, but it is not usable due to many glitches.
* I just bought an Acer Predator XB241 monitor. With this monitor xrandr does not work at all... no idea why.

So I did look a bit around for solutions. There are 2 solutions here that seemed interesting:
https://www.dell.com/community/Preci.../7286631#M1634
https://forums.developer.nvidia.com/...-display/79577
However I can't get to try them cause I do not have the files they speak about. One reason may be that with pop os I actually do not have NVIDIA prime, but a pop os power control alternative as default. So I tried to install NVIDIA prime (removing the pop os power control utility), which led to my computer not being able to boot at all... I had to go in the grub and fix my pop os installation.

So right now I do not know what to do... I would like to get my laptop to recognise automatically the external monitors, without using xrandr each time.
Thanks for the help.latest?d=yIl2AUoC8zA latest?i=q1sA4P0Bwwo:A5IEGV7kgSc:F7zBnMy latest?i=q1sA4P0Bwwo:A5IEGV7kgSc:V_sGLiP latest?d=qj6IDK7rITs latest?i=q1sA4P0Bwwo:A5IEGV7kgSc:gIN9vFwq1sA4P0Bwwo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments