Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devices list empty in sys-gui-gpu #7451

Closed
Kenny606 opened this issue Apr 18, 2022 · 10 comments · Fixed by QubesOS/qubes-core-admin#469 or QubesOS/qubes-core-admin#474
Closed

Devices list empty in sys-gui-gpu #7451

Kenny606 opened this issue Apr 18, 2022 · 10 comments · Fixed by QubesOS/qubes-core-admin#469 or QubesOS/qubes-core-admin#474
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: gui-domain diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. r4.1-dom0-stable

Comments

@Kenny606
Copy link

Kenny606 commented Apr 18, 2022

How to file a helpful issue

Qubes OS release

Qubes 4.1 , Xen 4.14.4 , Kernel 5.10.104.fc32 qubes x86_x64
dom0, Fedora-34 and Fedora-34-xfce templates up to date.

Brief summary

After setting up sys-gui-gpu my “devices” icon is there but it’s blank, I just see a tiny empty bubble when I click on it.

Steps to reproduce

Install and activate sys-gui-gpu and attempt to view usb devices in the GUI domain.

Expected behavior

View list of attached or internal/external USB devices and passthrough as needed to VM's

Actual behavior

Just an empty list with no devices,
In dom0 it's fine and I see all my devices. Normally I would see my built-in mic and webcam at a minimum and anything else I attach of course.

I also tried some external devices in the gui domain:
USB storage devices nothing
USB wireless keyboard/mouse receiver was the only sign of life I’ve seen I got a message: “Denied qubes.InputKeyboard from sys-usb to dom0”
So sys-usb is talking to sys-gui-gpu on some some level.
I verified the sys-usb was using the qubes default_guivm (sys-gui-gpu) and sys-gui-gpu's guivm is blank.

@Kenny606 Kenny606 added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Apr 18, 2022
@andrewdavidwong andrewdavidwong added C: gui-domain needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Apr 18, 2022
@andrewdavidwong andrewdavidwong added this to the Release 4.1 updates milestone Apr 18, 2022
@marmarek
Copy link
Member

What happens if you execute qvm-usb or qvm-device mic in sys-gui-gpu? Do you see any policy denial notification?

@Kenny606
Copy link
Author

Kenny606 commented Apr 20, 2022 via email

@marmarek
Copy link
Member

Ok, I see, there is missing policy for those devices. See linked PR - you can add those lines to /etc/qubes/policy.d/90-admin-default.policy in dom0 and see if that helps. The file on your system will be much longer, because most of it is generated - you can put those extra lines at the end.

@andrewdavidwong andrewdavidwong added diagnosed Technical diagnosis has been performed (see issue comments). pr submitted A pull request has been submitted for this issue. and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Apr 20, 2022
@Kenny606
Copy link
Author

Kenny606 commented Apr 20, 2022

Added but still the same result.
All the list commands I previously ran produce the same result and devices icon still empty.

I do notice after making the change sys-gui-gpu sits there for a good 10+ seconds now before my keyboard and touchpad come to life if that gives you any hints.

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin (including package qubes-core-dom0-4.1.27-1.fc32) has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin (including package qubes-core-dom0-4.1.27-1.fc32) has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@Kenny606
Copy link
Author

Thanks. I'll run an update tonight :)
If for some reason it still doesn't work I'll try recreating sys-gui-gpu and give it a clean slate post-update.

@ZYousef
Copy link

ZYousef commented Jun 22, 2022

I'm having the same issues I've tried adding the missing policies to 90-admin-default.policy and also linked them to qubesd.sock with correspondent names in /etc/qubes-rpc but it didn't work.

I can list qvm-device pci ls
but anything else fails with this device type does not exist or you do not have access to it,

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin (including package qubes-core-dom0-4.1.28-1.fc32) has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component core-admin (including package qubes-core-dom0-4.1.28-1.fc32) has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: gui-domain diagnosed Technical diagnosis has been performed (see issue comments). P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. pr submitted A pull request has been submitted for this issue. r4.1-dom0-stable
Projects
None yet
5 participants