LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2015, 12:23 PM   #1
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Rep: Reputation: Disabled
Screen flickering


I have a laptop with an integrated GMA3600 GPU. Every "modern" distro was unusable because the screen would flicker and black out like crazy, so I installed one of the few that didn't present this behaviour -- Crunchbang 11, based on Wheezy.

I'm trying to address this issue; I'll compare a few outputs from 1) my current setup (Crunchbang) and 2) one of the non-working alternatives (Lubuntu 14.10 on a live USB):

uname -r
1) 3.2.0-4-686-pae
2) 3.16.0-23-generic

sudo lshw -c video
1)
Code:
description: VGA compatible controller
       product: Atom Processor D2xxx/N2xxx Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=gma500 latency=0
       resources: irq:46 memory:80100000-801fffff ioport:30c0(size=8)
2)
Code:
*-display               
       description: VGA compatible controller
       product: Atom Processor D2xxx/N2xxx Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=gma500 latency=0
       resources: irq:45 memory:80100000-801fffff ioport:30c0(size=8)
The only difference is the IRQ used.

cat /proc/interrupts
1)
Code:
           CPU0       CPU1       
  0:         41          0   IO-APIC-edge      timer
  1:        517          0   IO-APIC-edge      i8042
  8:          1          0   IO-APIC-edge      rtc0
  9:       7245          0   IO-APIC-fasteoi   acpi
 12:       2597          0   IO-APIC-edge      i8042
 16:          0          0   IO-APIC-fasteoi   uhci_hcd:usb5
 18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb4
 19:      13520          0   IO-APIC-fasteoi   ata_piix, uhci_hcd:usb3
 23:      26138          0   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2
 44:        369          0   PCI-MSI-edge      eth0
 45:        255          0   PCI-MSI-edge      snd_hda_intel
NMI:         69         47   Non-maskable interrupts
LOC:      27594      20371   Local timer interrupts
SPU:          0          0   Spurious interrupts
PMI:         69         47   Performance monitoring interrupts
IWI:          0          0   IRQ work interrupts
RES:      33502      39919   Rescheduling interrupts
CAL:        407       6719   Function call interrupts
TLB:       1138       1213   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
MCE:          0          0   Machine check exceptions
MCP:          1          1   Machine check polls
ERR:          0
MIS:          0
2)
Code:
           CPU0       CPU1       
  0:         46          0   IO-APIC-edge      timer
  1:       2154          0   IO-APIC-edge      i8042
  8:          1          0   IO-APIC-edge      rtc0
  9:      37131          0   IO-APIC-fasteoi   acpi
 12:      11292          0   IO-APIC-edge      i8042
 16:          0          0   IO-APIC-fasteoi   uhci_hcd:usb5
 18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb4
 19:       1309         11   IO-APIC-fasteoi   ata_piix, uhci_hcd:usb3
 23:      20420       6875   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2
 44:      15634          0   PCI-MSI-edge      eth0
 45:          0          0   PCI-MSI-edge      gma500
 46:        194          0   PCI-MSI-edge      snd_hda_intel
NMI:        147        132   Non-maskable interrupts
LOC:      70348      59679   Local timer interrupts
SPU:          0          0   Spurious interrupts
PMI:        147        132   Performance monitoring interrupts
IWI:          1          0   IRQ work interrupts
RTR:          0          0   APIC ICR read retries
RES:      20827      27012   Rescheduling interrupts
CAL:       1802       2767   Function call interrupts
TLB:       1875       1439   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
MCE:          0          0   Machine check exceptions
MCP:          4          4   Machine check polls
THR:          0          0   Hypervisor callback interrupts
ERR:          0
MIS:          0
dmesg | grep -i video
1)
Code:
[    0.378029] pci 0000:00:02.0: Boot video device
[    6.579368] Linux video capture interface: v2.00
[    6.614256] uvcvideo: Found UVC 1.00 device USB 2.0 PC Cam (090c:037c)
[    6.616059] usbcore: registered new interface driver uvcvideo
[    6.616064] USB Video Class driver (1.1.1)
2)
Code:
[    0.338661] pci 0000:00:02.0: Boot video device
[   11.048529] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   11.049314] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10
[   36.372066] Linux video capture interface: v2.00
[   36.908529] uvcvideo: Found UVC 1.00 device USB 2.0 PC Cam (090c:037c)
[   36.961726] usbcore: registered new interface driver uvcvideo
[   36.961733] USB Video Class driver (1.1.1)
[   38.262977] systemd-logind[1547]: Watching system buttons on /dev/input/event5 (Video Bus)
dmesg | grep -i gma
1)
Code:
[    5.465696] gma500 0000:00:02.0: setting latency timer to 64
[    5.465749] gma500 0000:00:02.0: irq 46 for MSI/MSI-X
[    5.466125] gma500 0000:00:02.0: GPU: power management timed out.
[    5.958548] gma500 0000:00:02.0: allocated 1280x800 fb
[    6.402676] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0
2)
Code:
[   11.030830] gma500 0000:00:02.0: irq 45 for MSI/MSI-X
[   11.030934] gma500 0000:00:02.0: GPU: power management timed out.
[   11.420011] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0
[   11.420060] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 0
[   12.016034] gma500 0000:00:02.0: fb0: psbdrmfb frame buffer device
[   12.016039] gma500 0000:00:02.0: registered panic notifier
[   12.045847] [drm] Initialized gma500 1.0.0 20140314 for 0000:00:02.0 on minor 0
The last output hints that some problem is indeed detected but I don't know what to do from here.

EDIT: forgot to mention that the Lubuntu boot menu screen (this one) presents no flickering issues.

Last edited by DvD12; 03-04-2015 at 12:30 PM.
 
