Re: Wayland on FreeBSD

Frederic Chardon <[email protected]>
Newsgroups gmane.os.freebsd.questions,gmane.os.freebsd.devel.x11
Message-ID <CAMODbkk0pr0cbxKJ51RG2jqEWA+Cg07ZNzO3bdgqoLh2QJDHuA@mail.gmail.com>
Le lun. 20 avr. 2020 à 23:06, Jan Beich <[email protected]> a écrit :
>
> Frederic Chardon <[email protected]> writes:
>
> >
> > The trace shows usage of llvmpipe after the failed ioctl on
> > /dev/dri/card0, so as I understand the lack of hardware acceleration
> > concerns only Xwayland, whereas wayland itself is accelerated ?
>
> Yep. Check which ioctls fail then try to reproduce outside of Mesa or
> hardcode the result. Overriding PCI ID via INTEL_DEVID_OVERRIDE is
> unlikely to help e.g.,

All below failure occurs only in xwayland, X11 and wayland succeed.

The first failure is with I915_PARAM_CHIPSET_ID. When I hardcode the
correct ID I get a failure with I915_PARAM_HAS_RELAXED_DATA. When I
force the result to be true (as with X11 and Wayland), the ioctl
DRM_I915_GEM_EXECBUFFER2_WR fails with errno EPERM.

Should I open an issue on drm-kms github? Or it is more likely a
problem on mesa side?

> https://lists.freebsd.org/pipermail/freebsd-x11/2019-January/022551.html
>
> If you still have no clue try playing with sysctls under compat.linuxkpi
> via /boot/loader.conf.

Any hints which ones are worth a try? How did you solve your issue (as
it seems to be pretty similar).

Thanks
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.