Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608856 - x11-base/xorg-server-1.19.1: warn about performance with USE="wayland -glamor"
Summary: x11-base/xorg-server-1.19.1: warn about performance with USE="wayland -glamor"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 611056
  Show dependency tree
 
Reported: 2017-02-10 10:50 UTC by dolphinling
Modified: 2017-03-04 04:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dolphinling 2017-02-10 10:50:32 UTC
When xorg-server is installed with wayland support but no glamor support, xwayland will work, but programs needing 3d acceleration will be extremely slow because they are stuck using swrast/llvmpipe instead of a hardware driver. This can be very hard to diagnose, and there's not much information online to help anyone having this problem.

I recommend we put a warning in the ebuild when someone installs xorg-server with USE="wayland -glamor". Something like the following:

pkg_setup() {
    if use wayland && ! use glamor; then
        ewarn "Without glamor, 3d acceleration in xwayland sessions may be slow!"
    fi
}
Comment 1 Matt Turner gentoo-dev 2017-03-04 04:39:10 UTC
Fixed by

commit 22e03954608e87d5ff1c6be11605d072cb1ab2dd
Author: Kelly Ledford <stripes416@gmail.com>
Date:   Fri Mar 3 18:03:30 2017 -0800

    x11-base/xorg-server: Warn about performance with USE="wayland -glamor"