NVK Zink: Unigine Valley benchmark can not start (GLXBadCurrentWindow) [RTX 2080 Ti]
System information
- OS: Fedora 39 (Workstation)
- GPU: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti Rev. A] [10de:1e07] (rev a1)
- Kernel version: 6.10.0-0.rc0.20240521gt8f6a15f0.209.vanilla.fc39.x86_64
- Mesa version: 4.3 (Compatibility Profile) Mesa 24.2.0-devel (git-175d2d68)
- Xserver version (if applicable): .Org X Server 1.20.14, X Protocol Version 11, Revision 0
- Desktop manager and compositor: KDE Plasma, kwin_wayland
timothy@x399-aorus:~/packages/Unigine_Valley-1.0$ inxi -GSC -xx
System:
Host: x399-aorus
Kernel: 6.10.0-0.rc0.20240521gt8f6a15f0.209.vanilla.fc39.x86_64 arch: x86_64
bits: 64 compiler: gcc v: 2.40-14.fc39
Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.13 wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 39 (Workstation Edition)
CPU:
Info: 24-core model: AMD Ryzen Threadripper 2970WX bits: 64 type: MT MCP
arch: Zen+ rev: 2 cache: L1: 2.2 MiB L2: 12 MiB L3: 64 MiB
Speed (MHz): avg: 2273 high: 3615 min/max: 2200/3000 boost: enabled cores:
1: 2200 2: 2200 3: 2200 4: 2200 5: 1900 6: 2200 7: 2200 8: 2196 9: 2200
10: 2200 11: 2200 12: 2200 13: 2200 14: 3000 15: 2200 16: 2200 17: 2200
18: 2200 19: 2200 20: 2200 21: 2200 22: 3268 23: 2063 24: 2200 25: 2200
26: 2200 27: 2200 28: 2200 29: 2200 30: 2200 31: 2200 32: 2200 33: 2195
34: 2200 35: 2200 36: 2200 37: 2200 38: 2200 39: 2200 40: 2200 41: 2200
42: 2200 43: 3000 44: 2200 45: 2200 46: 3615 47: 2200 48: 2083
bogomips: 287418
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Shenzhen Colorful
Yugong and Development driver: nouveau v: kernel arch: Pascal pcie:
speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-1,DVI-D-1,HDMI-A-1
bus-ID: 08:00.0 chip-ID: 10de:1c82 temp: 37.0 C
Device-2: NVIDIA TU102 [GeForce RTX 2080 Ti Rev. A] vendor: Micro-Star MSI
driver: nouveau v: kernel arch: Turing pcie: speed: 8 GT/s lanes: 16 ports:
active: DP-3,DP-4,HDMI-A-2 empty: DP-2,DP-5 bus-ID: 41:00.0
chip-ID: 10de:1e07
Device-3: Microsoft LifeCam HD-5000 driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 9-3:4 chip-ID: 045e:076d
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.6
compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: nouveau gpu: nouveau,nouveau d-rect: 4720x3360 display-ID: 0
Monitor-1: DP-3 pos: top-center res: 1080x1920 size: N/A
Monitor-2: DP-4 pos: top-right res: 1080x1920 size: N/A
Monitor-3: HDMI-A-2 pos: bottom-l res: 2560x1440 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: nouveau
device: 2 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau wayland:
drv: nouveau x11: drv: nouveau
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: N/A glx-v: 1.4
direct-render: yes renderer: NV162 device-ID: 10de:1e07 display-ID: :1.0
API: Vulkan v: 1.3.275 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: N/A device-ID: 10de:1e07 device: 1 type: cpu
driver: N/A device-ID: 10005:0000
timothy@x399-aorus:~/packages/Unigine_Valley-1.0$
Describe the issue
I installed the latest daily kernel from Fedora copr repository (vanilla kernel). I built libdrm and mesa from git, and installed locally.
Trying to run Unigine Valley 1.0 benchmark, max settings, single monitor QHD resolution (2560x1440).
The OpenGL window for the benchmark never opens, I get the following errors from ./valley executable in the console output:
- CreateSwapchainKHR failed
- GLXBadCurrentWindow
timothy@x399-aorus:~/packages/Unigine_Valley-1.0$ NOUVEAU_USE_ZINK=1 ./valley
Loading "/home/timothy/.Valley/valley_1.0.cfg"...
Loading "libGPUMonitor_x64.so"...
Loading "libGL.so.1"...
Loading "libopenal.so.1"...
Set 2560x1440 fullscreen video mode
MESA: error: CreateSwapchainKHR failed with VK_ERROR_OUT_OF_DEVICE_MEMORY
MESA: error: zink:could not create swapchain
MESA: error: CreateSwapchainKHR failed with VK_ERROR_OUT_OF_DEVICE_MEMORY
MESA: error: zink: could not create swapchain
Set 1.00 gamma value
Unigine engine http://unigine.com/
....
....
---- Render ----
GLRender::GLRender(): Unknown NVidia GPU
OpenGL vendor: Mesa
OpenGL renderer: zink Vulkan 1.3(NVIDIA GeForce RTX 2080 Ti (NVK TU102) (MESA_NVK))
OpenGL version: 4.6 (Core Profile) Mesa 24.2.0-devel (git-175d2d680a)
OpenGL flags: Core Profile
Found required GL_ARB_map_buffer_range
....
....
Loading "core/properties/unigine.prop" 2 properties 0ms
X Error of failed request: **GLXBadCurrentWindow**
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 11 (X_GLXSwapBuffers)
Serial number of failed request: 143
Current serial number in output stream: 143
Regression
This is a regression
It worked in the past when I tested with: mesa 24.1.0-dev - Linux 6.8.0-rc6
Log files as attachment
- There is no error from
dmesg
, see output here https://pastebin.com/wYp8VMEY - apitrace: https://drive.google.com/file/d/1uLzeXTk68y6qn7SyxeMyHiWjypie4XdS/view?usp=sharing
Screenshots/video files (if applicable)
Any extra information would be greatly appreciated
Worked with native OpenGL - without Zink (but slower !)
Same issue with Unigine Heaven 4.0.
Same issue with 1920x1080 windowed, and with RTX 3090 (Fedora 39)