(Intel GPU) Any suggetions on how to debug why this happens?

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
KynikossDragonn
Posts: 272
Joined: Sat Dec 12, 2020 10:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Void Linux
Graphics Processor: Intel (Modern GZDoom)
Location: Independence, KS, USA
Contact:

(Intel GPU) Any suggetions on how to debug why this happens?

Post by KynikossDragonn »

So I've been having this happen and I'd like to try to understand why it's happening and why it's always consistently this triangle that's messing up under these same conditions:

(not pictured, it's wobbling and distorting every single frame chaotically until I look back up)

I have this same issue cropping up in various other maps too, it's always a single triangle not the entire "quad" that messes up, when it happens in a certain map it's guaranteed to always happen in that spot I find it in, and I have no idea the rhyme of reason why this is so reproducible.

I'm on open source drivers but not debug builds of them, I suppose I should try and locally build debug versions and LD_PRELOAD those into gzdoom on launch huh?

Code: Select all

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Iris(R) Pro Graphics 580 (SKL GT4) (0x193b)
    Version: 21.2.3
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

Code: Select all

GPU0:
VkPhysicalDeviceProperties:
---------------------------
        apiVersion        = 4202678 (1.2.182)
        driverVersion     = 88088579 (0x5402003)
        vendorID          = 0x8086
        deviceID          = 0x193b
        deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName        = Intel(R) Iris(R) Pro Graphics 580 (SKL GT4)
        pipelineCacheUUID = fa757e10-099a-6710-3cd2-61f52f114045
I've asked someone if gzdoom has any kind of verbosity when it comes to it's rendering methods so I could try and narrow down the conditions for triggering this graphical error, but I've been told there are none...
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: (Intel GPU) Any suggetions on how to debug why this happ

Post by _mental_ »

For Vulkan, toggle vk_debug CVAR to enable validation layers support. Of course, you need to have them installed first. Vulkan SDK is the most obvious way to get them.
User avatar
KynikossDragonn
Posts: 272
Joined: Sat Dec 12, 2020 10:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Void Linux
Graphics Processor: Intel (Modern GZDoom)
Location: Independence, KS, USA
Contact:

Re: (Intel GPU) Any suggetions on how to debug why this happ

Post by KynikossDragonn »

Ah, okay. Since the same problem happens even in Vulkan, I'm going to hope something turns up there, but I guess there's no easy way to debug the OpenGL renderer?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: (Intel GPU) Any suggetions on how to debug why this happ

Post by _mental_ »

It depends on your "debug the renderer" definition. Try https://renderdoc.org/ or https://github.com/apitrace/apitrace .
User avatar
KynikossDragonn
Posts: 272
Joined: Sat Dec 12, 2020 10:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Void Linux
Graphics Processor: Intel (Modern GZDoom)
Location: Independence, KS, USA
Contact:

Re: (Intel GPU) Any suggetions on how to debug why this happ

Post by KynikossDragonn »

_mental_ wrote:It depends on your "debug the renderer" definition.
Oh, of course what I'm after basically is trying to narrow down, and capture the exact state and series of calls that results in that rendering bug happening on here, so I could hope someone that works on these drivers will take a closer look at and figure out how to fix or work around the problem. It's just bizarre to me this happens so easily under GZDoom but not under most other things.
Post Reply

Return to “Technical Issues”