Bug 15012 - [Fedora 9 G965] EXA corruption when booted by isolinux vesa menu
Summary: [Fedora 9 G965] EXA corruption when booted by isolinux vesa menu
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 15278 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-14 09:12 UTC by Bill Nottingham
Modified: 2008-10-24 15:45 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
X log (18.05 KB, text/plain)
2008-03-14 09:12 UTC, Bill Nottingham
no flags Details
X config (745 bytes, text/plain)
2008-03-14 09:13 UTC, Bill Nottingham
no flags Details
screenshot (sorry, crappy digicam) (174.02 KB, image/jpeg)
2008-03-14 09:14 UTC, Bill Nottingham
no flags Details
patch #1: intel-2.1.1-fix-xv-reset (459 bytes, patch)
2008-04-01 08:19 UTC, Bill Nottingham
no flags Details | Splinter Review
Patch #2: intel-2.1.1-efi.patch (1.65 KB, patch)
2008-04-01 08:21 UTC, Bill Nottingham
no flags Details | Splinter Review
patch #3: intel-2.1.1-disable-ttm.patch (748 bytes, patch)
2008-04-01 08:21 UTC, Bill Nottingham
no flags Details | Splinter Review
register dump when booted from grub (8.30 KB, text/plain)
2008-05-08 15:03 UTC, Bill Nottingham
no flags Details
register dump when booted from isolinux (8.30 KB, text/plain)
2008-05-08 15:03 UTC, Bill Nottingham
no flags Details

Description Bill Nottingham 2008-03-14 09:12:08 UTC
Created attachment 15123 [details]
X log

Version 2.2.1.

Originally filed at: https://bugzilla.redhat.com/show_bug.cgi?id=429183

Best description is as if the screen has been scaled to 320x200, no dithering.
It's actually running at the right resolution, though. Progress bars look
normal, but icons/images and fonts most assuredly do not.

i965, attached to Dell 2005FPW, via DVI.

The sticking combination seems to be EXA + noDRI; both XAA + noDRI and EXA + DRI work.

Will attach a bunch of stuff.
Comment 1 Bill Nottingham 2008-03-14 09:13:21 UTC
Created attachment 15124 [details]
X config
Comment 2 Bill Nottingham 2008-03-14 09:14:28 UTC
Created attachment 15125 [details]
screenshot (sorry, crappy digicam)
Comment 3 Bill Nottingham 2008-03-14 11:58:44 UTC
Sometimes this happens even with DRI (but not always)
Comment 4 Gordon Jin 2008-03-18 01:36:42 UTC
Zhenyu, not sure if this bug is related to bug#14523.
Comment 5 Wang Zhenyu 2008-03-18 01:50:03 UTC
yeah, pls try my test patch on it, although vt switch is broken..
Comment 6 Wang Zhenyu 2008-03-25 18:10:23 UTC
Patch is in upstream master now, close this.
Comment 7 Bill Nottingham 2008-03-26 11:11:20 UTC
Testing of 2.2.1 + commit 8cdbd55f8075cd18b563badde35815665d7d053e (which I'm assuming is what you're referring to), the problem still persists.
Comment 8 Wang Zhenyu 2008-03-26 19:11:00 UTC
Weird, could you try to turn on/off options like "Tiling", "EXANoComposite" to see if there's any difference?
Comment 9 Bill Nottingham 2008-03-27 08:04:35 UTC
EXANoComposite fixes it. Turning off tiling does not.
Comment 10 Wang Zhenyu 2008-03-31 02:25:12 UTC
Bill, could you tell me your G965 model? Could you test with 2.2.99.902? thanks.
Comment 11 Bill Nottingham 2008-03-31 09:50:21 UTC
82G965, rev2. (8086:29a2)

Note that this is being reported fairly often in Fedora's bugzilla (6 duplicates already); I suspect it happens on more than one 965 model.
Comment 12 Bill Nottingham 2008-03-31 11:10:36 UTC
Persists in 2.2.99.902.
Comment 13 Wang Zhenyu 2008-04-01 01:40:00 UTC
I reproduce this on Q965 and G965 here with fc9 install gui, which is corrupted. But I can't produce this with our Xorg build on two machines, disable DRI both works fine. 

From your log and recent one from rh bug, it looks intel driver isn't the recent master one, are there any patch list on intel driver in fc9? otherwise we have no clue to what might be wrong.
Comment 14 Bill Nottingham 2008-04-01 08:19:49 UTC
Created attachment 15603 [details] [review]
patch #1: intel-2.1.1-fix-xv-reset

Patch #1 that's added. Theoretically irrelevant here, as Xv is not involved.
Comment 15 Bill Nottingham 2008-04-01 08:21:08 UTC
Created attachment 15604 [details] [review]
Patch #2: intel-2.1.1-efi.patch

