Skip to content

Instantly share code, notes, and snippets.

@wolfspider
Created September 17, 2019 00:48
Show Gist options
  • Save wolfspider/8c2b19421d420a9ec952b2fc24f3b05f to your computer and use it in GitHub Desktop.
Save wolfspider/8c2b19421d420a9ec952b2fc24f3b05f to your computer and use it in GitHub Desktop.
/etc/devfs.conf
# Allow a user in the wheel group to query the smb0 device
#perm smb0 0660
# Allow members of group operator to cat things to the speaker
#own speaker root:operator
#perm speaker 0660
perm /dev/dri/card0 0666
@wolfspider
Copy link
Author

And then in /etc/rc.conf

devfs_system_ruleset="devfsrules_common"

@wolfspider
Copy link
Author

/usr/local/etc/X11/xorg.conf.d/driver-intel.conf

Section "Device"
Identifier "card0"
Driver "intel"
Option "DRI" "2"
Option "AccelMethod" "uxa"
Option "TearFree" "true"
EndSection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment