Wayland on FreeBSD

Niclas Zeising zeising+freebsd at daemonic.se
Mon Apr 20 10:20:56 UTC 2020


On 2020-04-20 12:07, Greg V wrote:
> Apr 20, 2020 12:56:35 PM Frederic Chardon <chardon.frederic at gmail.com>:
> 
>> Le dim. 19 avr. 2020 à 13:50, Jan Beich <jbeich at freebsd.org> a écrit :
>>
>>>
>>>
>>> I'm using Sway myself primarily with X11 applications. For example,
>>> "vblank_mode=0 glxgears" shows 3x more FPS than on real Xorg server. ;)
>>>
>>
>> I decided to give it a try, is hardware acceleration supposed to work?
>> glxgears gives 10x less fps than with X, and 3D is incredibly
>> sluggish.
>> eglinfo output that leads me to believe it is not:
>> GBM platform:
>> i965_dri.so does not support the 0xffffffff PCI ID.
>>
>> It is with sway, -current from yesterday, intel HD4000 iGPU (Ivybridge i5-3320M)
>> no difference between drm-devel-kmod or drm-current-kmod.
> 
> Sway itself wouldn't even start without hardware rendering, it doesn't *have* a software renderer.
> 
> For the X applications like glxgears, I guess with the mesa build that's in official ports currently you still need that DRI3 something environment variable..

You shouldn't need that one.  We switched the default to use DRI3 not 
long after xorg-server was updated to 1.20.
https://svnweb.freebsd.org/ports?view=revision&revision=528071
It should also be in the latest quarterly branch.
Regards
-- 
Niclas


More information about the freebsd-questions mailing list