Bug 16534 - [855GM tiling]: Display corruption when using virtual resolution >2048px
Summary: [855GM tiling]: Display corruption when using virtual resolution >2048px
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks: intel-2.5
  Show dependency treegraph
 
Reported: 2008-06-26 15:24 UTC by Ingo van Lil
Modified: 2008-09-17 19:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log file with "Virtual" config line (screen corrupted) (23.99 KB, text/plain)
2008-06-26 15:24 UTC, Ingo van Lil
no flags Details
Xorg.0.log file without "Virtual" config line (no error) (26.16 KB, text/plain)
2008-06-26 15:25 UTC, Ingo van Lil
no flags Details
check display stride with hw limit (1.17 KB, patch)
2008-09-08 23:51 UTC, Wang Zhenyu
no flags Details | Splinter Review

Description Ingo van Lil 2008-06-26 15:24:38 UTC
Created attachment 17400 [details]
Xorg.0.log file with "Virtual" config line (screen corrupted)

After upgrading my notebook to Fedora 9 the X server did not display a useful picture any longer: The topmost pixel line would be stretched along the complete height of the screen. Additionally, while the server is running in this state it will slowly corrupt unrelated parts of the video memory: When switching to a text console after a few minutes the characters will begin to vanish, or the console font will be slowly overwritten with all-blanks.

The same config file worked flawlessly with the X server in Fedora 8. I tracked the source of the problem down to a single config line: "Virtual 2304 1024". I had to add that line to support Xinerama, i.e. to use both the Laptop display and an external screen at the same time. The hardware doesn't seem to support DRI when using resolutions >2048 pixels, but that never bothered me much.

I've attached server log files for both cases, with or without the "Virtual" config line.
Comment 1 Ingo van Lil 2008-06-26 15:25:50 UTC
Created attachment 17401 [details]
Xorg.0.log file without "Virtual" config line (no error)
Comment 2 Wang Zhenyu 2008-06-26 20:06:49 UTC
Intel 'master' driver in fc9 is pre 2.3 release package, could you try current 2.3.2 release first?
Comment 3 Ingo van Lil 2008-06-27 13:41:25 UTC
(In reply to comment #2)
> Intel 'master' driver in fc9 is pre 2.3 release package, could you try current
> 2.3.2 release first?

You're right, Fedora ships the 2.2.1 version of the Intel video drivers. I tried to compile the latest release from source, but unfortunately I couldn't get the server to start with the new modules. It raises a fatal server error "Couldn't bind memory for BO front buffer".

Does the 2.3.2 driver depend on any other components more recent than included in the official X.org 7.3 release? I just picked up the source tarball, installed a few -devel packages and did the usual configure/make/make install cycle.

Regards,
Ingo
Comment 4 Michael Fu 2008-06-30 01:28:17 UTC
ping zhenyu for response...
Comment 5 Wang Zhenyu 2008-06-30 01:36:41 UTC
sigh, fc9 has ttm merged into their drm, 2d driver, etc. So I'm really out of idea why this could fail. 
Comment 6 Wang Zhenyu 2008-06-30 01:57:31 UTC
oh, just reproduce this on a sony vaio. Looks tiling relate, disable tiling makes that virtual size working for me.
Comment 7 Wang Zhenyu 2008-09-08 23:51:15 UTC
Created attachment 18772 [details] [review]
check display stride with hw limit

It looks we should check plane stride limit, otherwise we got odd display.
Comment 8 Wang Zhenyu 2008-09-17 19:47:52 UTC
Patch is pushed. Close this.


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.