Minecraft multiplayer - lagging

Welcome,
I am new to the Linux world, but have encountered a problem that irritates me.

When playing Minecraft in single player mode, the game runs around 2000-5000 fps, but after entering the multiplayer server, the game does not exceed 100 fps.

Does anyone know why this is happening? Below I am inserting a link to a video that presents the problem in more detail.

Link to the video: Linux Garuda - problem (Minecraft multiplayer) - YouTube

That's a problem with the Minecraft server, ask the server admin for it.

Also, to be honest it's pointless to have Minecraft at more than 60 FPS.

2 Likes

I doubt this is a server side problem because as I move away from the players the frames suddenly go up to around 500-1000fps.

In my opinion, it makes sense to play Minecraft at over 60 fps, because the gameplay is completely different than at lower fps.

What hardware do you have? You missed the request for information contained in the topic template.

So - it’s dependent on multiplayer aspects? Have you checked things like CPU use in this specific situation that could be bottlenecking your FPS?

How can you tell, given your monitor is refreshing at 60Hz?

1 Like

Oh, yeah, my mistake...
CPU: Intel Core i5-8400
GPU: GIGABYTE GTX 1060 3GB
RAM: 16 GB (2666 mHz)
Motherboard: ASUS B360-PLUS

During low frames in multiplayer, the CPU runs at 30-50%, which is normal.

As for the monitor, I have 144 Hz, not 60.

Actually this means:

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

garuda-inxi

Personally, I still believe this is a server side problem, if the performance is good in single player.
Or maybe somewhere in the involved packages (much more unlikely).
But I really don’t see it as a Garuda problem.

1 Like

Sorry, but I was not at the computer, that's why I wrote my specification in this way.

System:
Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=3622471e-413b-4367-ab46-e0bfa86fc009 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME B360-PLUS v: Rev 1.xx
serial: <superuser required> UEFI: American Megatrends v: 1101
date: 11/15/2018
CPU:
Info: model: Intel Core i5-8400 bits: 64 type: MCP arch: Coffee Lake
family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xEC
Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
desc: 1x9 MiB
Speed (MHz): avg: 3800 min/max: 800/4000 scaling: driver: intel_pstate
governor: performance cores: 1: 3800 2: 3800 3: 3800 4: 3800 5: 3800
6: 3800 bogomips: 33599
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] vendor: Gigabyte
driver: nvidia v: 510.60.02 alternate: nouveau,nvidia_drm pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1c02 class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 84 s-size: 1162x327mm (45.75x12.87")
s-diag: 1207mm (47.52")
Monitor-1: DVI-D-0 pos: primary,left res: 1920x1080 hz: 60 dpi: 119
size: 410x230mm (16.14x9.06") diag: 470mm (18.51") modes: N/A
Monitor-2: HDMI-0 pos: primary,right res: 1920x1080 dpi: 92
size: 532x304mm (20.94x11.97") diag: 613mm (24.12") modes: N/A
OpenGL: renderer: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
v: 4.6.0 NVIDIA 510.60.02 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Device-2: NVIDIA GP106 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f1 class-ID: 0403
Device-3: C-Media Blue Snowball type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-10:7 chip-ID: 0d8c:0005
class-ID: 0300 serial: <filter>
Device-4: SteelSeries ApS Arctis 5 type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-9:5 chip-ID: 1038:12aa
class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK PRIME B450M-A driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.44 TiB used: 331.44 GiB (13.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Lexar model: 1TB SSD
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: T0709E0L
temp: 49.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WDS120G2G0B-00EPW0 size: 111.8 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 0000
scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM010-2EP102
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC43
scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 type: USB vendor: Samsung
model: Portable SSD T5 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B type: SSD serial: <filter> scheme: MBR
ID-5: /dev/sdd maj-min: 8:48 type: USB vendor: Generic model: Flash Disk
size: 58.59 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> rev: 8.07 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 63.9 GiB (6.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 63.9 GiB (6.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 63.9 GiB (6.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
used: 63.9 GiB (6.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.54 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 56 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 285 Uptime: 31m wakeups: 0 Memory: 15.55 GiB
used: 3.86 GiB (24.8%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1793 lib: 520 Shell: fish v: 3.4.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-04-27
Last full system update: 2022-04-28
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service
McFly: Upgrading McFly DB to version 3, please wait...thread 'main' panicked at 'McFly error: Unable to add cm
d_tpl to commands (duplicate column name: cmd_tpl)', src/history/schema.rs:41:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The first thing that comes to mind would be to try connecting to a few other servers besides that one, and see what kind of performance you observe.

2 Likes

I have already tried to connect to different servers and still the same :confused:

I see you have only an Ethernet card, no WiFi.
Have you tried replacing your network cable?
It would not be the first time I see randomly disconnecting Ethernet connections due to cabling issues. Maybe this could have an unnoticeable effect on general usability but bad side effects on Minecraft.

1 Like