DRM leases + X = SW only OpenGL acceleration on child X server

Michel Dänzer michel at daenzer.net
Mon Sep 24 10:18:10 UTC 2018


On 2018-09-24 12:04 p.m., Raimonds Cicans wrote:
> On 24.09.2018 12:17, Michel Dänzer wrote:
>> On 2018-09-23 11:18 p.m., Raimonds Cicans wrote:
>>> Hi!
>>>
>>> I am playing with new "DRM leases" feature.
>>> I am trying to implement single video card multi-seat.
>>>
>>> Questions:
>>>
>>> 1) is HW accelerated OpenGL possible at all on child X server?
>>>
>>> 2) if answer for first question is "yes", then what can cause following
>>> behaviour?
>>>
>>> DISPLAY=:100 glxgears # Main X server. Works without problem
>>>
>>> DISPLAY=:101 glxgears # Child X server. Get following errors
>>> libGL error: failed to authenticate magic 1
>>> libGL error: failed to load driver: radeonsi
>>
>> Please attach both Xorg log files and the output of
>>
>>  LIBGL_DEBUG=verbose DISPLAY=:101 glxgears
>>
>>
> 
> All files attached.

Looks like drmAuthMagic returns an error for the leased FD in the Xorg
process.

Keith, was this working for you?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list