On 04/13/2018 05:39 AM, Adam Jackson wrote:
> On Wed, 2018-04-11 at 22:49 -0400, Liwei Song wrote:
>> On my CoffeeLake S board, after compile i915 as a kernel module
>> will got following error in Xorg.0.log:
>>     (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission 
>> denied
>>     (EE) open /dev/fb0: No such file or directory
>> This is a timing proble between i915 driver and Xorg,
>> add a loop to wait device got ready can avoid this timing problem
> Ew. Why not delay starting your server until the device nodes exist?

Yes, This is a choice to avoid the error, but this way will change xserver
and i915 driver run in a serial mode, It may run 2 second slower than
parallel one, Although the time is very short.

And waiting in xserver won't impact the other board which did not suffer the 
This way may make the whole xserver more flexible than add a precondition.
It may a little better than delay server.


> 'udevadm settle' perhaps?
> - ajax
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to