Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 579746

Summary: x11-misc/sddm: Failed to create OpenGL context
Product: Gentoo Linux Reporter: quazgar <quazgar>
Component: Current packagesAssignee: LxQt maintainers <lxqt>
Status: UNCONFIRMED ---    
Severity: normal CC: devurandom, lxqt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description quazgar 2016-04-12 14:36:07 UTC
With a freshly installed x11-misc/sddm-0.13.0-r3, staring sddm-greeter failed with this error message in the logs:

Failed to create OpenGL context for format QSurfaceFormat ...

Following the tip in worked:  Adding the sddm user to the video group resolved the problem and sddm showed up correctly:

# usermod -a -G video sddm

IMHO this should be done already by the ebuild at install time, when the `sddm` user is created.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-04-14 15:37:25 UTC
The ebuild has already done this for some time, but it only works for a new install - it can't modify an existing user. Perhaps we can add a warning to the ebuild if this is the case.
Comment 2 Dennis Schridde 2017-05-13 20:58:55 UTC
Shouldn't systemd or consolekit be taking care of this by setting ACLs on /dev/dri/*?