Article 54WM4 /dev/dri/ missing on GitHub Actions

/dev/dri/ missing on GitHub Actions

by
devdrimissing
from LinuxQuestions.org on (#54WM4)
Hey!

I am using GitHub Actions to execute some .NETCore tests on the Ubuntu Virtual Machines that they provide: https://github.com/actions/virtual-e...u16/20200512.2

The code testing suite involves the use of OpenTK graphics which uses the /dev/dri to display graphics (to the best of my knowledge).

When executing the code I get the following error:
Code:Error Message:
System.TypeInitializationException : The type initializer for 'OpenTK.DisplayDevice' threw an exception.
----> System.IO.DirectoryNotFoundException : Could not find a part of the path '/dev/dri'.
Stack Trace:
at OpenTK.DisplayDevice.get_Default()
at OpenTK.GameWindow..ctor(Int32 width, Int32 height)It fails on both Ubuntu 18.04 and 16.04 so I will post the info for 16.04.
The installed software on the virtual machine can be seen here: https://github.com/actions/virtual-e...1604-README.md

OS Information as provided by GitHub actions log:
Code: Current runner version: '2.262.1'
Operating System
Ubuntu
16.04.6
LTS
Virtual Environment
Environment: ubuntu-16.04
Version: 20200512.2
Included Software: https://github.com/actions/virtual-environments/blob/ubuntu16/20200512.2/images/linux/Ubuntu1604-README.md
If more information is required let me know.

I can execute bash commands when setting up the runner, but outside of that I do not have much control over the virtual environment.

Does anyone know what is missing, and potentially if there is something I can apt-get to fix the /dev/dri path missing?

Thanks!latest?d=yIl2AUoC8zA latest?i=7NQoQqSDofY:VT6IOSFZdfM:F7zBnMy latest?i=7NQoQqSDofY:VT6IOSFZdfM:V_sGLiP latest?d=qj6IDK7rITs latest?i=7NQoQqSDofY:VT6IOSFZdfM:gIN9vFw7NQoQqSDofY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments