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

2018-09-25 Thread Keith Packard
Raimonds Cicans writes: > Some questions: > 1) Which video drivers support DRM leases? Only amdgpu? Both amdgpu and modesetting. > 2) Which video driver must load child X server? modesetting? Same as > master X server? Only modesetting appears to use xf86DRMMasterFd at this point; adding that

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

2018-09-25 Thread Raimonds Cicans
On 24.09.2018 19:13, Keith Packard wrote: > Michel Dänzer writes: > >> Looks like drmAuthMagic returns an error for the leased FD in the Xorg >> process. >> >> Keith, was this working for you? > > At one point, I'm nearly certain it was, but I haven't messed with this > in a while. > Some ques

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

2018-09-24 Thread Keith Packard
Michel Dänzer writes: > Looks like drmAuthMagic returns an error for the leased FD in the Xorg > process. > > Keith, was this working for you? At one point, I'm nearly certain it was, but I haven't messed with this in a while. -- -keith signature.asc Description: PGP signature __

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

2018-09-24 Thread Michel Dänzer
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

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

2018-09-24 Thread Raimonds Cicans
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? >> >>

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

2018-09-24 Thread Michel Dänzer
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 wh

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

2018-09-23 Thread Raimonds Cicans
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 ser