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!