Skip to content

Hangs on wayland with custom resolution #19

@parov0z

Description

@parov0z

OpenGL works fine on X11 and Wayland, but after I tried to switch to Vulkan, game just got frozen.
Also in terminal I can see some repeated errors:

Vulkan: error VK_ERROR_DEVICE_LOST returned by qvkQueueSubmit(vk.queue, 1, &submit_info, VK_NULL_HANDLE) 
Vulkan: error VK_ERROR_DEVICE_LOST returned by qvkQueueWaitIdle(vk.queue)

After collecting and comparing the logs I found this:

-------- Create vk.swapchain --------
 Surface capabilities, image_extent.width: 640, image_extent.height: 480
 Swapchain image count: 4
 Create command pool: vk.command_pool 
 Create command buffer: vk.command_buffer 
 Create depth image: vk.depth_image, 1680 x 1050. 
...

I tried changing resolution to 640x480 and it worked.

Here's a part of config that I've changed and which is not working:

seta cl_renderer "vulkan"
seta r_customheight "1680"
seta r_customwidth "1050"
seta r_fullscreen "1"
seta r_mode "-1"

Commandline to launch game with native wayland window: SDL_VIDEODRIVER=wayland quake3

terminal output with 640x480 resolution:
lowres.log

terminal output with custom resolution when game freezes:
custom.log

inxi-SCG.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions