Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269141 - xorg-server-1.6.1, xf86-video-intel-2.7.0 regressions
Summary: xorg-server-1.6.1, xf86-video-intel-2.7.0 regressions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 14:25 UTC by Andrey Grozin
Modified: 2009-05-15 08:55 UTC (History)
0 users

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


Attachments
Xorg.0.log (Xorg.0.log,12.80 KB, text/plain)
2009-05-09 14:27 UTC, Andrey Grozin
Details
kde.jpg (kde.jpg,93.09 KB, image/jpeg)
2009-05-09 14:28 UTC, Andrey Grozin
Details
glxgears.jpg (glxgears.jpg,128.95 KB, image/jpeg)
2009-05-09 14:28 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2009-05-09 14:25:39 UTC
Before the recent stabilization of xorg-1.5, my notebook with intel 855GM integrated graphics worked OK with i810 driver (I use kde-3.5.x). After upgrade to the newly stabilized xorg-server and intel driver, I found that X does not work unless I enable kernel mode setting (I use tuxonice kernel 2.6.29). After enabling it, X and kde start OK, but X freezes immediately after clicking a menu item or starting an X program or ... One solution I found was to use the vesa driver instead; it only works when kernel mode setting is switched off. But it only gives me 800x600 resolution, instead of 1024x768 which I always had. Also, no acceleration, etc.

I decided to try the newest stuff, and installed xorg-server-1.6.1 and xf86-video-intel-2.7.0 (kernel mode setting is on). After starting X (with kde 3.5), I found that the desktop picture, all menus etc. are corrupted and unreadable. I read somewhere about such corruptions in kde. I don't really use most of kde features, so, I decided to try something simpler, and installed lxde. At last, my notebook became more or less usable again. But if I start a kde program, its menus and some (not all) texts and graphic elements are corrupted. And I do need a few kde programs.

So, the summary of the current status, after I spent a lot of time on trying to configure X to have a usable notebook again:

1. kde desktop and programs - corruptions (I'll attach a screenshot)

2. glxgears says

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.

I tried all 4 settings of vblank_mode, from 0 to 3; the error message stays exactly the same. The picture of the gears in the glxgears window is corrupted. By the way, I could not use driconf: it says

Xlib:  extension "XFree86-DRI" missing on display ":0.0".
Screen "0" is not direct rendering capable.

In a separate window, it says

Could not detect any configurable direct-rendering capable devices. DRIconf will be started in expert mode.

And it does not produce any .drirc

If I start etracer (just as an example opengl program), the screen becomes black; music plays; no mouse or keyboard actions have any effect. I have to switch the computer off. (This game used to work OK with the pre-1.5 setup). googleearth does not work (but at least it can be aborted by ctrl-c). Haven't tested other opengl programs.

3. After intensive web browsing in firefox (especially sites with many photos), some images in firefox become corrupted; some letters in some fonts in firefox are replaced by random junk; after switching to other programs, some images in them are corrupted, too, and some letters in some fonts are replaced by something.

4. After using X for some time, I cannot hibernate the system (this ability is really handy, that's why I use tuxonice):

gdh-zimmer201 ~ # hibernate
hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - Unable to free enough memory.
 - Failed to initialise all modules.

To summarize, this X upgrade turned a well-working notebook to something barely usable. I have spent days on installing and configuring various stuff, to get it work at all. I'd be happy to return to the previous stable X (before 1.5), but it has disappeared from the tree.

Reproducible: Always
Comment 1 Andrey Grozin gentoo-dev 2009-05-09 14:27:06 UTC
Created attachment 190769 [details]
Xorg.0.log
Comment 2 Andrey Grozin gentoo-dev 2009-05-09 14:28:02 UTC
Created attachment 190770 [details]
kde.jpg
Comment 3 Andrey Grozin gentoo-dev 2009-05-09 14:28:42 UTC
Created attachment 190771 [details]
glxgears.jpg
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-05-12 07:40:37 UTC
There are a few remaining tiling issues. Please try putting :

 Option "Tiling" "Off"

in your Device section. If that still doesn't help, please file a bug in FreeDesktop's bugzilla [1] and paste the url here so I can track the bug.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 5 Andrey Grozin gentoo-dev 2009-05-12 12:53:13 UTC
(In reply to comment #4)
>  Option "Tiling" "Off"
Thanks, this line has solved part of problems. Image corruptions in kde stuff and in glxgears disappeared. What's left are, I suppose, 2 separate problems.

1. Each opengl program writes the error message

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.

As I said, setting vblank_mode to any value from 0 to 3 does not change this message. etracer now works; googleearth does not (it shows various dialog boxes, like tip of the day etc; when I close them, their images don't disappear; it seems that googleearth really shows earth in a small area inside its window which is not obscured by these bogus dialogs, and even reacts to mouse and menu actions).

Maybe, this is again some simple mis-configuration issue, and changing something in some config file can cure it. But I have no idea what and how to change.

2. It seems that the new X has some memory (and/or other resources) leak. A fresh X session works OK. After intensive work for 10 minutes or so (browsing sites with many images), some images in firefox and in other programs become corrupted. What's interesting: if I have a patience game (pysol) open at the same time, I sometimes see fragments of card images inside firefox, and fragments of images from sites I visited in pysol (instead of cards). Some letters in some fonts are replaced (both in firefox and in other programs) by some garbage, but systematically (e.g., all letters "a" is some font are replaced by identical garbage images). After this misbehaviour starts, even if I quit all large programs (firefox etc.), I cannot hibernate the system:

hibernate: TuxOnIce reported the following errors:
 - TuxOnIce was aborted (see dmesg).
 - Unable to free enough memory.
 - Failed to initialise all modules.

hibernation startx, X is replaced by text mode with the progress bar as usual, then suddenly it stops, X is back, and I get the above message in konsole. I never had such situations with old X (and sometimes I hibernated sessions with many programs, including firefox).

Should I report this to freedesktop.org?
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-05-12 14:12:26 UTC
Yes you should definitely report this upstream, although I do suggest you try with a vanilla kernel as well, there's a pretty good chance upstream will ask you anyway.

Here's what upstream likes to see in their bug reports to fix bugs faster : http://intellinuxgraphics.org/how_to_report_bug.html

Please don't forget to paste the url here. :)

Thanks
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2009-05-14 07:24:52 UTC
(In reply to comment #7)
> http://lists.freedesktop.org/archives/xorg/2009-May/045585.html

Why yes, I know it's out.

Does it fix the issue for you? Do you have new issues? Is your keyboard broken and you can only copy-paste links with the mouse without any explanation?
Comment 9 Andrey Grozin gentoo-dev 2009-05-14 21:33:42 UTC
I've compiled vanilla-sources-2.6.30_rc5. Now error messages about vblank_mode disappeared, several opengl programs work normally. googleearth still does not redraw most of its window (shows bogus dialog boxes; if I minimize the window and then restore it, shows the picture of the desktop before the window gets restored). Corruptions of images and fonts after browsing sites with many images remain. Is it related to bug #262512 ? If so, maybe it's fixed by the commit mentioned in the comment #8 ? It would be interesting to try intel-2.7.1.
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-05-15 08:55:50 UTC
(In reply to comment #9)
> I've compiled vanilla-sources-2.6.30_rc5. Now error messages about vblank_mode
> disappeared, several opengl programs work normally.

I guess that's good news then :)

> googleearth still does not
> redraw most of its window (shows bogus dialog boxes; if I minimize the window
> and then restore it, shows the picture of the desktop before the window gets
> restored).

Yeah, googleearth is a recurring source of problems. I guess it'll get fixed soon, it's a good test application for upstream. Don't get your hopes up.

> Corruptions of images and fonts after browsing sites with many
> images remain. Is it related to bug #262512 ?

I don't think it's that bug. Could you take a look at https://bugzilla.redhat.com/show_bug.cgi?id=495323 ? I also have this bug and I guess it fits your problems as well.

> If so, maybe it's fixed by the
> commit mentioned in the comment #8 ? It would be interesting to try
> intel-2.7.1.

Well, 2.7.1 is in portage, please try it out :) Meanwhile I'll close this bug fixed since most of the bigger issues have been ironed out. Please don't hesitate to open new bugs if you have more Intel/X issues.

Thanks