Patch #2. From the title, it's related to EFI 'fun' on Intel Macs.
Comment 16 Bill Nottingham 2008-04-01 08:21:57 UTC
Created attachment 15605 [details] [review]
patch #3: intel-2.1.1-disable-ttm.patch

Patch #3: disable ttm
Comment 17 Bill Nottingham 2008-04-01 08:35:23 UTC
Of course, since the issue persists with all of those patches removed, I'm not sure why they'd be at fault.
Comment 18 Wang Zhenyu 2008-04-02 19:13:12 UTC
yeah, patch #1 and #2 is already upstream. So is it true that after install fc9 with text mode, X still fail later in normal start?
Comment 19 Wang Zhenyu 2008-04-02 23:20:11 UTC
I tried with a Fedora 9 beta LiveCD on x86_64. X started with DRI even caused font disappear etc. rendering corrupt, looking at the log intel_drv.so will load submodule intel_master_drv.so, which I don't know the details. So I pulled and built current upstream driver, and gnome started fine with this driver, with no screen artifacts with/without DRI. Switch back to fedora drivers, corrupt appeared again.

So this seems a fedora driver bug, which we can't handle.


Comment 20 Bill Nottingham 2008-04-03 08:31:30 UTC
The 'intel_master' stuff is to allow easy switching between the stock intel driver and the development batchbuffer driver. And without that patch, *the problem still persists*.

Have we had enough of the blame game yet? I've tried multiple git versions, I've pulled out irrelevant patches, I've even pointed you to the EXA options that fix the behaviour. Can we get actual work on the problem?
Comment 21 Wang Zhenyu 2008-04-07 02:23:05 UTC
Bill, I can't reproduce this with upstream tips (xserver, xf-v-i, etc.) on Q965 here in consider fc9 uses mostly all latest bits.
Comment 22 Bill Nottingham 2008-04-07 13:43:46 UTC
Not sure what more to add. The installer case has DRI not working b/c the kernel modules aren't there. I don't know that that would add any more/different fallbacks than just having it disabled in the config file, but you never know...
Comment 23 Wang Zhenyu 2008-04-07 18:54:29 UTC
Tested by remove all drm modules, still works ok here.
Comment 24 Gordon Jin 2008-04-09 17:56:38 UTC
It also works on my G965 with the upstream code.
Comment 25 Bill Nottingham 2008-05-08 09:25:51 UTC
I've finally tracked down the cause - it has nothing to do with NoDRI; that's just a red herring.

When booted via isolinux and its vesa menu, the corruption occurs. When booted via grub (with graphical menu), or isolinux without graphical menu, it renders fine.
Comment 26 Bill Nottingham 2008-05-08 15:03:27 UTC
Created attachment 16437 [details]
register dump when booted from grub

Here's the register dump from a 'good' boot.
Comment 27 Bill Nottingham 2008-05-08 15:03:53 UTC
Created attachment 16438 [details]
register dump when booted from isolinux

Here's the register dump from when it doesn't work.
Comment 28 Wang Zhenyu 2008-05-08 20:11:16 UTC
yeah, I tried to produce it also on 965 here, it looks isolinux program the device with another mode, maybe like same condition like linux fb.

Jesse, any idea?
Comment 29 Wang Zhenyu 2008-05-22 18:52:17 UTC
Bill, I tried fc9 install which seems fine on 965G now with gui, this issue is resolved?
Comment 30 Bill Nottingham 2008-05-22 20:49:52 UTC
Still exists for anything booted from isolinux.
Comment 31 Michael Fu 2008-06-22 23:40:49 UTC
(In reply to comment #29)
> Bill, I tried fc9 install which seems fine on 965G now with gui, this issue is
> resolved?
> 

zhenyu, are you using isolinux with its vesa menu? sounds like this has been narrowed down and should be easy to reproduce...
Comment 32 Michael Fu 2008-07-03 20:28:48 UTC
*** Bug 15278 has been marked as a duplicate of this bug. ***
Comment 33 Michael Fu 2008-07-03 20:29:46 UTC
re-assign to Carl. Carl, could you try it? it sounds should be an easy one to reproduce.. thanks.
Comment 34 Carl Worth 2008-07-22 11:04:01 UTC
Hi Bill,

Looks like it took me *leaving* the X team at Red Hat before I got
pointed to this bug. :-)

I'll test with an isolinux image this afternoon to see if I can
reproduce this on my 965 machine.

-Carl
Comment 35 Bill Nottingham 2008-10-24 12:20:57 UTC
Works with 2.5.0. Not sure when it was fixed.
Comment 36 Carl Worth 2008-10-24 15:45:46 UTC
(In reply to comment #35)
> Works with 2.5.0. Not sure when it was fixed.

Hi Bill,

I'm sorry I never got the chance to test this, but I'm quite happy it's fixed now!

I do appreciate your reports, and I hope we can be even more responsive to the next one.

-Carl


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.