Old 03-05-2015, 04:59 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You have a GMA 500 graphics accelerator. Which is a PowerVR based graphics chipset. It is supported by linux but not to be usable somewhat.

See these links: link1 link2 link3
 
Old 03-05-2015, 10:54 AM   #3
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Well, I sorta fixed the issue by preventing the new gma500 module to be loaded:

Code:
modprobe.blacklist=gma500_gfx
Now the screen resolution is capped at 1024x768 but it's still better than nothing.
 
Old 03-06-2015, 12:43 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
For knowledge may I know what then your system using for video output? VESA.
 
Old 03-07-2015, 06:49 AM   #5
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
I'm not sure I understand your question.
 
Old 03-07-2015, 07:04 AM   #6
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
@OP: Please post the output of:
Code:
lspci -knn|grep -iA3 vga
For both #! & Lubuntu.
 
Old 03-08-2015, 12:15 PM   #7
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Code:
lspci -knn|grep -iA3 vga
#!)
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 0b)
        Subsystem: Intel Corporation Device [8086:7270]
        Kernel driver in use: gma500
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
Lubuntu)
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 0b)
        Subsystem: Intel Corporation Device [8086:7270]
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
        Kernel driver in use: snd_hda_intel
(I've blacklisted the gma500_gfx module in my Lubuntu setup)

Last edited by DvD12; 03-08-2015 at 10:46 PM.
 
Old 03-08-2015, 10:23 PM   #8
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
So you have a driver/module named gma500 apart from gma500_gfx.
 
Old 03-08-2015, 10:46 PM   #9
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Made a mistake when copypasting -- there's no gma500 driver in use when gma500_gfx is blacklisted:

Errata:

Lubuntu)
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 0b)
        Subsystem: Intel Corporation Device [8086:7270]
        Kernel driver in use: gma500
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
        Kernel driver in use: snd_hda_intel
Corrige:

Lubuntu)
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller [8086:0be1] (rev 0b)
        Subsystem: Intel Corporation Device [8086:7270]
00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02)
        Kernel driver in use: snd_hda_intel
Quote:
So you have a driver/module named gma500 apart from gma500_gfx.
Thought so too, but if you don't load the gma500_gfx module the gma500 does not come up in lspci (sorry for the confusion).
 
Old 03-09-2015, 05:51 AM   #10
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
So GMA is not used on Lubuntu. But I wanted to know what other video driver your system is using to display with a resolution of 1024x768.
 
Old 03-09-2015, 04:49 PM   #11
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by veerain View Post
So GMA is not used on Lubuntu. But I wanted to know what other video driver your system is using to display with a resolution of 1024x768.
I have no clue. lspci shows none.

Here's lsmod in Lubuntu:
Code:
cfg80211              430618  0 
mt7601Usta            561761  1 
uvcvideo               71457  0 
videobuf2_vmalloc      13048  1 uvcvideo
videobuf2_memops       13170  1 videobuf2_vmalloc
videobuf2_core         48344  1 uvcvideo
rfcomm                 58045  0 
bnep                   18829  2 
bluetooth             390981  10 bnep,rfcomm
6lowpan_iphc           18262  1 bluetooth
v4l2_common            15132  1 videobuf2_core
videodev              131257  3 uvcvideo,v4l2_common,videobuf2_core
media                  20951  2 uvcvideo,videodev
snd_hda_codec_via      23156  1 
snd_hda_codec_generic    62849  1 snd_hda_codec_via
snd_hda_intel          29244  3 
snd_hda_controller     29944  1 snd_hda_intel
dm_multipath           22373  0 
snd_hda_codec         120356  4 snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
scsi_dh                14458  1 dm_multipath
snd_hwdep              13272  1 snd_hda_codec
snd_pcm                91280  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_seq_midi           13324  0 
snd_seq_midi_event     14475  1 snd_seq_midi
snd_rawmidi            25722  1 snd_seq_midi
snd_seq                56638  2 snd_seq_midi_event,snd_seq_midi
coretemp               13201  0 
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              28579  2 snd_pcm,snd_seq
binfmt_misc            13140  1 
snd                    66629  16 snd_hwdep,snd_timer,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
serio_raw              13210  0 
lpc_ich                16877  0 
soundcore              14604  2 snd,snd_hda_codec
shpchp                 32136  0 
video                  19528  0 
mac_hid                13059  0 
parport_pc             32021  0 
ppdev                  17391  0 
lp                     17395  0 
parport                40795  3 lp,ppdev,parport_pc
psmouse                95355  0 
r8169                  61415  0 
pata_acpi              12901  0 
mii                    13654  1 r8169
 
Old 03-10-2015, 02:27 AM   #12
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Lsmod doesn't shows any display video driver. Can you find out in dmesg output. At the start of the kernel boot did your screen is at the same high resolution as at end?.

Last edited by veerain; 03-10-2015 at 09:25 AM. Reason: Correct a minor type error.
 
Old 03-10-2015, 08:16 AM   #13
DvD12
LQ Newbie
 
Registered: Mar 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
"Relevant" dmesg output:
Code:
[    0.338106] pci 0000:00:02.0: Video device with shadowed ROM
I don't know what resolution I begin with as nothing is displayed before the splash screen.

By the way, here's what the screen looks like when I load up the gma500_gfx module:

http://tinypic.com/r/4vg6fd/8
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen flickering deci007 Linux - Newbie 2 05-09-2012 05:18 AM
[SOLVED] Flickering screen MadChipmunk Linux - Laptop and Netbook 15 03-04-2012 03:47 PM
Flickering screen JussiKp Linux - Hardware 5 06-19-2007 11:23 AM
Flickering screen soldiermz97 Linux - Newbie 4 10-14-2006 03:03 PM
My screen is flickering in X mbreith Linux - Newbie 3 03-23-2006 06:18 PM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration