Bug 88921 - X fails to start on QEMU/KVM with cirrus KMS since 3.19-rc
Summary: X fails to start on QEMU/KVM with cirrus KMS since 3.19-rc
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2015-02-02 16:28 UTC by Takashi Iwai
Modified: 2019-10-14 13:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Takashi Iwai 2015-02-02 16:28:01 UTC
X modesetting driver fails to start with cirrus KMS on QEMU/KVM since 3.19-rc.
The culprit is the commit 8975626ea35adcca561f8a81dedccfbc5dd8ec72
    drm/cirrus: allow 32bpp framebuffers for cirrus drm

Reverting this commit makes X working again.

X modesetting driver seems to try to open 1024x768x32 graphics, where the pitch is 4096 and greater than max_pitch (4088) defined in cirrus_check_framebuffer().
And it doesn't fall back to 24bpp as the patch expected.

Tested with 3.19-rc7 with qemu 2.1 -vga cirrus option.
Comment 1 Martin Peres 2019-10-14 13:20:26 UTC

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!

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.