我现在在多个游戏中都遇到了这个问题,每当游戏帧率低于 60 时,游戏看起来就像以 20fps 运行。关闭 Vsync 会使情况变得更糟,游戏甚至在高于 60fps 时看起来都很卡。我已经在全新安装的 Ubuntu 22.04、Kubuntu 22.04、KDE Neon、Linux Mint 21.3(这是我的主要发行版)上进行了测试,它们都存在此问题。但是 Ubuntu 22.10 和 23.04 没有这个问题。有什么想法可能导致此问题吗?谢谢!
inxi 输出:
> System:
Host: ovidiu-pc Kernel: 5.19.0-41-generic x86_64 bits: 64 compiler: N/A
Desktop: KDE Plasma 5.24.7 Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
Type: Desktop System: ASUS product: All Series v: N/A
serial: <superuser required>
Mobo: ASUSTeK model: H81M-C v: Rev X.0x serial: <superuser required>
BIOS: American Megatrends v: 3501 date: 10/21/2016
CPU:
Info: quad core model: Intel Xeon E3-1240 v3 bits: 64 type: MT MCP
arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 806 high: 850 min/max: 800/3800 cores: 1: 800 2: 800
3: 850 4: 800 5: 800 6: 800 7: 800 8: 800 bogomips: 54399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: Sapphire Nitro+ driver: amdgpu v: kernel bus-ID: 01:00.0
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1: 1920x1080~60Hz
2: 1920x1080~60Hz
OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 15.0.6 DRM
3.47 5.19.0-41-generic)
v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: Sapphire driver: snd_hda_intel v: kernel bus-ID: 01:00.1
Sound Server-1: ALSA v: k5.19.0-41-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK H81M-C driver: r8169 v: kernel port: d000 bus-ID: 03:00.0
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.59 TiB used: 353.83 GiB (21.7%)
ID-1: /dev/sda vendor: Seagate model: ST3500418AS size: 465.76 GiB
ID-2: /dev/sdb vendor: Seagate model: ST3500418AS size: 465.76 GiB
ID-3: /dev/sdc vendor: Western Digital model: WD5000AAKX-08U6AA0
size: 465.76 GiB
ID-4: /dev/sdd type: USB vendor: Western Digital
model: WD2500BMVV-11GNWS0 size: 232.86 GiB
Partition:
ID-1: / size: 227.65 GiB used: 13.37 GiB (5.9%) fs: ext4 dev: /dev/sdd3
ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat
dev: /dev/sdd2
Info:
Processes: 294 Uptime: 29m Memory: 15.56 GiB used: 4.1 GiB (26.4%)
Init: systemd runlevel: 5 Compilers: gcc: N/A Packages: 1990 Shell: Bash
v: 5.1.16 inxi: 3.3.13
答案1
我想我找到了答案。看来从 x11 切换到 wayland 就成功了。想想我花了好几天才弄清楚……捂脸
答案2
这是新内核的一个常见问题。这里是分割锁检测出了问题。
您需要禁用它。
编辑/etc/default/grup
文件,将该行附加GRUB_CMDLINE_LINUX_DEFAULT=
到引号中,在该行末尾添加一个空格split_lock_detect=off
。
该行应如下所示...
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=on split_lock_detect=off"