Bug 1225248

Summary: Screen issues in Pentium Dual-Core CPU E5800with Intel G45 integrated graphic chipset
Product: [Fedora] Fedora Reporter: GregVD <gregvd77>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 22CC: airlied, ajax, gregvd77, Jmlevick, teccie, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-11 18:39:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screen issues (it repeats constantly when you move mouse point) none

Description GregVD 2015-05-26 23:56:20 UTC
Created attachment 1030208 [details]
Screen issues (it repeats constantly when you move mouse point)

Screen issues in images, buttons and other components inside the Fedora & gnome desktop 3.16. I reported this issue in F22 Alpha & F22 Beta in bugs.freedesktop.org (see below) but the problem persist in F22 stable today release. (sna: Implement missing 9^10^11 swizzle mode) but it seems is necessary to be included in the fedora package.

chipset: Dual Core E5800

kernel 4.0.0-1.fc22.x86_64

Linux Distro: Fedora 22 Beta

glxinfo:server glx vendor string: SGI

server glx version string: 1.4

Display connector: VGA

Monitor: ViewSonic Corporation 19'' (1366x768 res.)

Reproducible steps:

With that machine and both (Fedora 22 Alpha & Beta) distros, booting in liveusb or installing in the computer, the screen issue appears.
Moving the cursor over the desktop, the screen "broken" (see attached capture).

xrand -verbose:
xrandr --verbose
Screen 0: minimum 8 x 8, current 1360 x 768, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  35371
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  35371
	Subpixel:   unknown
	Clones:     VGA1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
VGA1 connected primary 1360x768+0+0 (0x47) normal (normal left inverted right x axis y axis) 410mm x 230mm
	Identifier: 0x44
	Timestamp:  35371
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:     HDMI1
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff005a63221a01010101
		2b130103082917782e3d85a6564a9a24
		125054bfef8081808140714f01010101
		010101010101662150b051001b304070
		36009ae61000001e000000ff0052334d
		3039343334313737330a000000fd0032
		4b18520e000a202020202020000000fc
		00564131393133776d2d340a2020008f
  1360x768 (0x47) 85.500MHz +HSync +VSync *current +preferred
        h: width  1360 start 1424 end 1536 total 1792 skew    0 clock  47.71KHz
        v: height  768 start  771 end  777 total  795           clock  60.02Hz
  1280x1024 (0x8c) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x8d) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x8e) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1152x864 (0x8f) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x90) 78.800MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.06KHz
        v: height  768 start  769 end  772 total  800           clock  75.08Hz
  1024x768 (0x91) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x92) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  832x624 (0x93) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0x94) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x95) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x96) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x97) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x98) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x99) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  491 total  520           clock  72.81Hz
  640x480 (0x9a) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0x9b) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  720x400 (0x9c) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x45
	Timestamp:  35371
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 

With Fedora 21 stable works fine, and the same with other last stable distros and OS like Windows 7 and 8.

Comment 1 teccie 2015-05-31 20:15:25 UTC
I also have this problem on one of my laptops.
When I boot a 3.* Kernel that was installed before I upgraded to Fedora 22 (I think it's 3.19.5, can't look this up right now), everything works correctly.

Comment 2 jmlevick 2015-06-11 18:22:25 UTC
Another two users have reported me issues with F22 and Graphics (one of which was similar to this one); So this made me jump into action...

I've personally asked @GregVD at Google Plus to try using the Wayland GNOME session and report me back if he had any issues there and he said no. It's just a hunch but I think all of these issues have something to do with Wayland experimental support so, 

Quoting:

https://fedoraproject.org/wiki/Common_F22_bugs#GNOME_login_screen_doesn.27t_appear_on_certain_dual-GPU_Macbooks_after_installation

@GregVD: Could you please edit your /etc/gdm/custom.conf file  and uncomment:

#WaylandEnable=false

So it disables Wayland on your system and then reboot into your normal session?

I think this will solve your glitch. Please tell me if it does.

--
Manuel Escudero
http://jmlevick.me

Comment 3 jmlevick 2015-06-11 18:26:58 UTC
(In reply to jmlevick from comment #2)
> Another two users have reported me issues with F22 and Graphics (one of
> which was similar to this one); So this made me jump into action...
> 
> I've personally asked @GregVD at Google Plus to try using the Wayland GNOME
> session and report me back if he had any issues there and he said no. It's
> just a hunch but I think all of these issues have something to do with
> Wayland experimental support so, 
> 
> Quoting:
> 
> https://fedoraproject.org/wiki/Common_F22_bugs#GNOME_login_screen_doesn.
> 27t_appear_on_certain_dual-GPU_Macbooks_after_installation
> 
> @GregVD: Could you please edit your /etc/gdm/custom.conf file  and uncomment:
> 
> #WaylandEnable=false
> 
> So it disables Wayland on your system and then reboot into your normal
> session?
> 
> I think this will solve your glitch. Please tell me if it does.
> 
> --
> Manuel Escudero
> http://jmlevick.me


@GregVD: P.S. Also check:

https://fedoraproject.org/wiki/Common_F22_bugs#Massive_screen_corruption_on_older_Intel_graphics_cards

and report back.

--
Manuel Escudero
http://jmlevick.me

Comment 4 jmlevick 2015-06-11 18:39:19 UTC

*** This bug has been marked as a duplicate of bug 1226531 ***

Comment 5 GregVD 2015-06-12 00:00:47 UTC
I used the Wayland GDM login, and that distortion issue is solved, but i have some flickering and some applications issues when you try to run files, or anonther app. (i supposed is some memory problem, is very slow).

After this "test" i disable the Wayland default login as jmlevick propossed and this solve the flickering problem, but not the distortion issue.

So, i solve this issue adding some lines in

/etc/X11/xorg.conf.d/20-intel.conf

This lines are:

Section "Device"
        Identifier  "card0"
        Driver      "intel"
        Option      "AccelMethod"  "uxa"
EndSection

Save and reboot. So i used this two solutions: 

FLICKERING ISSUE
- editing /etc/gdm/custom.conf and uncommenting #WaylandEnable=false 

DISTORTION SCREEN
-the above lines

Comment 6 GregVD 2015-06-12 00:26:10 UTC
Thanks to sumitbhardwaj for the solution!!

Comment 7 GregVD 2015-06-12 00:38:31 UTC
Thanks jmlevick for the flickering solution.

By the way, this link includes the cause and solution about the screen issues.

http://krazyabouttechnology.blogspot.in/2015/06/solution-distorted-garbled-graphics-in.html

Comment 8 Dave Airlie 2015-06-12 01:21:47 UTC
I think there is a fix in the latest kernel in updates-testing that should fix this, even with SNA enabled.