Closed bluesillybeard closed 7 months ago
But the starfield is also nice.
Your Kinc revision is 5697b892 by the way aka the Git revision.
Seems tricky, so far nobody can reproduce this problem.
I was unable to reproduce on Fedora so I setup a Pop!_OS VM. Not able to reproduce there as well.
Huh, weird. I'll try to reproduce the issue on a fresh Pop!_OS install, so I know what's wrong with my system.
Our Mr logo couldn't even repro on Pop!_OS.
Edit: Oh, that actually was Mr logo up there, sorry.
When I switch to integrated graphics or hybrid graphics, the problem goes away. So, it is specific to nvidia.
Unless you have an nvidia GPU, I don't see an easy way to debug this. I'll try to fix it myself and submit a PR, although I don't know a lot about X11 so it might take me a while.
Describe the bug On Windows (Win32 + Vulkan) it works fine (in a virtual machine with a software implementation of Vulkan)
On Linux, (X11 + Vulkan), the window opens but nothing is rendered on the viewport, and it's unresponsive (it won't respond to any event, such as closing or resizing).
To Reproduce Compile the empty example
./make --from Tests/Empty --compile --target linux --arch x86_64 --graphics vulkan
Run the examplecd Tools/Empty/Deployment
./Empty
Expected behavior A triangle is drawn and the window closes when the X is pressed
Execution Environment:
Additional context The same thing happens when I translate the code from
Tests/Empty/shader.c
into Zig and link it with kinc's static library.