OpenGL on Windows 10 VM

j.io

Member
Mar 16, 2021
98
6
13
37
Hi all,

I have Proxmox running on a Dell T20 (no dedicated graphics card). There I have a Windows VM where I would like to install DiaLUX, a program for lightning design, which uses OpenGL. I cannot install it since it seems to miss OpenGL drivers and on the Intel page it says that the hardware is outdated. Before I used this PC as a Proxmox host, I ran Windows 10 natively and was able to install DiaLUX, so the issue must be with Proxmox. The hardware itself can run the software.

I was digging through lots of threads and trying lots of things but nothing worked - even so much different things that I am just confused by now. Could you give me some structural approach what to try? Really much appreciated.
 
you can try this here...i got some cad working on a kvm win 10 terminalserver:

https://github.com/pal1000/mesa-dist-win/releases
Thank you, this did not work unfortunately ... If I pass through the on-board GPU, it gives a warning in the hardware manager and when updating the driver it says "latest driver already installed" ... The DiaLUX setup complains with "Please install the latest OpenGL driver for your hardware".
 
Did you make sure the graphics driver is blacklisted in the proxmox host?
I have little experience with actual gpu pass through, but this is a requirement [0] so that proxmox doesn´t interfere with the gpu that's passed through.
Also you should double check if al the other hints and tips in the wiki article have been met.
A Windows VM might seem the same as native but it's still a VM. Although you pass through 1 device, there still is a virtualization layer in between Windows and the actual (rest of the) hardware. There are also software vendors who build (undocumented) checks into their software to disable running it on virtual hardware, sometimes because of licensing, sometimes because of support.
You could ask the vendor if they support running it in KVM/QEMU, and what the requirement would be.

You might also want to try VirGL GPU (virtio-gl) [1].
There is a thread about it [2].

[0] https://pve.proxmox.com/wiki/PCI(e)_Passthrough
[1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_virtual_machines_settings
[2] https://forum.proxmox.com/threads/virglrenderer-for-3d-support.61801/
 
VirGL GPU does not even allow me to start the VM. It fails with:

TASK ERROR: no DRM render node detected (/dev/dri/renderD*), no GPU? - needed for 'virtio-gl' display
 
Did you run apt install libgl1 libegl1 on the host as pointed out in the admin guide?
Also, if you blacklisted your graphics driver on the host in the process of pci pass through, now you should undo that change (no graphics driver blacklist).
You can check on your host if your graphics driver is loaded with lsmod.
 
Did you run apt install libgl1 libegl1 on the host as pointed out in the admin guide?
Yes.

Also, if you blacklisted your graphics driver on the host in the process of pci pass through, now you should undo that change (no graphics driver blacklist).
You can check on your host if your graphics driver is loaded with lsmod.
So no PCIe passthrough for VirGL?

EDIT:

I did this and I assume that VirGL does work, see my screenshot.

1655399063568.png

However, I can still not install DIALux ...

Screenshot 2022-06-16 at 19.05.02.png
 
Last edited:
EDIT 2:

If I install DIALux with an option that allows to overcome the OpenGL test and install it anyway, the installer completes, I reboot and am able to start the program. During the startup sequence the applications crashes without any notice. I assume it does not find any of the required files / DLLs regarding OpenGL.
 
Thanks for posting the extra edit.
So no PCIe passthrough for VirGL?
You are correct, yes. The VirGL option requires that the gpu is available and running with loaded drivers in the host system, so it won't be able to pass through if you are using this.
But now I have to admit that I forgot one important thing with VirGL: it's not (yet, if ever) available in Windows guests :oops:. For now it's just linux guests as far as I know [0]. So my proposal for using VirGL is useless as you are using a Windows Guest. So try no further on that path as long as you are using a Windows vm for that.

Another thing I noticed, that if you still want to do pass through, you are doing it with an integrated gpu.
Don't know if this is the most recent status, but it doesn't look promising [1].
So igpu seems like a tricky path, perhaps that's the reason that the drivers wouldn't load completely in your first post.

Unlike linux and floss this software runs only on windows and most stuff is closed source there (including dialux), so monitoring and digging into software/hardware checks is almost not doable without reverse engineering and using f.e. sysinternals tools [2]. Can be fun though, although time consuming, was once part of my job before I converted to using mainly floss.
As mentioned before you could ask the vendor and they appear to answer on their forum, but seeing this rather old post [3], I don't have much hope.

Still however, if you would try a dedicated gpu card in a free pci slot, perhaps passing through that one could work.
Maybe you could loan a card before buying one and experiment with that.

[0] https://docs.mesa3d.org/drivers/virgl.html
[1] https://forum.proxmox.com/threads/igpu-passthrough-not-working.88110/post-387836
[2] https://docs.microsoft.com/en-us/sysinternals/
[3] https://dxboard.dialux.com/viewtopic.php?t=82334
 
Last edited:
  • Like
Reactions: glootie
Still however, if you would try a dedicated gpu card in a free pci slot, perhaps passing through that one could work.
Maybe you could loan a card before buying one and experiment with that.
Thank you for your extensive answer. I guess this is the last resort. Unfortunately I do not have a dedicated graphics card available, so I will most probably change one of my Proxmox nodes into a native machine to run that software natively ... :(
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!