logoalt Hacker News

timschmidttoday at 2:19 AM2 repliesview on HN

> 90% of games work fine, but many have weird bugs like crashing when you Alt-Tab out.

This isn't particularly linux-y of an issue. I've had the same sort of behavior in numerous games on Windows, up to and including crashing the graphics driver when alt-tabing out of a full screen game. Seems to be something gamedevs are not commonly testing, and perhaps difficult to defend against when a game is directly interacting with the GPU.


Replies

oreallytoday at 3:10 AM

> Seems to be something gamedevs are not commonly testing, and perhaps difficult to defend against when a game is directly interacting with the GPU.

I can guarantee you any gamedev worth his salt will have used alt-tab at some point in the game's development on windows. It's an incredibly common hotkey to use, and the devs very likely have multiple ides, notepads, image editing software running concurrently. You seem to be trying really hard.

> when a game is directly interacting with the GPU.

Most devs are using cross platform graphics APIs. OpenGL/DirectX/Vulkan. Alt-tab breaking is likely an OS issue.

show 1 reply
KyleGospotoday at 2:32 AM

Yeah I distinctly remember a time in my life where most of my Source Engine games would explode if I alt-tabbed in Windows Vista.