~Toughbooktalk~ Rob - 630-300-8877

The largest Toughbook discussion site on the net!
It is currently Sun Dec 10, 2017 10:10 pm

All times are UTC-06:00




Post new topic  Reply to topic  [ 45 posts ]  Go to page 1 2 3 4 5 Next
Author Message
PostPosted: Mon Sep 15, 2014 9:24 am 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
I thought I'd make a single thread to discuss this issue since we're all over the place on this one. I know I can figure this out despite me not having a flickering TB on hand. This should make things easier to keep track of things here while I offer suggestions and you guys report back.

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:
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:
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
then it should end up looking like
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=1024x768@76"
If there is nothing between the quotes then this parameter can be on its own.
Quote:
GRUB_CMDLINE_LINUX_DEFAULT="video=1024x768@76"


3) Update grub so that your changes will be used on next boot:
Code:
update-grub
Pay attention to any errors. If anything looks wrong then review your changes to /etc/default/grub for typing mistakes and update-grub again until you're all clear.


4) Reboot your system
Code:
reboot


The problem should be solved.


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:
sudo nano /usr/local/bin/resetdisplay
and paste the following text inside, save and quit.
Quote:
xset dpms force off
xset dpms force on


Make it executable:
Code:
sudo chmod +x /usr/local/bin/resetdisplay


Find whatever method your OS supports to make it autostart. Examples on how to do this are here:
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.

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Last edited by kode-niner on Sun Oct 05, 2014 12:46 pm, edited 4 times in total.

Top
   
PostPosted: Mon Sep 15, 2014 9:28 am 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
First thing to try. Would be funny if this were solved right now with this post. I am assuming you have nopasswd or all commands sudo and prefer to use nano as a text editor.

edit the file /etc/default/grub

Code:
sudo nano /etc/default/grub


Add this between the quotes to GRUB_CMDLINE_LINUX_DEFAULT
Code:
i915.powersave=0


Just make sure your parameters are separated by spaces. For example if you have the reboot=pci as I suspect you might have on a CF-18 with quiet boot options, it should look like this, in no particular order:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet reboot=pci i915.powersave=0"


Otherwise it would look like this:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet  i915.powersave=0"
Save the file.

Update grub
Code:
sudo update-grub


If there are no errors, reboot. Otherwise report here.

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Mon Sep 15, 2014 4:51 pm 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
Ran your code. CF-30MK3.

Not a fix but definitely different.

Initial boot flickers.
After a while screen turns black if not being used. Not a screensaver per se.
Swipe the pad and screen is back with no flicker.
Another thing, [preferences]monitor settings.......no effect at 1024x768. (reports 60 while clocking 27)
Switching to 800 x? flicker disappears and is still gone when reset to 1024. This is not clear but.....

We are re-organizing from a over the bank rescue last night...patients are as well as can be expected....the point is I will check back later.

Thanks for this.

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
PostPosted: Mon Sep 15, 2014 7:10 pm 
Offline
User avatar

Joined: Tue Dec 21, 2010 12:51 pm
Posts: 1852
Location: Northeast Louisiana
? talking about graphic card flickers from time to time? I have figured out how to fix this on windows 7 machines by disabling one service, but can't help you on linux right now.

_________________
CF-28 MK2,Mk3 / CF-29 Mk3 / CF-30 MK2 / CF-25 Mk1 ATI / CF-19 MK3/Mk3/Mk5 / CF-U1 Mk1,Mk2 / CF-M34 Mk7/Mk3 / CF-17 Mk1 / CF-07
Voodoo Envy M355 / M360 / M515 / M780 / U703 / Voodoo Hexx / Voodoo Idol / Voodoo Rage F1 / Voodoo Rage F1 / Voodoo Rage F1 "signed case" / Voodoo Omen
Alienware M11x R1


Top
   
PostPosted: Mon Sep 15, 2014 8:03 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Sadlmkr wrote:
After a while screen turns black if not being used. Not a screensaver per se.
Swipe the pad and screen is back with no flicker.

Screen blanking? This is essentially what happens when you close the lid unless you have it suspend. This is an interesting clue. I'll mull this one over and get back to you.


Edit: is the screen black with backlight on or actual screenjblanking, as in powered off?

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Mon Sep 15, 2014 9:30 pm 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
I'd guess backlight.

Waiting for it to occur as I cook.

The thing that got me was the switching to 800x60? stopped flicker.

Midway in the xorg is a line re: LVDS-1.....1024x768@60 then it is not used.

Burned the tortillas. :blowaway:

Tomorrow mate.

PM your address and I will send you a MK3. (30) No strings.

Thanks,

J'd

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
PostPosted: Wed Sep 17, 2014 7:39 pm 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Important question: which kernel version are you using when experiencing flicker or what is the newest version you've ever tried?

Second question: is i915 module loaded?
Code:
sudo lsmod|grep i915

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Wed Sep 17, 2014 8:41 pm 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
i915 705396 4
i2c_algo_bit 13197 1 i915
drm_kms_helper 46907 1 i915
drm 243792 5 i915,drm_kms_helper
video 18903 1 i915
jeff@jeff-CF-30KAPAXAM ~ $

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
PostPosted: Thu Sep 18, 2014 7:08 am 
Offline
User avatar

Joined: Sat Jun 07, 2014 7:39 am
Posts: 651
Location: Canada
Good that means we can control how your i915 module loads.

What's your output for
Code:
uname -a

_________________
CF-19 MK2 TOUCHSCREEN || CF-19 MK2 DIGITIZER || CF-30 MK3 "Jeff Edition" || CF-19 MK4


Top
   
PostPosted: Thu Sep 18, 2014 10:32 am 
Offline
User avatar

Joined: Thu Oct 14, 2010 1:13 pm
Posts: 2177
Location: TDR-HQ California
Linux jeff-CF-30KAPAXAM 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

_________________
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 45 posts ]  Go to page 1 2 3 4 5 Next

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited