#How to install official "amdgpu" drivers on arch

298 messages · Page 1 of 1 (latest)

brave edge
#

Hey, i wanted to play some minecraft, however i am getting errors which someone told me, i'd hav to install the official drivers for my graphics card (AMD Radeon RX 6600), so i went to their website, and... only debian or rather ubuntu install packages... so i looked for a way to install those on arch, and i found a package named "debtap", however it generates a file that when i try to install, gives me error messages, does someone know how to get the official drivers working on arch?

storm carbon
#

Use pacman to install the xf86-video-amdgpu package. On Linux, it usually isn’t necessary to find a driver on the manufacturer’s website, just get it from the repos.

#

.aw amdgpu

spice pikeBOT
storm carbon
#

You’ll also need mesa

brave edge
#

i am already running the mesa and vulkan-radeon, as well as the other ones, tho they said that i would have to install the official ones from amd, at least that fixed it for a bunch of other people

storm carbon
#

The one in the repos should be the official one

brave edge
#

there is no package named amdgpu, at least from what i find in my current package lists

storm carbon
#

Yea I miswrote

#

It’s xf86-video-amdgpu

#

I thought I edited it fast enough lol

brave edge
#

the newest driver from amd is currently 22.40.5, however the one in the aur 23.0.0-1, how can it be newer than from amd themselves?

storm carbon
#

AUR?

#

The one I mentioned should be in the main repos

brave edge
#

right, extra, my bad, still, it confuses me

storm carbon
#

The Windows drivers are on 23.x, so it’s possible that the Arch drivers are a more recent build than what’s up on the AMD website.

#

I don’t use AMD so I can’t tell you for sure

#

I’d just try it at least

#

I gtg take a test

weak solar
#

asumming you are on arch
install

  • mesa
  • libva-mesa-drivers
  • vulkan-radeon
  • xf86-video-amdgpu
#

avoid the aur drivers, which one were you loooking at?

willow kelp
#

it's not a package

brave edge
#

it was extra, not aur

storm carbon
brave edge
rotund questBOT
#

PID 1, bwrap reaper received a thank you cookie!

weak solar
#

okay
and the version difference is cause it's not AMD's drivers

It's drivers written by the Mesa group, which is an open source driver group, and it is officially supported by AMD, AMD themselves recommend these over their 1st party linux drivers

spice pikeBOT
# weak solar .s litany

Please follow the Standard Litany when asking a question:
What was your environment? What was your operating system, configuration?
What did you do? What did you run or test? Where?
What actually happened? What were the exact results, complete log contents, exact error messages?
What did you expect? What were you aiming to achieve? What result were you looking for?

Vague or superficial questions will yield vague or superficial answers. False information leads to false solutions.

Also see this similar guide on how to ask smart questions.

weak solar
#
  • show what error
  • how did you install minecraft
brave edge
#

i'm trying to run an minecraft modpack, but it is crashing while trying to load, just getting a bunch of java errors in the log which apparently point to my graphics card driver? tho i never had any problems with them till now :c

weak solar
willow kelp
#

can you run unmodded minecraft

#

or any other packs

brave edge
#

i'm launching it through the multimc launcher, i'll upload the log, give me a second

brave edge
willow kelp
#

then it's probably not a driver problem

#

but i'll take a look at your log

brave edge
#

just too dumb to find my installation point of multimc... gimme a minute

willow kelp
#

~/.local/share/multimc

brave edge
#

yeah changed it

#

dunno why to be honest, find is still looking

willow kelp
#

you should be able to find the path in multimc settings

#

the log will be at (multimc path)/instances/(instance)/.minecraft/logs/latest.log

brave edge
#

right.. didn't change it yet, i had to do a reinstall of my os because of my new graphics card... so i looked everywhere except for where it was supposed to be

willow kelp
#

is there a crash report

brave edge
#

that's the latest.log... where should that be?

willow kelp
#

.minecraft/crashreports/

brave edge
#

there is no such folder

weak solar
willow kelp
#

yeah idk

#

i can't find much info on what quartz openglselector is

#

but i suspect that has something to do with it

brave edge
# weak solar only the errors

and [20:03:27] [Render thread/ERROR] [Resource Pack Overrides/]: Failed to read resourcepackoverrides.json in config directory: java.io.FileNotFoundException: /home/ash/.local/share/multimc

weak solar
#

No such file or directory
that's a big red flag

brave edge
#

where

brave edge
willow kelp
weak solar
brave edge
#

yeah so i spoke with the modpack dev and they are also confused, other people with that problem fixed it by installing the official graphics drivers, also they are confused too abou there not being "a real crash"

weak solar
#

and they said that the crash happens with this pack

so of course resource pack error caught my attention

weak solar
brave edge
#

no idea on that either

weak solar
#

if not then how they solved it is irrelevant here

brave edge
#

all the files in the .minecraft folder of multimc are these:

.               hs_err_pid24875.log  hs_err_pid6399.log  .mixin.out     saves                  texturepacks
..              hs_err_pid3204.log   hs_err_pid6990.log  mods           screenshots
config          hs_err_pid4183.log   icon.png            options.txt    server-resource-packs
coremods        hs_err_pid4505.log   instance.png        resourcepacks  servers.dat
defaultconfigs  hs_err_pid5250.log   logs                resources      shaderpacks

there is no crash-reports or something

weak solar
#

what is the pack you are using?

#

I'm on amd so maybe i can attempt to replicate it

brave edge
#

Friends United, found on curseforge (i exported the pack once it installed through the at launcher)

brave edge
#

minecraft version 1.19.2 if that's relevant

willow kelp
#

found it

weak solar
#

oh very nice e emoji username

willow kelp
#

this mod seems to be fucking with the opengl version the game uses

#

they put in an override though

#

you can set -Dquartz.glversions=xxxx to force one

#

in launch options

brave edge
#

what should i set it to?

weak solar
#

your opengl version looks like

#

you can see it with glxinfo

brave edge
#

prints a really long table :c

weak solar
#

the package is mesa-utils
run glxinfo -B for short output

willow kelp
quasi drift
#

Is there a dedicated GPU setting in MultiMC?

willow kelp
#

if you want version 3.3 to 4.2 to be allowed then you would set it to 3342

brave edge
#

what should i set it to?

[ash@main ~]$ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.1.29-hardened1-1-hardened) (0x73ff)
Version: 23.0.3
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7080 MB, largest block: 7080 MB
VBO free aux. memory - total: 7825 MB, largest block: 7825 MB
Texture free memory - total: 7080 MB, largest block: 7080 MB
Texture free aux. memory - total: 7825 MB, largest block: 7825 MB
Renderbuffer free memory - total: 7080 MB, largest block: 7080 MB
Renderbuffer free aux. memory - total: 7825 MB, largest block: 7825 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 16136 MB
Currently available dedicated video memory: 7080 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6600 (navi23, LLVM 15.0.7, DRM 3.49, 6.1.29-hardened1-1-hardened)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.0.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
quasi drift
brave edge
#

73ff ?

weak solar
#

well, Mesa's GL is 4.6

#

so 3346

#

OpenGL version string: 4.6

willow kelp
#

it was already attempting 4.6 though

#

maybe just try disabling the quartz mod

#

i'm not sure what else it does

brave edge
#

interestingly, i tried to launch the modpack with the opengl fuckery mod disabled, and it still crashed, last info was the ressourcepack override as error...

willow kelp
#

huh

#

is there any extra info in the console output

#

like a jvm stacktrace or anything

brave edge
#

gimme a sec, gonna start it agian with the fuckery mod disabled

#

the end looks like this

[20:26:20] [Render thread/INFO] [defaultoptions/]: Loaded default options for extra-folder
[20:26:20] [Render thread/ERROR] [Resource Pack Overrides/]: Failed to read resourcepackoverrides.json in config directory: java.io.FileNotFoundException: /home/ash/.local/share/multimc/instances/Friends United/.minecraft/config/resourcepackoverrides.json (No such file or directory)
[20:26:20] [Render thread/INFO] [minecraft/Minecraft]: Backend library: LWJGL version 3.3.1 build 7
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00006ed172c1f290, pid=14367, tid=14368
#
# JRE version: OpenJDK Runtime Environment (17.0.7+7) (build 17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM (17.0.7+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libglfw.so+0x1f290]
#
# 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 /home/ash/.local/share/multimc/instances/Friends United/.minecraft/core.14367)
#
# An error report file with more information is saved as:
# /home/ash/.local/share/multimc/instances/Friends United/.minecraft/hs_err_pid14367.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Process crashed with exitcode 6 (0x6).
Please note that usually neither the exit code, nor its description are enough to diagnose issues!
Always upload the entire log and not just the exit code.

