drilinker

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

DRI Linker

DRI Linker is a tiny tool to create links /dev/dri/renderD* named after the driver for that card.

This is my solution to the problem I was having with the cards swapping between /dev/dri/renderD128 and /dev/dri/renderD129 after every boot meaning I had to update the Jellyfin hardware accelerator configuration almost every time there was a reboot.

After running this tool I get:

  • renderD128
  • renderD129
  • renderNi915
  • renderNnouveau

There is one minor catch, your binary needs to be owned by root and have the suid bit set, or you need to run it through sudo/as root I am running mine in an extension to the jellyfin/jellyfin docker container so I use the following

ADD drilinker /usr/bin/drilinker
RUN chmod +s /usr/bin/drilinker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址