Hello everyone, so I was running the game fine yesterday, I think I updated to Fedora 40 then the crashes started happened but can’t remember for sure, how should I fix this issue? I will put the crash report summary below. Also I am using the launcher from the site, not the flatpak.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd3dcbc1457, pid=85167, tid=85169
#
# JRE version: OpenJDK Runtime Environment Microsoft-9388422 (21.0.3+9) (build 21.0.3+9-LTS)
# Java VM: OpenJDK 64-Bit Server VM Microsoft-9388422 (21.0.3+9-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [nouveau_dri.so+0x9c1457]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /.minecraft/core.85167)
#
# If you would like to submit a bug report, please visit:
# https://aka.ms/minecraftjavacrashes
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -Xss1M -Djava.library.path=/.minecraft/bin/44685878b69bb36a6fb05390c06c8b0243d34f57 -Djna.tmpdir=/.minecraft/bin/44685878b69bb36a6fb05390c06c8b0243d34f57 -Dorg.lwjgl.system.SharedLibraryExtractPath=/.minecraft/bin/44685878b69bb36a6fb05390c06c8b0243d34f57 -Dio.netty.native.workdir=/.minecraft/bin/44685878b69bb36a6fb05390c06c8b0243d34f57 -Dminecraft.launcher.brand=minecraft-launcher -Dminecraft.launcher.version=2.28.11 -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dlog4j.configurationFile=/.minecraft/assets/log_configs/client-1.12.xml net.minecraft.client.main.Main --username AveryFB --version 1.21 --gameDir /.minecraft --assetsDir /.minecraft/assets --assetIndex 17 --uuid 2ea7c5afb7494432a80780bac750cb9c --clientId qTgr3OQWqvHaL/Jc6KK4hS68PzkxVj6T2Cbita8I3UKaLeHXRWeHIhZ4JqNTwIPX --xuid 2535405434516536 --userType msa --versionType release --quickPlayPath /.minecraft/quickPlay/java/1722836432043.json
Host: 12th Gen Intel(R) Core(TM) i5-12400F, 12 cores, 15G, Fedora release 40 (Forty)
Time: Sun Aug 4 22:44:13 2024 MST elapsed time: 221.543388 seconds (0d 0h 3m 41s)
The error shows it’s an issue with the graphics driver:
Problematic frame:
C [nouveau_dri.so+0x9c1457]
Further down it then says:
See problematic frame for where to report the bug.
You’d want to file a bug with the team that manages that driver. Also, what is your hardware setup? Are you on a laptop with an Nvidia and Intel GPU? If so then you need to use a command to launch MC using the Nvidia driver and not the Nouveau driver.
I am on a desktop with NVIDIA and Intel CPU the Intel Core i5 12400F. Do you know what that command would be? I should have Nvidia drivers. The game seems to work fine other than when I used an Elytra and loaded too much at once seemingly was the issue but I am not 100%.
I play Minecraft on a daily basis and it is rock solid.
I currently use an AMD Ryzen 7 5700G with Radeon Graphics cpu.
Have you tried creating a new world and testing to see if it crashes in the new world?
Install updates and restart.
Have you changed any hardware in the PC recently? Such as RAM? Another person reported on the Minecraft forum a similar (Problematic Frame) error under Windows and it was determined to be due to faulty RAM.
Can you share if you share your setup and how the game was setup as well ? I don’t play Minecraft but sharing your experience would be a great help here and moving forward !
If you’re on a desktop, you don’t need the command. The command just tells Linux to load the Nvidia driver for appended command instead of using the default Intel driver.
I haven’t changed anything with my ram, the issue seemingly has something to do with when I use Elytra and rendering in too much I think it does have something to do with the ram. Seemingly as long as I dont use Elytra I have been okay.
Minecraft instances are assigned 2gb of ram by default. You can add more by following instructions here: [Tutorial] How to allocate more RAM to Minecraft - Java Edition Support - Support - Minecraft Forum - Minecraft Forum. Although it sounds like you just need to install Nvidia drivers. You could try replacing your Fedora install with Nobara, or installing the drivers from RPM Fusion, either way you should get a better experience. Btw you could also try installing Nvidium mod: Nvidium - Minecraft Mod, it should help leverage your hardware for better performance and stability.
I should already have NVIDIA stuff from RPM Fusion. I think increasing the ram may fix the issue, I will have to give that a try. I looked into Nobara but was having an issue with install and its basically just Fedora anyways. I think the ram is probably the issue, thank you for your input, it is much appreciated.
The error code did reference the Neauvo driver, but I’m not too well versed in this kind of thing so I’m not sure if that means the proprietary drivers aren’t present. Nonetheless, if nothing else works I still think Nobara might be worth a second try, they add a bunch of kernel patches for better hardware support, especially for Nvidia.
Well I thought I figured it out but I am crashing again, I tried upping the ram, I think you are correct I am just not sure how to fix it exactly. I like Fedora just fine I just need to figure out how to fix it.
When in the game hit F3. It will show you which graphics it is currently using. It should display something along the line of NVidia, the current set resolution, the graphics adapter name, and some version numbers. Take a screenshot and post it here and we can identify it.
You said that the render distance is not default and is high. You could try to lower the render distance and test if it continues to crash as a temporary fix. High render distances could cause the program to crash.
To make sure that the program is using the Nvidia graphics you need to open a terminal and start the launcher with;
I attached an image of my F3, I think this issue has something to do with [nouveau_dri.so+0x9c1457] because that is what keeps popping up in the error message. I really don’t understand what is happening, I thought it might be something to do with the rendering, but it has crashes when I am just doing very basic stuff and not crashed when I am flying and loading lots of stuff in. Sometimes I can play for an entire day without issue and sometimes I crash constantly every time I try playing the game and am in for 2 minutes. I copied and pasted what you said into terminal or was I not supposed to just paste it into terminal like that? I am new to Linux so my understand of a lot of things is not the best. Thank you very much for your help so far.
The nouveau_dir.so is the open source generic display adapter drivers, part of the Mesa package. Files named with .so are called Shared Object libraries, hence .so. They are similar to the DLL files in the Windows world.
It appears you are connecting to an external server. Does it crash in single player as well?
You have to edit the command to the path where the minecraft-launcher program is.
For example; If the minecraft-launcher program is located in /home/username/bin the command would be:
Is the /bin/ important? It just says it is a directory when I replace your placeholder info with my proper location which is /home/averyfb/Minecraft/minecraft-launcher. I am unsure of singleplayer I don’t play it, I just was able to play for hours without any issue which is why I thought I fixed it, but then it will just randomly start crashing the way I previously explained.
No, the bin directory is just a common directory to place executables in. The error is exactly what it is telling you. You are attempting to execute (run) a directory, which isn’t a program.
Sorry that I am not 100% explicit in these instructions. It maybe confusing because the directory and the program are the same name. The launcher program is within the minecraft-launcher directory. Correct for any spelling mistakes I make.
I think I had too many / or something I got the command to work. I will try launching this way next time I play and see if I have the issue again, thank you for all the help so far, hopefully this is the end of it but if I still have some issue I will make another reply.