[Linux] Vulkan renderer not showing menus/HUD correctly

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Post Reply
User avatar
PhysixCat
Posts: 43
Joined: Tue Jan 15, 2019 11:14 am

[Linux] Vulkan renderer not showing menus/HUD correctly

Post by PhysixCat »

System info:
- OS: Debian Sid (GNU/Linux) amd64, kernel 5.7.0-2
- GPU: NVIDIA GTX 760
- CPU: i5 4440
- nvidia-driver: 450.57-2
- gzdoom: g4.4.2

If I use the Vulkan renderer, menus/in-game HUD don't appear as you would expect them on the screen. Instead most of the time they are invisible, and for very brief moments they flicker in and out of view. This affects all the ESC menu stuff, the console, and the player HUD. It is possible to load maps and play the game, everything works fine except for the HUD being invisible most of the time (even if you mess with the screenblocks value).

If I go back to the OpenGL renderer, everything works as normal.

This problem seemed to appear after an update of some nvidia vulkan packages from Debian Sid, but Vulkan seems to work fine in every other application so far. Haven't found any bug reports on their end, so I thought I'd bring it up here.
User avatar
PhysixCat
Posts: 43
Joined: Tue Jan 15, 2019 11:14 am

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by PhysixCat »

Hello - just wondering, are there any linux users that can replicate this, or is it squarely a 'me' problem? I realize in all likelihood it's the updated vulkan package, but I'd like to understand why it's having this specific issue with GZDoom's vulkan renderer. Haven't had any other problems with other vulkan applications since the update in question.

Edit: It might be worth noting - if playing a WAD with a TITLEPIC (example, DOOM2), the titlepic will not appear and instead the screen will be completely black with no menu visible (but you can still interact with it). if playing a WAD with a TITLEMAP, such as Paradise for example, the titlemap will render correctly but there will still not be a menu visible.
User avatar
Rachael
Posts: 13916
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by Rachael »

The only thing I can suggest is trying another distro, temporarily, if you have the space for one. Try Ubuntu or Mint.
User avatar
PhysixCat
Posts: 43
Joined: Tue Jan 15, 2019 11:14 am

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by PhysixCat »

Thank you for the suggestion. Something that may be relevant to mention is that Mint is derived from Ubuntu, and Ubuntu is derived from Debian Sid. So it does worry me a bit that eventually this vulkan package will make it downstream to both of those, and the same problem will crop up with users of those. So while I could simply downgrade the package (or even switch distros, like you suggested) to fix the problem, I'm afraid that would be just postponing the problem solving for later. I would file a bug report over to the package maintainers, but I don't really know what's wrong in the first place (why other programs don't have issues, but GZD's renderer acts like that). Would you have suggestions on how I could investigate that? I didn't catch any error messages on GZD's startup console output

The problem may fix itself in a future version of the package if I don't report anything, but I'd like to increase the chances of that happening
User avatar
Rachael
Posts: 13916
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by Rachael »

In that case, what I would do is file a report directly with Debian. They should contact, or at least give you a means to contact the maintainers of the Vulkan package that seems to be faulty.

For what it's worth, GZDoom has been used, multiple times, to report issues with vendors' drivers, particularly ATI.
User avatar
PhysixCat
Posts: 43
Joined: Tue Jan 15, 2019 11:14 am

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by PhysixCat »

Just an update - I have found that the culprit is probably somewhere in version 450.57-2 of the debian sid nvidia drivers. Reverting back to the immediate previous one in sid (440.100-2) solves the issue. I will have to do more digging to do my bug reporting with the package maintainers, but I wanted to get this out there for reference.
User avatar
PhysixCat
Posts: 43
Joined: Tue Jan 15, 2019 11:14 am

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by PhysixCat »

Upgraded to newest version (450.66-1) and the problem seems to be gone. Thread can be safely closed :)
User avatar
Rachael
Posts: 13916
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [Linux] Vulkan renderer not showing menus/HUD correctly

Post by Rachael »

Good to know thanks :)
Post Reply

Return to “Technical Issues”