This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Template:VIDEO CARDS/Permissions/testcases

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:VIDEO CARDS/Permissions and its sandbox version. You may have to purge this page to update the examples.
CollapseNo parameter
Wiki code {{VIDEO_CARDS/Permissions}}

Main version

If the acl USE flag is enabled globally and ConsoleKit is being used (default for desktop profiles) permissions to video cards will be handled automatically. It is possible to check the permissions using getfacl:

user $getfacl /dev/dri/card0 | grep larry
user:larry:rw-

A broader solution is to add the user(s) needing access the video card to the video group:

root #gpasswd -a larry video

Note that users will be able to run X without permission to the DRI subsystem, but acceleration will be disabled.

Sandbox version
CollapseParameter: unnamed
Wiki code {{VIDEO_CARDS/Permissions|nvidia}}

Main version

The user(s) needing to access the video card will need to be added to the video group:

root #gpasswd -a larry video

Note that users will be able to run X without permission to the DRI subsystem, but acceleration will be disabled.

Sandbox version