LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   /dev/dri/ missing (https://www.linuxquestions.org/questions/ubuntu-63/dev-dri-missing-4175676578/)

devdrimissing 06-05-2020 06:07 PM

/dev/dri/ missing
 
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!

mrmazda 06-07-2020 12:06 AM

Sometimes missing /dev/dri is because required firmware is missing.

devdrimissing 06-08-2020 05:30 PM

Quote:

Originally Posted by mrmazda (Post 6131663)
Sometimes missing /dev/dri is because required firmware is missing.

Yeah I thought it could be something like that.

I'm guessing there's no way to fix that from the very limited control I have over the VM ?

mrmazda 06-09-2020 01:59 AM

I have no idea. I suggest to restart the thread in the virtualization forum here.


All times are GMT -5. The time now is 04:31 PM.