tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: glamor / xf86-video-modesetting



On Sat, May 02, 2020 at 10:06:49PM +0100, Robert Swindells wrote:
> 
> coypu%sdf.org@localhost wrote:
> >So, xf86-video-intel has issues on old GMA cards with SNA.
> >xf86-video-modesetting doesn't share those issues, but requires glamor
> >to be performant.
> >
> >I thought I'd have another look, this time with a radeon HD5450.
> >adding this /etc/xorg.conf:
> >Section "Device"
> >	Identifier    "Configured Video Device"
> >	Driver        "modesetting"
> >EndSection
> >
> >Surprisingly, glamor is already attempted out of the box
> >(II) modeset(0): glamor X acceleration enabled on AMD CEDAR (DRM 2.43.0 / 10.0.59, LLVM 9.0.0)
> >
> >Unfortunately it has very violent display issues (text in terminal looks
> >wrong, glxgears doesn't display anything).
> >
> >Looking at the warnings,
> >(WW) modeset(0): DRI2: glamor lacks support for pixmap import/export
> >
> >Apparently this is a warning that occurs when dri3 is not enabled.
> >
> >So I'm taking back my hints to others that we should work on
> >xf86-video-modesetting for a while. Will have to DRM update first.
> 
> I realize that you want to fix the modesetting driver but I'm typing
> this on a machine with a Radeon 5450 and it seems fine with the
> radeon driver, including running glxgears.
> 
> I also have some debug printfs in the drm library that I added to try to
> see what firefox was doing, glxgears ends up calling drm2_create_context.


hi rjs,

webgl in firefox works if you change:
browser.tabs.remote.autostart=true
in about:config
(via https://bugzilla.mozilla.org/show_bug.cgi?id=1610395)

(I had to disable firefox signal catching to get a useful backtrace)


Home | Main Index | Thread Index | Old Index