LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-05-2020, 06:07 PM   #1
devdrimissing
LQ Newbie
 
Registered: Jun 2020
Posts: 5

Rep: Reputation: Disabled
/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!
 
Old 06-07-2020, 12:06 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,851
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Sometimes missing /dev/dri is because required firmware is missing.
 
Old 06-08-2020, 05:30 PM   #3
devdrimissing
LQ Newbie
 
Registered: Jun 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
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 ?
 
Old 06-09-2020, 01:59 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,851
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
I have no idea. I suggest to restart the thread in the virtualization forum here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 02:07 PM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 11:33 AM
Mesa linux-dri or linux-dri-x86 Won't Make Muraii Linux - Desktop 2 09-15-2006 12:19 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
missing /dev/dri/card* EdoardoC Linux - Hardware 0 05-19-2005 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration