https://bugs.winehq.org/show_bug.cgi?id=46304
--- Comment #3 from Gert gw.fossdev@gmail.com --- ARB_clip_control I disabled on the host, it made the rendering of the host strace in the guest appear up-side down, since there it is not available :)
Indeed, it seems to be the same issue like the one in #17423, one difference between running the game on the host and via virgl is that on the guest it reports "wined3d_guess_card_vendor Received unrecognized GL_VENDOR "Red Hat". Returning HW_VENDOR_NVIDIA" the host is actually an AMD card with the mesa driver and virgl should also act as mesa driver.
I tried to patch wine to override this and get MESA as vendor, but then it doesn't find the PCI ID, identifies the card based on supported extensions and again falls back to a Nvidia card. By setting the VideoPci*IDs to match my host card the game is rendered correctly again.
I think, the best way to tackle this would be to add a video card table for virgl that that lists something that is not an Nvidia card, e.g. something that is Mesa/Gallium. Since I don't know the internals of wine how certain things are picked I'm not sure what would be the best approach here. Getting something that enabled features and quirks only by basing it on the available OpenGL version and extensions would probably be best.
I'll change the title of the bug to reflect that this is not exactly a duplicate of #17423, because it can be fixed by adding something for virgl that should probably be added anyway.