Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,872
    • Issues 2,872
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 899
    • Merge requests 899
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #5177

Closed
Open
Created Aug 04, 2021 by Christian Rauch@christian-rauch

intel vulkan hang

System information

System:
  Host: voyager Kernel: 5.11.0-25-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Gnome 3.36.9 wm: gnome-shell dm: GDM3 
  Distro: Ubuntu 20.04.2 LTS (Focal Fossa) 
CPU:
  Topology: Dual Core model: Intel Core i5-5300U bits: 64 type: MT MCP 
  arch: Broadwell rev: 4 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 18358 
  Speed: 1380 MHz min/max: 500/2900 MHz Core speeds (MHz): 1: 1380 2: 2144 
  3: 1851 4: 1679 
Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:1616 
  Display: wayland server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa compositor: gnome-shell resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) 
  v: 4.6 Mesa 21.1.6 - kisak-mesa PPA direct render: Yes 

Describe the issue

I am running a simple vulkan example from SDL, which at some point hangs after multiple window resizes. The original SDL issue is reported at https://github.com/libsdl-org/SDL/issues/4595#issue-961087951 but the stack trace indicates that this is actually a driver issue.

Reproduce:

  1. download and compile SDL with SDL_TEST enabled (compiling testvulkan.c only may also work)
  2. run ./testvulkan --resizable
  3. resize the window either via mouse or via Ctrl+Shift+{-, +}
  4. at some point the window will halt and the vulkan surface will not update anymore (the colour will stay the same and you may see black areas if the decorations are resized)

Log files as attachment

stack trace:

#0  0x00007ffff7c8c50b in ioctl () at ../sysdeps/unix/syscall-template.S:78
#1  0x00007fffec16fc20 in intel_ioctl (arg=0x7fffffffda30, request=3223872714, fd=14) at ../src/intel/common/intel_gem.h:70
#2  anv_gem_syncobj_timeline_wait (device=device@entry=0x555555e8f070, handles=handles@entry=0x7fff840010e8, points=points@entry=0x7fff840010e0, num_items=num_items@entry=1, abs_timeout_ns=<optimized out>, wait_all=wait_all@entry=true, wait_materialize=true) at ../src/intel/vulkan/anv_gem.c:713
#3  0x00007fffec1bebe9 in anv_QueuePresentKHR (_queue=0x555555aa89a0, pPresentInfo=0x7fffffffdb20) at ../src/intel/vulkan/anv_wsi.c:335
#4  0x0000555555578a32 in render () at [...]/SDL/test/testvulkan.c:1098
#5  0x0000555555578cfd in main (argc=2, argv=0x7fffffffdd68) at [...]/SDL/test/testvulkan.c:1170

sudo cat /sys/class/drm/card0/error does not report any errors.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking