Putting any video in fullscreen makes the screen go black when using OpenGL. (Does not happen in XRender)

Whenever I put any application in fullscreen using OpenGL 3.1 or OpenGL 2.0 backend, the whole screen goes black until full screen is exited. When switching to XRender this does not happen.

What I have tried:
Switching from 3.1 to 2.0
Disabling all desktop effects
Disabling second monitor
Turning off: "allow applications to block compositing:"

Post your terminal/konsole in- and output as text (no pictures) from:

System:    Kernel: 5.14.10-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0  
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=3d404981-62bb-4196-b640-e5c3ea47f873  
rw [email protected] quiet
cryptdevice=UUID=0d752759-60d8-4be7-a531-53f47115bde1:luks-0d752759-60d8-4be7-a531-53f47115bde1
root=/dev/mapper/luks-0d752759-60d8-4be7-a531-53f47115bde1 splash rd.udev.log_priority=3
vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
resume=/dev/mapper/luks-5230ab4a-88d7-46b2-ba4c-6a97a360a01e loglevel=3
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM  
Distro: Garuda Linux base: Arch Linux  
Machine:   Type: Desktop Mobo: Micro-Star model: X470 GAMING PLUS (MS-7B79) v: 2.0 serial: <filter>  
UEFI: American Megatrends v: A.H0 date: 06/12/2020  
CPU:       Info: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ family: 17 (23)  
model-id: 8 stepping: 2 microcode: 800820D cache: L2: 3 MiB  
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92404  
Speed: 3850 MHz min/max: N/A Core speeds (MHz): 1: 3850 2: 3850 3: 3850 4: 3850 5: 3850 6: 3850  
7: 3850 8: 3850 9: 3850 10: 3850 11: 3719 12: 3850  
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, IBPB: conditional, STIBP: disabled, RSB filling  
Type: srbds status: Not affected  
Type: tsx_async_abort status: Not affected  
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ZOTAC driver: nvidia v: 470.74  
alternate: nouveau,nvidia_drm bus-ID: 27:00.0 chip-ID: 10de:1b81 class-ID: 0300  
Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: nvidia display-ID: :0  
screens: 1  
Screen-1: 0 s-res: 3600x1080 s-dpi: 80 s-size: 1143x343mm (45.0x13.5") s-diag: 1193mm (47")  
Monitor-1: DP-1 res: 1680x1050 hz: 60 dpi: 90 size: 473x265mm (18.6x10.4") diag: 542mm (21.3")  
Monitor-2: DP-2 res: 1920x1080 dpi: 82 size: 598x336mm (23.5x13.2") diag: 686mm (27")  
OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 470.74 direct render: Yes  
Audio:     Device-1: NVIDIA GP104 High Definition Audio vendor: ZOTAC driver: snd_hda_intel v: kernel  
bus-ID: 27:00.1 chip-ID: 10de:10f0 class-ID: 0403  
Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel  
bus-ID: 29:00.3 chip-ID: 1022:1457 class-ID: 0403  
Sound Server-1: ALSA v: k5.14.10-zen1-1-zen running: yes  
Sound Server-2: sndio v: N/A running: no  
Sound Server-3: JACK v: 1.9.19 running: no  
Sound Server-4: PulseAudio v: 15.0 running: no  
Sound Server-5: PipeWire v: 0.3.38 running: yes  
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI  
driver: r8169 v: kernel port: e000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200  
IF: enp34s0 state: down mac: <filter>  
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: TP-LINK TG-3468  
driver: r8169 v: kernel port: d000 bus-ID: 24:00.0 chip-ID: 10ec:8168 class-ID: 0200  
IF: enp36s0 state: up speed: 1000 Mbps duplex: full mac: <filter>  
IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A  
Drives:    Local Storage: total: 9.98 TiB used: 2.79 TiB (27.9%)  
SMART Message: Unable to run smartctl. Root privileges required.  
ID-1: /dev/sda maj-min: 8:0 model: SATA SSD size: 223.57 GiB block-size: physical: 512 B  
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: BB.3 scheme: GPT  
ID-2: /dev/sdb maj-min: 8:16 model: SATA SSD size: 447.13 GiB block-size: physical: 512 B  
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: J1.3 scheme: GPT  
ID-3: /dev/sdc maj-min: 8:32 vendor: HP model: MB2000EAZNL size: 1.82 TiB block-size:  
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: HPG3  
scheme: MBR  
ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q
scheme: GPT
ID-5: /dev/sde maj-min: 8:64 type: USB vendor: Western Digital model: WD My Book 25ED
size: 7.28 TiB block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 1031
scheme: GPT
Partition: ID-1: / raw-size: 198.2 GiB size: 198.2 GiB (100.00%) used: 73.41 GiB (37.0%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d752759-60d8-4be7-a531-53f47115bde1
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%) used: 706 KiB (0.3%) fs: vfat
dev: /dev/sdd1 maj-min: 8:49
ID-3: /home raw-size: 198.2 GiB size: 198.2 GiB (100.00%) used: 73.41 GiB (37.0%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d752759-60d8-4be7-a531-53f47115bde1
ID-4: /var/log raw-size: 198.2 GiB size: 198.2 GiB (100.00%) used: 73.41 GiB (37.0%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d752759-60d8-4be7-a531-53f47115bde1
ID-5: /var/tmp raw-size: 198.2 GiB size: 198.2 GiB (100.00%) used: 73.41 GiB (37.0%) fs: btrfs
dev: /dev/dm-0 maj-min: 254:0 mapped: luks-0d752759-60d8-4be7-a531-53f47115bde1
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.3 GiB used: 2 MiB (0.0%) priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.43 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-1
maj-min: 254:1 mapped: luks-5230ab4a-88d7-46b2-ba4c-6a97a360a01e
Sensors:   System Temperatures: cpu: 45.9 C mobo: N/A gpu: nvidia temp: 39 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:      Processes: 386 Uptime: 2h 57m wakeups: 0 Memory: 31.3 GiB used: 9.71 GiB (31.0%) Init: systemd
v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1881 lib: 507
Shell: fish v: 3.3.1 running-in: konsole inxi: 3.3.06
1 Like

Ahh I got the same issue some time. When you detach the window from maximized and resize it, and then press full screen in the application it should work.

I had a fix for this somewhere..
For me the default shortcut alt+shift+F12 suspends compositor and then it works.

https://bbs.archlinux.org/viewtopic.php?id=260123

2 Likes

Missing

System:    Kernel:

Sorry, it was there, just accidentally has it on the same level as the formatting, fixed it.

1 Like

So, if the window isn't maximized, it does work, but I'd rather have a maximized application, I'm visually impaired, and it's difficult for me to navigate non-maximized windows.

1 Like