Qubes OS - Applications do not open

Hello, I have an MSI GF66 with an RTX 3050 GPU with Qubes OS. I am trying to play games. I successfully passed the GPU to the Virtual Machine and installed the driver. Now when trying to open applications they do not open.

My log attached:
nvidia-bug-report.log (142.8 KB)

OK I blacklisted the nouveau drivers and it got me past an error message in the initial logs. Here are my new logs with the same issue of applications not opening:

nvidia-bug-report.log (1.3 MB)

When I try to run nvidia-settings I get “Unable to load info from any system”

I don’t think that will work that way. Since you’re running in a virtual environment, the primary graphics is a virtual one which doesn’t support PRIME to get the output from the (secondary) nvidia gpu. You could try using virtualgl but that only works for OpenGL.

Ok I found out xorg wasn’t using the right config files. Once I was it properly loaded the NVIDIA drivers. Is there a way to disable PRIME completely?

I am encountering another error: xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted.

Maybe you can help?

Thanks

-Ryan

Since your internal display has a fixed connection with the igpu only, you can only hook up and external monitor to the nvidia gpu.

So its not possible for me to have a VM running on the same screen with this laptop?

You could try to use bumblebee, maybe that will work with your vitual graphics.

Thank You

@generix Do you know how to fix

xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted

Does it have to do with the standard user not being able to access the driver?

Rather with the standard user not being logged in from console. Are you trying to start an Xserver from a terminal window?

No I am not

So when does the error message show up then?

In the xorg logs. Which happens at boot.

Here are my current logs:

nvidia-bug-report.log (127.8 KB)

These are the xserver errors I am having. Which are located in the log:

____________________________________________

xset -q:

/usr/bin/nvidia-bug-report.sh: line 906: xset: command not found
____________________________________________

nvidia-settings -q all:

Unable to init server: Could not connect: Connection refused

ERROR: Unable to find display on any available system


ERROR: Unable to find display on any available system


____________________________________________

xrandr --verbose:

Can't open display :0
____________________________________________

Running window manager properties:

Unable to detect window manager properties
____________________________________________

There’re no Xserver related logs included. Doesn’t seem any Xserver is starting at all.

1 Like