Not much, and as I said in the other comment the cable works fine on windows, so it doesn't seem like a cable issue or it's a linux specific cable issue, is it even possible?
No, that is not a thing... idk does this happen even in bios?
Edit: what happens if you do like alt+ ctrl+f2
Edit: 2 does the display on your laptop mirror or switch, or extend this display? Did it ever work before? Edit 3: what DE are you using?
It has indeed two GPUs, from what I gathered it seems like both outputs are wired on the Intel one. On the video I had nvidia drivers running with nvidia-prime. I get the same thing without nvidia/nouveau driver installed and with optimus-manager.
Try this if you ruled out the possibility of a bad cable, or a bad xrandr or xsetup file.
Somewhere in the comments I think I saw that you run nvidia, I presume with intel igpu (optimus). If you are up to it, try to follow this guide here, it's my go-to for nvidia installations (don't mind that it's for manjaro): https://forum.manjaro.org/t/howto-set-up-prime-with-nvidia-proprietary-driver/40225 (open a tty on boot, or use only one monitor, whatever gets you in the system). When it tells you to install nvidia drivers through the manjaro tools, just install them with the tools of your choice, or directly by downloading the correct drivers from the site. In the steps that it tells you to remove some files, you may not have those files, but some similar ones, or none at all. Don't proceed to remove anything you are not comfortable with, just move them temporarily in a directory (ex. a folder in your Desktop), until you fix the thing and then feel free to remove them completely.
Lastly, just sharing my opinion, messing with boot flags should be your "last" resort, since you really need to know what you're doing when you mess with those. Sure, it probably won't cause any harm at all, but setting unnecessary flags could criple your performance for no reason, other than a "quick" way to "patch" things. Always try to find the root cause of the problem, then if it is kernel incompatibilities try boot flags.
Happy problem solving, hope yours get fixed soon! ^^
Thanks for the detailed answer, I read the guide and this is pretty much my current config except from the auto start command, which I was running manually. I'll try to do the same just in case.
If this doesn't help, I would try to boot with just internal monitor, then use arandr (or xrandr if you're comfortable) to set up the dual monitors. If it works like this, but not automatically on boot, it probably means that your display manager and your window manager don't communicate well. As it is also the case with my machine (sddm+kde) I solved it by removing kscreen2 (the kde utility responsible for monitor switching) and manually adding a simple xrandr script on sddm's xsetup to handle monitor switching. If this is indeed your case, I'd gladly help, but I'll refrain from getting into too much details in this comment, since I end up with walls of text :p
Is it the mouse that we can still see when it looks like there is no outup? What DE are you running? Try disabling it at boot and reboot. It could be a xorg/de issue
From what I've read you are using a laptop that has both an Intel igpu and an nvidia discrete GPU. From what I've seen this can make using external displays kind of buggy. Personally I've never been able to get it to work.
With prime configured to use nvidia, by setting refresh rate at 60hz instead of 144hz in the on-screen configuration and by creating a custom modeline at a lower refresh rate: 29.94Hz I got it nearly working:
I get a pclk at 312.25Mhz which is over 300000KHz this might be why I don't get the image. Thing is my hdmi port version (1.4b) should handle superior frequencies.
Where in Gnome sry no clue but you can try disable the eco mode directly in the monitor settings (button can be found left down corner on the back) than navigate to “system”
I have the same problem. I’m running XFCE4 on latest kernel. I don’t use a desktop manager so I start my X session by typing “exec startxfce4” the screen blinks exactly like this. This happened after a kernel update.
I tried using the lts-kernel but the problem persists. Zen is no better. I was able to get it perfectly working after setting up Gnome3 and using that instead.
My suggestion is,try using a different DE till this problem is fixed
52 comments
HDMI cables sometimes go bad, what happens when you wiggle it?
Not much, and as I said in the other comment the cable works fine on windows, so it doesn't seem like a cable issue or it's a linux specific cable issue, is it even possible?
No, that is not a thing... idk does this happen even in bios? Edit: what happens if you do like alt+ ctrl+f2 Edit: 2 does the display on your laptop mirror or switch, or extend this display? Did it ever work before? Edit 3: what DE are you using?
Does your laptop have two GPUs?
My assumption is you have two GPUs, you’re only using the intel one, and if you switch to the nvidia or AMD GPU, it’ll work just fine.
It has indeed two GPUs, from what I gathered it seems like both outputs are wired on the Intel one. On the video I had nvidia drivers running with nvidia-prime. I get the same thing without nvidia/nouveau driver installed and with optimus-manager.
You'll need to confirm if they are both on the Intel (unlikely) usually one is on the NVIDIA
Try this if you ruled out the possibility of a bad cable, or a bad xrandr or xsetup file.
Somewhere in the comments I think I saw that you run nvidia, I presume with intel igpu (optimus). If you are up to it, try to follow this guide here, it's my go-to for nvidia installations (don't mind that it's for manjaro): https://forum.manjaro.org/t/howto-set-up-prime-with-nvidia-proprietary-driver/40225 (open a tty on boot, or use only one monitor, whatever gets you in the system). When it tells you to install nvidia drivers through the manjaro tools, just install them with the tools of your choice, or directly by downloading the correct drivers from the site. In the steps that it tells you to remove some files, you may not have those files, but some similar ones, or none at all. Don't proceed to remove anything you are not comfortable with, just move them temporarily in a directory (ex. a folder in your Desktop), until you fix the thing and then feel free to remove them completely.
Lastly, just sharing my opinion, messing with boot flags should be your "last" resort, since you really need to know what you're doing when you mess with those. Sure, it probably won't cause any harm at all, but setting unnecessary flags could criple your performance for no reason, other than a "quick" way to "patch" things. Always try to find the root cause of the problem, then if it is kernel incompatibilities try boot flags.
Happy problem solving, hope yours get fixed soon! ^^
Thanks for the detailed answer, I read the guide and this is pretty much my current config except from the auto start command, which I was running manually. I'll try to do the same just in case.
If this doesn't help, I would try to boot with just internal monitor, then use arandr (or xrandr if you're comfortable) to set up the dual monitors. If it works like this, but not automatically on boot, it probably means that your display manager and your window manager don't communicate well. As it is also the case with my machine (sddm+kde) I solved it by removing kscreen2 (the kde utility responsible for monitor switching) and manually adding a simple xrandr script on sddm's xsetup to handle monitor switching. If this is indeed your case, I'd gladly help, but I'll refrain from getting into too much details in this comment, since I end up with walls of text :p
I think some people had this problem with the new kernel, so try to downgrade?
Happy Cake Day!
I tried the linux-lts without success
Oh shit, I don't know then, sorry I couldn't help
Is it the mouse that we can still see when it looks like there is no outup? What DE are you running? Try disabling it at boot and reboot. It could be a xorg/de issue
No I think it's dust! (Damn you HD cameras!) I'm using gnome.
Try disabling gnome at boot. Sudo systemctl disable gdm & & reboot. Let's see what you get on tty1 only
What are you actually doing in the video? Plugging and unplugging the Monitor cable?
Nothing, the cable stays plugged-in. It doesn't do this in grub or in windows.
^ Dont downvote ppl, this is how you troubleshoot ^
Check your HDMI cable. I recently had a similar experience.
The thing is, it works on windows so... I guess the cable is fine
HDMI cables are weird things I got some working fine on MacOs but fail on linux and vice versa.
This happened a few months ago with ArcoLinux. Got it fixed adding igfx nomodeset=1 on grub. You may Google your video card for the correct setting.
The screen is indeed working with nomodeset but I can't get X to start at all how did you do it?
Hi I got the same problem with this Samsung monitor and my solution was to switch for another port on my graphics card.
I also change the power settings that the power saving mode is off.
I hope this will help you.
Sadly I only have an hdmi port on my laptop. How did you change the power saving? In gnome settings ? Thanks
I don't think it's a cable problem. It seems to be a configuration error in HZ. Force set hs in 60.
From what I've read you are using a laptop that has both an Intel igpu and an nvidia discrete GPU. From what I've seen this can make using external displays kind of buggy. Personally I've never been able to get it to work.
Okay guys I finally got something!
With prime configured to use nvidia, by setting refresh rate at 60hz instead of 144hz in the on-screen configuration and by creating a custom modeline at a lower refresh rate: 29.94Hz I got it nearly working:
https://i.imgur.com/caBQiss.jpg
But it still goes black for ~1s every ~20s and I have green artifacts and the refresh rate is awful.
I got this in Xorg.log:
(--) modeset(G0): HDMI max TMDS frequency 300000KHz(--) modeset(G0): HDMI max TMDS frequency 250000KHzrandr: falling back to unsynchronized pixmap sharingIf I run cvt with the native resolution:
cvt 2560 1440 60# 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHzModeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsyncI get a pclk at 312.25Mhz which is over 300000KHz this might be why I don't get the image. Thing is my hdmi port version (1.4b) should handle superior frequencies.
Any ideas?
Delete any xorg conf files, almost always breaks things these days
Where in Gnome sry no clue but you can try disable the eco mode directly in the monitor settings (button can be found left down corner on the back) than navigate to “system”
I have the same problem. I’m running XFCE4 on latest kernel. I don’t use a desktop manager so I start my X session by typing “exec startxfce4” the screen blinks exactly like this. This happened after a kernel update.
I tried using the lts-kernel but the problem persists. Zen is no better. I was able to get it perfectly working after setting up Gnome3 and using that instead.
My suggestion is,try using a different DE till this problem is fixed
Aliens.
No wonder then
Using Linux is causing this. Just switch to macOS or Windows and you will stop experiencing random, meaningless, funny bugs.
If Windows just was like a "papa". It`s more like a very fucked up uncle.
Phew, I thought they were actually retarded for a second.
Hahaha that's either very funny or you haven't actually used Windows or Mac OS! I'll assume the former!