Screen goes black for a second upon exiting an SDL2 application compiled by me

Now, I’m not sure whether this is an issue with SDL2 or with my graphics drivers, but I’m leaning more toward my graphics drivers having an issue.
Whenever I exit this application, I get a few seconds of black screen.

int main()
{
	if (SDL_Init(SDL_INIT_EVERYTHING) != 0) {
		fprintf(stderr, "SDL_Init Error: %s\n", SDL_GetError());
		return EXIT_FAILURE;
    }

    SDL_Window *win = SDL_CreateWindow("Hello World!", 100, 100, 620, 387, 0);
	if (win == NULL) {
		fprintf(stderr, "SDL_CreateWindow Error: %s\n", SDL_GetError());
		return EXIT_FAILURE;
	}

	SDL_Renderer *ren = SDL_CreateRenderer(win, -1,SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
	if (ren == NULL) {
		fprintf(stderr, "SDL_CreateRenderer Error: %s\n", SDL_GetError());
		if (win != NULL) {
			SDL_DestroyWindow(win);
		}
		SDL_Quit();
		return EXIT_FAILURE;
	}

    bool running = true;
    while (running)
    {
        SDL_Event e;
        while (SDL_PollEvent(&e))
        {
            switch (e.type)
            {
            case SDL_QUIT:
                running = false;
            }
        }

        SDL_RenderClear(ren);

        SDL_RenderPresent(ren);
    }

    SDL_DestroyRenderer(ren);
	SDL_DestroyWindow(win);
    SDL_Quit();

	return 0;
}

I didn’t have any issue before, and my more complex program didn’t either. But now I’ve randomly gotten this issue, that whenever an SDL2 application I make exits, my screen goes black for a second, almost like the gpu driver reboots. I’ve also tried example code which worked flawlessly before.

I’ve tried reinstalling everything related to sdl and also amdgpu.
Full output of inxi:

System:
  Kernel: 5.4.114-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=89538547-bce2-47b8-b70d-4b9ca0efaa7a rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 2 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: LENOVO product: 80TJ v: Lenovo ideapad 110-15ACL 
  serial: <filter> Chassis: type: 10 v: Lenovo ideapad 110-15ACL 
  serial: <filter> 
  Mobo: LENOVO model: Nano 5A8 v: SDK0J40679 WIN serial: <filter> UEFI: Lenovo 
  v: 1QCN20WW date: 07/07/2016 
Battery:
  ID-1: BATT charge: 11.7 Wh (100.0%) condition: 11.7/22.6 Wh (51.9%) 
  volts: 12.3 min: 10.8 model: LENOVO LCFC type: Unknown serial: <filter> 
  status: Full 
Memory:
  RAM: total: 6.7 GiB used: 1.95 GiB (29.1%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 
  type: MCP arch: Puma family: 16 (22) model-id: 30 (48) stepping: 1 
  microcode: 7030105 cache: L2: 2 MiB bogomips: 17572 
  Speed: 998 MHz min/max: 1000/2200 MHz boost: enabled Core speeds (MHz): 
  1: 998 2: 998 3: 998 4: 998 
  Flags: 3dnowprefetch abm acc_power aes aperfmperf apic arat avx bmi1 bpext 
  clflush cmov cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de 
  decodeassists extapic extd_apicid f16c flushbyasid fpu fxsr fxsr_opt ht 
  hw_pstate ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor movbe 
  msr mtrr nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat 
  pausefilter pclmulqdq pdpe1gb perfctr_llc perfctr_nb pfthreshold pge pni 
  popcnt pse pse36 ptsc rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2 
  sse4a ssse3 svm svm_lock syscall topoext tsc tsc_scale vme vmmcall wdt xsave 
  xsaveopt 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Lenovo driver: amdgpu 
  v: kernel alternate: radeon bus-ID: 00:01.0 chip-ID: 1002:9851 
  class-ID: 0300 
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 
  520 Mobile] 
  vendor: Lenovo driver: amdgpu v: kernel alternate: radeon bus-ID: 01:00.0 
  chip-ID: 1002:6660 class-ID: 0380 
  Device-3: Acer EasyCamera type: USB driver: uvcvideo bus-ID: 3-1.2:4 
  chip-ID: 5986:06b3 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD KABINI (DRM 3.35.0 5.4.114-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: AMD Kabini HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel 
  v: kernel bus-ID: 00:01.1 chip-ID: 1002:9840 class-ID: 0403 
  Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403 
  Sound Server-1: ALSA v: k5.4.114-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.26 running: no 
Network:
  Device-1: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter 
  vendor: Lenovo driver: rtl8821ae v: kernel port: 2000 bus-ID: 02:00.0 
  chip-ID: 10ec:8821 class-ID: 0280 
  IF: wlp2s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Lenovo 
  driver: r8169 v: kernel port: 1000 bus-ID: 03:00.0 chip-ID: 10ec:8136 
  class-ID: 0200 
  IF: enp3s0 state: down mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Realtek RTL8821A Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 3-1.1:3 chip-ID: 0bda:0821 class-ID: e001 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 931.51 GiB used: 213.1 GiB (22.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10JPCX-24UE4T0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 260.16 GiB size: 255.57 GiB (98.24%) 
  used: 213.07 GiB (83.4%) fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A 
  uuid: 89538547-bce2-47b8-b70d-4b9ca0efaa7a 
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) 
  used: 24.1 MiB (25.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: D680-3D2F 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 300 MiB fs: ntfs label: Recovery 
  uuid: 00067E62067E591C 
  ID-2: /dev/sda3 maj-min: 8:3 size: 128 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-3: /dev/sda4 maj-min: 8:4 size: 643.04 GiB fs: ntfs label: N/A 
  uuid: 4A188AAA188A949B 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 0438:7900 class-ID: 0900 
  Device-1: 1-1.1:3 info: A4Tech USB Device type: Keyboard,Mouse,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 09da:193f class-ID: 0300 
  Device-2: 1-1.4:4 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-5: 3-1:2 info: Advanced Micro Devices Root Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 0438:7900 class-ID: 0900 
  Device-1: 3-1.1:3 info: Realtek RTL8821A Bluetooth type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.1 speed: 12 Mb/s power: 500mA 
  chip-ID: 0bda:0821 class-ID: e001 serial: <filter> 
  Device-2: 3-1.2:4 info: Acer EasyCamera type: Video driver: uvcvideo 
  interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:06b3 
  class-ID: 0e02 serial: <filter> 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 44.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: amdgpu temp: 35.0 C device: amdgpu temp: 39.0 C 
Info:
  Processes: 183 Uptime: 22m wakeups: 1 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1431 lib: 434 
  flatpak: 0 Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.04

I’ve “fixed” this issue by installing an older kernel. Kernel 4.14 launches (while kernel 4.19 boots on a black screen forever) and lets me exit my application without any issue. But another issue arises. Wine with DXVK doesn’t work, so it seems vulkan support is worse on this kernel for me. Going even lower to version 4.4 or 4.9 breaks vulkan support fully. To the point that vkcube fails to detect my gpu. Upgrading to 5.12 did not work either, the black screen issue persisted on that version of the kernel, too.

Is there anything in the journal when you exit (journalctl -b0)?

Whenever I boot or power down my computer I get this output:

[0.004045] do_IRQ: 1.55 No irq handler for vector
[0.004045] do_IRQ: 2.55 No irq handler for vector
[0.004045] do_IRQ: 3.55 No irq handler for vector
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.

Those also appear in journalctl -b0 in the booting stage. Though there’s only info for the current session, no shutdown info.

Is there anything in the journal when the application exits?

мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27288, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27289, resource id: 10486449, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27290, resource id: 10486449, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27291, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27292, resource id: 10486451, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27293, resource id: 10486451, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27294, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27295, resource id: 10486453, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27296, resource id: 10486453, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27306, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27307, resource id: 10486457, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27308, resource id: 10486457, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27309, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27310, resource id: 10486459, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27311, resource id: 10486459, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27319, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27320, resource id: 10486463, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27321, resource id: 10486463, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27322, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27323, resource id: 10486465, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27324, resource id: 10486465, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27325, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27326, resource id: 10486467, major code: 55 (CreateGC), minor code: 0мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27288, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27289, resource id: 10486449, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27290, resource id: 10486449, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27291, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27292, resource id: 10486451, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27293, resource id: 10486451, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27294, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27295, resource id: 10486453, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27296, resource id: 10486453, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27306, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27307, resource id: 10486457, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27308, resource id: 10486457, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27309, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27310, resource id: 10486459, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27311, resource id: 10486459, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27319, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27320, resource id: 10486463, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27321, resource id: 10486463, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27322, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27323, resource id: 10486465, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27324, resource id: 10486465, major code: 72 (PutImage), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 27325, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27326, resource id: 10486467, major code: 55 (CreateGC), minor code: 0
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27327, resource id: 10486467, major code: 72 (PutImage), minor code: 0
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 35939, resource id: 81788942, major code: 15 (QueryTree), minor code: 0
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: kwin_core: XCB error: 10 (BadAccess), sequence: 36052, resource id: 1731, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: BlurConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: DesktopGridConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: KscreenConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: PresentWindowsConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: SlideConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: SlidingPopupsConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: ZoomConfig::instance called after the first use - ignoring
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27599, resource id: 10486449, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27600, resource id: 10486450, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27601, resource id: 10486451, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27602, resource id: 10486452, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27603, resource id: 10486453, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27604, resource id: 10486454, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27605, resource id: 10486463, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27606, resource id: 10486464, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27607, resource id: 10486465, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27608, resource id: 10486466, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27609, resource id: 10486467, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27610, resource id: 10486468, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27611, resource id: 10486457, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27612, resource id: 10486458, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27613, resource id: 10486459, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27614, resource id: 10486460, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:09 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 27327, resource id: 10486467, major code: 72 (PutImage), minor code: 0
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 35939, resource id: 81788942, major code: 15 (QueryTree), minor code: 0
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: kwin_core: XCB error: 10 (BadAccess), sequence: 36052, resource id: 1731, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: BlurConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: DesktopGridConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: KscreenConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: PresentWindowsConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: SlideConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: SlidingPopupsConfig::instance called after the first use - ignoring
мая 01 20:47:10 egordiac-80tj kwin_x11[1245]: ZoomConfig::instance called after the first use - ignoring
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27599, resource id: 10486449, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27600, resource id: 10486450, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27601, resource id: 10486451, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27602, resource id: 10486452, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27603, resource id: 10486453, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27604, resource id: 10486454, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27605, resource id: 10486463, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27606, resource id: 10486464, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27607, resource id: 10486465, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27608, resource id: 10486466, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27609, resource id: 10486467, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27610, resource id: 10486468, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27611, resource id: 10486457, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27612, resource id: 10486458, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 27613, resource id: 10486459, major code: 54 (FreePixmap), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 27614, resource id: 10486460, major code: 60 (FreeGC), minor code: 0
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
мая 01 20:47:11 egordiac-80tj plasmashell[1290]: qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.

So I timed the application’s exit somewhere between 20:47:09 and 20:47:11. I assume screen went black around the tenth second.