Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236615 - x11-drivers/xf86-video-i810-2.4.{1|2}* doesn't update my Screen
Summary: x11-drivers/xf86-video-i810-2.4.{1|2}* doesn't update my Screen
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 21:43 UTC by Pascal Spörri
Modified: 2008-10-20 07:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This is how it looks on the display the page was already loaded. (1.JPG,238.48 KB, image/jpeg)
2008-09-03 22:06 UTC, Pascal Spörri
Details
I then took a screenshot of it (Screenshot-0.png,790.66 KB, image/png)
2008-09-03 22:07 UTC, Pascal Spörri
Details
After taking a screenshot the display wasn't updated and it created a new box for the screenshot (3.JPG,592.09 KB, image/jpeg)
2008-09-03 22:10 UTC, Pascal Spörri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Spörri 2008-09-03 21:43:57 UTC
I'm running a ~AMD64 Gentoo on a X300. When updating xf86-video-i810 to 2.4.1, 2.4.1-r1 and 2.4.2, my display doesn't get updated anymore. I have to move around a window to get it's content updated, this is especially frustrating when writing text: I can write about 3-8 words until I need to move the window to view all of the written text.

It has nothing to with X, if I take a screenshot, then the screenshot is correct, but the display content I'm looking at is not updated.

Reproducible: Always

Steps to Reproduce:
1. install the xf86-video-i810-2.4-{1|2}* Driver on a Laptop with the i810 Graphics card
2.
3.

Actual Results:  
Display output gets corrupted after about 10 seconds, text is partly displayed: you write something and after about 2-3 words you don't see any new text you're typing.
You have to move around the window to view the display output. 

Expected Results:  
Rendered graphics output should be shown in real time on the display

# emerge --info
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L7100_@_1.20GHz-with-glibc2.2.5
Timestamp of tree: Tue, 02 Sep 2008 09:17:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch/"
LANG="de_CH.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amarok amd64 arts autoomount avahi berkdb bluetooth bzip2 cairo cdaudio cddb cdr cli cracklib crypt cups daap dbus directfb dri dts dvb dvd dvdr dvdread encode exif ffmpeg filepicker firefox flac fortran ftp gdbm gdm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 hal hdaps iconv id3tag ipod ipv6 ipw4965 isdnlog ithreads jabber jack java jpeg jpeg2k kde kde4 lame laptop lcd ldap libdvdread logitech-mouse mad matroska midi mmx mozdevelop mp2 mp3 mp4 mpeg mplayer mudflap multilib musicbrainz nas nautilus ncurses netplay nfs nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png postscript pppd python qt4 quicktime rar readline reflection rtsp samba scanner session skins spell spl sse sse2 ssl ssse3 subtitles suspend svg sysfs tcpd theora threads tiff truetype unicode usb v4l vorbis wmf wxwindows x264 xforms xinerama xorg xosd xprint xulrunner xv xvid xvmc zlib zoran" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier  "X.org Configured"
	Screen   0  "Screen0" 0 0
        #InputDevice "Touchpad" 		"CorePointer"
	InputDevice "Configured Mouse"	"CorePointer"
	#InputDevice "Mouse0" 		"CorePointer"
	InputDevice "Keyboard0" 	"CoreKeyboard"
EndSection

Section "Files"
	FontPath    "/usr/share/fonts/misc/"
	FontPath    "/usr/share/fonts/TTF/"
	FontPath    "/usr/share/fonts/OTF"
	FontPath    "/usr/share/fonts/Type1/"
	FontPath    "/usr/share/fonts/100dpi/"
	FontPath    "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load        "extmod"
	Load        "record"
	Load        "dbe"
	Load        "GLcore"
	Load        "xtrap"
	Load        "dri"
	Load        "glx"
	Load        "freetype"
	Load  	    "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "CoreKeyboard"
	Option      "XkbModel" 		"pc105" 
	Option      "XkbLayout" 	"ch"  
EndSection
#Section "InputDevice"
#       Identifier   "Touchpad"
#       Driver       "synaptics"
#       Option       "SendCoreEvents"    "true"
#       Option       "Device"            "/dev/input/mice"
#       Option       "Protocol"          "auto-dev"
#       Option       "HorizScrollDelta"  "20"
#       Option 	    "SHMConfig"	       	"on"
#EndSection

Section "InputDevice"
       Identifier  "Configured Mouse"
       Driver      "mouse"
       Option      "CorePointer"
       Option      "Device"              "/dev/input/mice"
       Option      "Protocol"            "ExplorerPS/2"
       Option      "Emulate3Buttons"     "on"
       Option      "Emulate3TimeOut"     "50"
       Option      "EmulateWheel"        "on"
       Option      "EmulateWheelTimeOut" "200"
       Option      "EmulateWheelButton"  "2"
       Option      "YAxisMapping"        "4 5"
       Option      "XAxisMapping"        "6 7"
       Option      "ZAxisMapping"        "4 5"
EndSection

Section "Monitor"
	#DisplaySize	  290   180	# mm
	Identifier  "Monitor0"
	VendorName  "LEN"
	ModelName   "4074"
	Option	    "DPMS"
EndSection

Section "Device"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
	Identifier  "Card0"

        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        Option      "DRI"                	"true"
	Option	    "AccelMethod"		"EXA"
	Option      "ExaNoComposite"		"false"
	Option	    "MigrationHeuristic"	"greedy"
	#Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]    	
        #Option "FramebufferCompression" "on"
    	#Option "AccelMethod" "EXA"
    	#Option "Tiling" "on"


EndSection

Section "Screen"
	Identifier  "Screen0"
	Device      "Card0"
	Monitor     "Monitor0"
	SubSection "Display"
		Modes "1440x900" 
		Depth 24
	EndSubSection
EndSection


Section "DRI"
	Mode 0666
EndSection
Comment 1 Pascal Spörri 2008-09-03 22:06:13 UTC
Created attachment 164512 [details]
This is how it looks on the display the page was already loaded.
Comment 2 Pascal Spörri 2008-09-03 22:07:48 UTC
Created attachment 164514 [details]
I then took a screenshot of it
Comment 3 Pascal Spörri 2008-09-03 22:10:18 UTC
Created attachment 164515 [details]
After taking a screenshot the display wasn't updated and it created a new box for the screenshot
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-09-04 08:48:04 UTC
What area of the screen isn't being updated? The screenshots don't make it very clear.

Also, have you tried other versions of the drivers? Could you let me know which ones update the screen properly? (with xorg-server-1.4.2)

Thanks a lot
Comment 5 Pascal Spörri 2008-09-06 23:14:38 UTC
It seems to me that the whole display is not updated, some action triggers the display update (moving around a window) and some action doesn't. 

With these packages I ran into the screenupdate problem (xorg-server-1.4.2):
=x11-drivers/xf86-video-i810-2.4.1
=x11-drivers/xf86-video-i810-2.4.1-r1
=x11-drivers/xf86-video-i810-2.4.2
=x11-drivers/xf86-video-i810-2.4.2-r1

I'm currently using
=x11-drivers/xf86-video-i810-2.3.2 
Comment 6 Pascal Spörri 2008-09-07 12:26:01 UTC
updating the xorg-server to 1.5.0 solved the problem with =x11-drivers/xf86-video-i810-2.4.2-r1 display update. 
I haven't tested the drivers below 2.4.2-r1 yet

these are the packages portage updated:
x11-proto/inputproto-1.4.4
x11-libs/libXau-1.0.4
x11-libs/libpciaccess-0.10.3
x11-proto/dri2proto-1.1
x11-libs/libdrm-2.3.1
x11-libs/libX11-1.1.5
media-libs/mesa-7.1
x11-base/xorg-server-1.5.0
and i had to recompile the i810 driver
x11-drivers/xf86-video-i810-2.4.2-r1
Comment 7 Pascal Spörri 2008-09-07 15:11:32 UTC
I'm sorry to disappoint you, but the upgrade to xorg-server-1.5.0 didn't solve the problem for me, but it did reduce some effects.

I decided to create a video while the system was compiling several packages:
http://datadump.moeeeep.com/gentoo-i810bug/display_errors.avi


Comment 8 Fabrício Nihues 2008-09-10 02:12:28 UTC
(In reply to comment #7)
> I'm sorry to disappoint you, but the upgrade to xorg-server-1.5.0 didn't solve
> the problem for me, but it did reduce some effects.
> 
> I decided to create a video while the system was compiling several packages:
> http://datadump.moeeeep.com/gentoo-i810bug/display_errors.avi
> 

I'm getting this update screen problem using EXA and MigrationHeuristic "greedy" or "always" in xorg.conf on the 2.4.x drivers, but makes everything "faster".

with XAA I don't get flickr and is very fast, without any accelmethod or only exa, the pages scrolling is slow.



Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2008-09-10 06:06:02 UTC
Alright, well I think this falls into the "non-trivial bugs" category.

Please do the following :
1) read http://intellinuxgraphics.org/how_to_report_bug.html
2) open a bug over at http://bugs.freedesktop.org
3) add "remi@gentoo.org" as a CC on that bug

Intel guys should be able to figure this out better than me.

Thanks
Comment 10 Pascal Spörri 2008-09-10 11:37:04 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > I'm sorry to disappoint you, but the upgrade to xorg-server-1.5.0 didn't solve
> > the problem for me, but it did reduce some effects.
> > 
> > I decided to create a video while the system was compiling several packages:
> > http://datadump.moeeeep.com/gentoo-i810bug/display_errors.avi
> > 
> 
> I'm getting this update screen problem using EXA and MigrationHeuristic
> "greedy" or "always" in xorg.conf on the 2.4.x drivers, but makes everything
> "faster".
> 
> with XAA I don't get flickr and is very fast, without any accelmethod or only
> exa, the pages scrolling is slow.
> 

Thanks for this info, I disabled the MigrationHeuristic and the output looks good for now. 
"always" is a default with EXA and that looks good on this machine

I also opened a bug report@freedesktop: https://bugs.freedesktop.org/show_bug.cgi?id=17512
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-09-10 11:50:02 UTC
Alright, thanks a lot for taking the time. Let's track the bug upstream, shall we?

Cheers
Comment 12 Tassilo Horn 2008-10-20 07:28:39 UTC
I think this a duplicate of

  http://bugs.gentoo.org/show_bug.cgi?id=238041

which contains a workaround.