My theory is, after googling around, that there is a power management issue that may or may not be related to the GPU clock.
EDIT: SOLUTION HERE:
The solution is to force the display to modeset to 1024x768@76Hz during startup by adding a kernel boot parameter. All these commands must be done as superuser. Either login as root in a terminal or use sudo at the beginning of each command if your system is setup that way.
1) Edit /etc/default/grub with your favorite text editor, such as nano, pico or vi. It would be wise to make a backup of this file first.
Code: Select all
cp /etc/default/grub /etc/default/grub.bak
nano /etc/default/grub
2) Add video=1024x768@76 to GRUB_CMDLINE_LINUX_DEFAULT between the quotes and separate with a space character if there are existing parameters. For example if yours looks like this:
then it should end up looking likeGRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
If there is nothing between the quotes then this parameter can be on its own.GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=1024x768@76"
3) Update grub so that your changes will be used on next boot:GRUB_CMDLINE_LINUX_DEFAULT="video=1024x768@76"
Code: Select all
update-grub
4) Reboot your system
Code: Select all
reboot
EDIT 2: SOLUTION 2
I've determined that it is just the fact that a resolution change takes place that shocks the display into working properly and not specifically setting KMS modeset to 1024x768@76Hz. Even just turning the display on and off with xset can reset the hardware into fixing the flickering issue. This is an alternate method that would load a script after you login to your desktop environment and might work better if the first solution doesn't work.
Code: Select all
sudo nano /usr/local/bin/resetdisplay
Make it executable:xset dpms force off
xset dpms force on
Code: Select all
sudo chmod +x /usr/local/bin/resetdisplay
http://xmodulo.com/start-program-automa ... sktop.html
Add /usr/local/bin/resetdisplay as a command or application to startup automatically. You may still experience flicker during the login screen but should be fine after you login. The screen may flash briefly as the display is switched off then back on.