willow kelp
#
[main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
    Mod ID: 'quartz', Requested by: 'biggerreactors', Expected range: '[0.1.0-beta.2,0.1.0-beta.3)', Actual version: '[MISSING]'

well quartz is required

brave edge
willow kelp
#

a shared library where the crash is occuring in

weak solar
#

wrong reply

#

try installing it, package is glfw

brave edge
#

wayland or x11?

#

there is

willow kelp
#

which ever DE you're using

#

but x11 works on both

#

i'm using glfw-x11 on wayland

weak solar
#

well, are you on wayland or x11

brave edge
#

i am shamed to admit that i have no idea

weak solar
#

you can check with echo $XDG_SESSION_TYPE
should return wither x11 or wayland

brave edge
#

x11, give me a second

#

do i have to reboot for it to work or be loaded or something?

willow kelp
#

considering that this package exists, i have a feeling that minecraft might not work out of the box with glfw-wayland

brave edge
#

the one time things work in my favor, i need the x11 one c:

willow kelp
brave edge
#

the crash still looks the same, still with the fuckery mod disabled tho

willow kelp
#

i just remembered this setting exists

#

see if it's ticked

#

idk if it's a multimc feature or only polymc/prism

brave edge
#

all of that was unticked

willow kelp
#

ok it should use the glfw that you just installed now

brave edge
#

well at least now there is a crash report

weak solar
#
Graphics card #0 versionInfo: unknown

I have a feeling this is why quartz failed to run
also damn, linux-hardened

willow kelp
#

i don't really know what's happening here

brave edge
#

this is the right spot for the option?

brave edge
willow kelp
#

yes

willow kelp
quasi drift
#

Do you see any option for using the dedicated GPU?

weak solar
brave edge
#

i don't have a dedicated gpu, i just have the one amd radeon xt 6600, not running a virtual session or whatever

willow kelp
#

that is a dedicated gpu

brave edge
#

then i have no idea what it is

willow kelp
#

this is what derp is talking about

brave edge
#

why do you have a performance tab :c

quasi drift
#

must be a prism feature then

willow kelp
#

^

brave edge
#

what's that, never heard of it?

weak solar
#

a mc launcher

willow kelp
#

it's a fork of multimc

#

multimc forked into polymc which forked into prismlauncher

brave edge
#

prism or prismlauncher

willow kelp
#

prismlauncher

weak solar
#

well than, last effor, install amdgpu-pro-oglp
and wrap minecraft or the launcher inside the progl command

willow kelp
#

zink is also an option

#

wrapping minecraft to vulkan

brave edge
#

prism is currently importing my multimc data, i'll try it again then

weak solar
#

why switch launcher lol :v

brave edge
#

then i have the discrete gpu thingy

weak solar
#

that's not gonna fix things but okay

#

your log shows mc is using your rx6600
cause that's the only GPU you have

#

that option is for laptop and PCs with both integrated and dedicated graphics

brave edge
#

oh

weak solar
#

progl launcher-command

brave edge
#

in the normal terminal, as an option or where do i put it?

weak solar
#

in the terminal

brave edge
#

do i insert anything into the command or is it literally just that?

weak solar
#

just that

brave edge
#
[ash@main ~]$ progl launcher-command
/usr/bin/progl: line 30: launcher-command: command not found
weak solar
#

have you installed amdgpu-pro-oglp

brave edge
#

yes

weak solar
#

oh launcher-command

#

not literally launcher-commadn

#

the command of the launcher you use

brave edge
#

i asked if it was literally that :c

weak solar
#

thought you were asking about the progl bit

brave edge
#

progl multimc?

weak solar
#

idk, i don't use multimc

brave edge
#

well multimc opened, so i guess

#

i'm gonna get a drink, cya in a minute

#

i'm back and it crashed again

weak solar
#

allright, so we know it really is not the driver now

brave edge
#

well... i have no idea what could be the issue anymore... i guess thank you for trying to help, i have no idea what to do to get it to work...

willow kelp
#

let's try this

~/zink.sh

#!/bin/sh

env __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink ZINK_DESCRIPTORS=lazy "$@"

chmod 0755 ~/zink.sh
Instance settings -> custom commands -> wrapper command: /home/<user>/zink.sh

brave edge
weak solar
#

yeah, not a driver issue

quasi drift
#

you could try switching back to the built-in glfw library, as that didn't seem to help and you've been getting the same error since

willow kelp
#

yeah

#

also remove the wrapper command

brave edge
#

untick all options in the workaround tab or just the Use system installation of GLFW

willow kelp
#

probably all of them

#

it's just that and openal right

brave edge
#

yeah

#

and native as a category

#

crashed again, tho this time it didn't generate a crash log

weak solar
#

try to add /usr/bin/progl to custom commands -> wrapper command

brave edge
#

anything behind it or just that?

weak solar
#

just that

brave edge
quasi drift
#

also, does this just happen with this modpack, or does it also happen in vanilla?

weak solar
#

with the modpack

brave edge
#

just this one modpack

#

literally never had this problem with other games nor modpacks

weak solar
#

it's a mod that utilizes the quartz mod library

#

the error seems to be happening there

willow kelp
#

maybe try a different jdk

#

adoptium or graalvm or something

weak solar
#

true, try latest jdk

willow kelp
#

sometimes that fixes random crashes

brave edge
willow kelp
#

seems like it

brave edge
#

which one?

willow kelp
#

quartz

#

but wait

brave edge
#

i know, which jdk

willow kelp
#

it was still happening when you disabled it

willow kelp
brave edge
#

yes, driver side should be clear

willow kelp
#

unpack this in /opt/jdk and multimc/forks will autodetect it (i made this feature)

brave edge
#

just to be clear, the path is now /opt/jdk/jdk-17.0.7+7/whatever

willow kelp
#

yeah

#

if you go to the launcher and hit autodetect on java version you should see that path

brave edge
#

multimc doesn't autodetect new versions for me, i had to reboot to get it to see java 20 and whatnot too

#

so i'll be back in a minute

weak solar
#

or i know, you can manually add it to the launcher :v

willow kelp
#

yeah

weak solar
#

restarting seems more of a hassle

willow kelp
#

lmao zink seems to break minecraft 1.19.4, at least with sodium

brave edge
#

too late, also it crashed again without an proper crash report

weak solar
#

well, i'll try your modpack tomorrow, can't rn cause stuff

willow kelp
#

what is the modpack

brave edge
willow kelp
#

i can try it

brave edge
#

Friends united

#

tho what is weird, it now says this at the bottom

/usr/bin/progl: line 30:  3143 Aborted                 (core dumped) "$@"
weak solar
#

yeah, give up the wrapper

brave edge
willow kelp
#

works on my machine

brave edge
#

not fair :c

willow kelp
#

my hardware is similar to yours

#

zen 3 cpu with RDNA 2 GPU

#

the gtx 750 is not in use

brave edge
#

you are using both an nvidia and amd gpu... that feels wrong

#

any ideas on how to continue or is all i have left to cry in a corner?

willow kelp
#

i have no clue unfortunately

#

i guess check a bunch of wiki pages and make sure you're not missing any packages

#

update your system

#

beyond that, idk

brave edge
#

crying in a corner it is... entire system upgrade was done just a bit before... also what are you doing to be using 18.7 gib memory...

willow kelp
#

discord, a bunch of browser tabs, the modpack open, steam, and also i have a few GBs of stuff sitting in tmpfs from building ungoogled-chromium

brave edge
#

i'm running discord and firefox with like a bazillion tabs and i'm on like 4.1 gib .-.

willow kelp
#

nvm that tmpfs file stuff is empty

#

so all of that usage is programs lol

weak solar
#

programs tend to save less when you have bigger ram

#

means there's less memory swapping and i/o

#

me thinks

brave edge
#

i'm using 0% of my 32.5 gib of swap .-.

weak solar
#

that's a gigantic swap

willow kelp
#

just closed the game

brave edge
#

bpytop?

willow kelp
#

btop

weak solar
#

btop is the c++ rewrite of bpytop by the same dev

willow kelp
weak solar
#

and bpytop is a python rewrite of bashtop by the same dev

willow kelp
#

when brustop

weak solar
#

mf wen through an entire character development arc
bash -> python -> c++

brave edge
#

also, shoudln't you not use ssd's more than 75% of their capacity?

willow kelp
#

most SSDs have reserve space even when they report 100% full

#

but in general, less usage makes the wear leveling more efficient or something like that

brave edge
#

so back to topic, i really only have crying in a corner left, or does anyone have any idea that may still help?

weak solar
#

anywas, try to install all optional dependencies for multimc

or use the multimc flatpak 🤷‍♂️

brave edge
#

where does it list the optional dependencies?

#

never saw optional ones with pacman or paru tho

willow kelp
#

pacman -Qi multimc

weak solar
#

pacman -Qi multimc
multimc-bin if you use that

#

and when installing hte optional deps, to make dependency managing easier

#

do it with --asdeps

#

this will install the package as a dependency

#

so that when you -Rs multimc to uninstall, the optional deps also go away, as long as no other package has it as a dependency

brave edge
#

just was missing the profiler

#

visualvm

willow kelp
#

i don't have that one

#

so that's probably not the issue

brave edge
#

now i have it

weak solar
brave edge
#

IT WORKS

#

i have no idea what i did but it works

#

tried the prism launcher again and i'm sticking with it, integrated mod downloads fuck yes please

weak solar
#

another w for multimc forks

tawny siren