You are not logged in.

#1 2024-03-09 16:51:43

tsutariku
Member
Registered: 2024-03-09
Posts: 3

[SOLVED] Screen flickering on Minecraft window

Hello, I'm still relatively new to arch (~3 months) and I'm noticing issues while playing Minecraft. The window flickers to black when ever I open a world or join a server and I'm not sure why or how to fix it. This issue doesn't arise with any other game I play so it may just be a Minecraft issue, but I'm not sure. Any help would be appreciated smile

I'm using KDE Plasma with proprietary NVIDIA drivers.

lscpu

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      39 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             16
On-line CPU(s) list:                0-15
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Core(TM) i7-10700F CPU @ 2.90GHz
CPU family:                         6
Model:                              165
Thread(s) per core:                 2
Core(s) per socket:                 8
Socket(s):                          1
Stepping:                           5
CPU(s) scaling MHz:                 17%
CPU max MHz:                        4800.0000
CPU min MHz:                        800.0000
BogoMIPS:                           5802.42
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi pku ospke md_clear flush_l1d arch_capabilities
Virtualization:                     VT-x
L1d cache:                          256 KiB (8 instances)
L1i cache:                          256 KiB (8 instances)
L2 cache:                           2 MiB (8 instances)
L3 cache:                           16 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-15
Vulnerability Gather data sampling: Mitigation; Microcode
Vulnerability Itlb multihit:        KVM: Mitigation: VMX disabled
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed:             Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Mitigation; Microcode
Vulnerability Tsx async abort:      Not affected

lspci

00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:15.0 Serial bus controller: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Device 06bc (rev f0)
00:1f.0 ISA bridge: Intel Corporation H470 Chipset LPC/eSPI Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980 (DRAM-less)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Killer E2600 GbE Controller (rev 21)

Last edited by tsutariku (2024-03-09 21:28:06)

Offline

#2 2024-03-09 17:12:49

onemyndseye
Banned
Registered: 2010-06-18
Posts: 45

Re: [SOLVED] Screen flickering on Minecraft window

** Message Deleted **

Last edited by onemyndseye (2024-03-20 18:03:32)

Offline

#3 2024-03-09 21:06:21

tsutariku
Member
Registered: 2024-03-09
Posts: 3

Re: [SOLVED] Screen flickering on Minecraft window

onemyndseye wrote:

If you are running in a Wayland session you might have some luck switching to Xorg

I'll try this, thank you.

Offline

#4 2024-03-09 21:20:01

tsutariku
Member
Registered: 2024-03-09
Posts: 3

Re: [SOLVED] Screen flickering on Minecraft window

onemyndseye wrote:

If you are running in a Wayland session you might have some luck switching to Xorg

Xorg did not resolve the issue.

I'm an idiot and somehow missed actually switching to Xorg. This solved my issue, thank you.

Last edited by tsutariku (2024-03-09 21:26:51)

Offline

#5 2024-03-11 01:20:18

thrimbor
Member
Registered: 2024-02-26
Posts: 6

Re: [SOLVED] Screen flickering on Minecraft window

I don't know whether that info is of interest to you, but that issue occurs when the framerate of the application falls below the refresh rate of the monitor. It was introduced by the nvidia 545 driver, along with several other graphical issues (such as older frames being displayed again), and only appears on Wayland (actually xwayland I heard, but I'm not sure).

I had the driver downgraded to 535 for a while because of this. 550 seems to have made the issue occur less often, but it's still not fixed.

Offline

#6 2024-03-12 16:37:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,811

Re: [SOLVED] Screen flickering on Minecraft window

You can test the explicit sync xwayland patches, which should further reduce this, and things are slated for this to get integrated accross the mesa/kernel/xwayland/nvidia stack in the future: https://aur.archlinux.org/packages/xorg … t-sync-git

Offline

Board footer

Powered by FluxBB