Bug 33412 - missing fonts with rotated screen(s). [bisected]
Summary: missing fonts with rotated screen(s). [bisected]
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
: 33654 (view as bug list)
Depends on:
Reported: 2011-01-24 07:33 UTC by Till Matthiesen
Modified: 2011-01-28 08:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

missing fonts (82.73 KB, image/png)
2011-01-24 07:36 UTC, Till Matthiesen
no flags Details

Description Till Matthiesen 2011-01-24 07:33:53 UTC
Hi all,

this commit causes font corruption with my rotated screen setup.

commit 3e28a0c0b43823d3104fe8fc50b5994b41fc0cc1
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Jan 20 15:07:26 2011 +0000

    Create the UXA generational resources during screen create
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


System information:

Linux 2.6.37
libdrm from git

xrandr usage:
xrandr --output DVI1 --primary --mode 1680x1050 --right-of VGA1 --rotate left
xrandr --output VGA1 --mode 1280x1024 --rotate left
Comment 1 Till Matthiesen 2011-01-24 07:36:58 UTC
Created attachment 42372 [details]
missing fonts
Comment 2 Chris Wilson 2011-01-24 12:18:08 UTC
I had to try for myself because the cause seemed so improbable.

I am now officially baffled.
Comment 3 Chris Wilson 2011-01-24 12:30:57 UTC
Ok, not that baffling once you remember that the screen resources are recreated upon modeset.

commit c6dc27562abbc8ca9e873ad502ca49ae010461d2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jan 24 20:25:27 2011 +0000

    uxa: Only recreate the glyph cache on *generational* updates
    The screen resources are recreated when the screen is rotated as well,
    without being finalized. In this case, we do not need to reconstuct the
    cache (or if we did, we would need to tear it down first).
    Reported-by: Till Matthiesen <entropy@everymail.net>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33412
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 4 Chris Wilson 2011-01-28 08:13:46 UTC
*** Bug 33654 has been marked as a duplicate of this bug. ***

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.