Bug 120281 - vesafb causing OpenChrome DDX to fail starting with Linux 4.5 kernel
Summary: vesafb causing OpenChrome DDX to fail starting with Linux 4.5 kernel
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: Intel Linux
: P1 blocking
Assignee: drivers_video-other
URL: https://bugs.freedesktop.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 21:21 UTC by Kevin Brace
Modified: 2016-06-18 23:55 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.5
Tree: Mainline
Regression: No


Attachments

Description Kevin Brace 2016-06-14 21:21:02 UTC
Hi,

I am one of the OpenChrome project maintainer and pretty much the sole developer (at this point in time).
OpenChrome is an X Server DDX for VIA Technologies IGPs.

https://cgit.freedesktop.org/openchrome/xf86-video-openchrome/

I had a report over at bugs.freedesktop.org that a user reported that OpenChrome was not working if Linux 4.5 kernel or later was used, but was okay if Linux 4.4 kernel was used.

https://bugs.freedesktop.org/show_bug.cgi?id=95420

It appears that vesafb (VESA frame buffer device driver) is claiming the VIA Technologies IGP frame buffer region, and as a result, when X Server tries to load OpenChrome, OpenChrome will fail to allocate the frame buffer, and the X Server will not start.
The user who reported this bug told me that if he did not allow the loading of vesafb, the X Server will boot fine.
The original bug reporter noticed this with Arch Linux, and another person also observed the same bug with Fedora 23.
    OpenChrome itself had issues with error handling when the frame buffer was not allocated, and those issues were fixed with OpenChrome Version 0.4.186 or later.

https://cgit.freedesktop.org/openchrome/xf86-video-openchrome/commit/?id=773292fd4f8bee0962d9b2eb219329267e240ade

I hope to get a response soon, and hope that this bug is fixed with Linux 4.5, 4.6, and 4.7.
Comment 1 Kevin Brace 2016-06-14 21:22:59 UTC
Please note that I choose this bug to be "blocking" since we plan to release a new version of OpenChrome soon, and this bug will ensure that all VIA IGPs to fail if Linux 4.5 or later is used.
It is an urgent problem to fix for VIA IGP users.

Note You need to log in before you can comment on or make changes to this bug.