Hi,
For some time now, I have had a little problem at startup.
When the PC starts cold (turned off for at least a quarter of an hour), the desktop appears then the screen flashes (at least ten times or even twenty) as if it were looking for the display or resolution.
When it is warm or it restarts no problem, when I start with Windows, no problem. After that everything works perfectly.
That's why I dismissed a hardware problem (but you never know) and call on you.
I have an i5 7400 and an ASUS PRIME B250M-A motherboard with an SSD for root and Windows and an HDD for Home.
I run Ubuntu Mate and Windows 10 in dual boot.
A 27 inch screen HDMI.
HD Graphics 630 graphics card, driver used i915.
No worries until recently. The problem started with version 18.04.4 i think.
I installed the 20.04 thinking of fixing the problem and not...
I updated the BIOS recently, I use compiz but I try to desactivate it, it does not change anything.
I also use a command at startup to prevent the screen from going to sleep (xset -display: 0 s off -dpms) but even removed, the problem persists.
Thanks
Panel Self Refresh (PSR):
A power saving feature used by Intel iGPUs is known to cause flickering in some instances.
A temporary solution is to disable this feature using the kernel parameter i915.enable_psr=0
Explanation:
Seems that starting with either the 5.2.0 or 5.3.0 kernel they decided to enable PSR (Panel Self Refresh) by default. Depending on the hardware, this periodic panel refreshing may cause the screen artifacts
What i’ve tried : i have another PC with ubuntu mate 20.04 and HDMI screen:
I switch screens and no problem, the both work well my pc with another screen and another pc with my screen !
The another pc uses the same pilot (i915), same resolution 1920x1080, 60Hz, the only difference is screen size, my screen is biger (27") the other is 23"
The problem is only with ubuntu on my PC + my screen...
I wonder why the monitor only has the issue when it is cold... that should not be happening.
There is definitely something wrong with that.
Also , the other monitor works.
What probably is happening is that this computer or this monitor is working slighly outside of specification. (I assume the HDMI cable is ok... is it ?) So it could be that the slightest deviation in refresh rate or output voltage could trigger this.
I'm not well enough versed in Intel video PLL circuitry programming to be of any help in this case.
I hope someone more knowledgable chimes in here to help you out.
If not, it is probably best if you file a bug against the Intel driver.
It may or may not be a bug but these GPU guys are friendly and it might possibly help you out.