this post was submitted on 23 Jan 2024
28 points (96.7% liked)

Linux

48077 readers
771 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

A website with the make log is linked. I'm having a problem with installing drivers on my Fedora install. I have an RX6600 and would like to install the amdgpu drivers. I've tried trough dnf and the official amdgpu-install script. Any ideas why this compile error is happening? Actually considering going to Arch or Ubuntu because of this. I've had a lot of problems with AMD drivers on Fedora. I would like to also use Blender GPU Rendering. This is what their page says about it. The drivers I had previously were the normal ones. Now I'm having problems installing any drivers.

HIP – AMD

HIP is supported on Windows and Linux and requires a AMD graphics card with the Vega architecture or newer. Both discrete GPUs and APUs are supported.

Supported GPUs include:

    Radeon VII

    Radeon RX Vega Series

    Radeon RX 5000 Series

    Radeon RX 6000 Series

    Radeon RX 7000 Series

    Radeon Pro WX 9100

    Radeon Pro W6000 Series

Minimum driver versions:

    Windows: Radeon Software 21.12.1 or Radeon PRO Software 21.Q4

    Linux: Radeon Software 22.10 or ROCm 5.3

Please refer to AMD’s website for more information about AMD graphics cards and their architectures.

Would I need to install ROCm? Trough their AMD's install script it was represented as an option, but I ran into the same problem here.

you are viewing a single comment's thread
view the rest of the comments
[–] S410@lemmy.ml 10 points 9 months ago (1 children)

Did you add a repo for RHEL8 to your Fedora install? Please, undo that.
Please, don't blindly follow instructions you find online, particularly when it comes down to installing something as important as drivers.
Installing drivers from third party sources should be done only as the last resort and only if you know exactly what you're doing.

[–] AapoL@sopuli.xyz 3 points 9 months ago (1 children)

Ok, update. I removed some improper repos that the amdgpu-install had installed and I got things mostly working. Only problem is that rendering in Blender on GPU crashes it and I can’t seem to get good logs for the problem. I will try to get some logs and post them here.

I just realized this myself as well and posted it into an another comment. Should have replied here instead. But now the only problem is Blender crashing.

ghost_event_proc: ghost redraw decor 1

wm_event_do_handlers: Handling event
wmEvent type:1/LEFTMOUSE, val:1/PRESS, prev_type:1/LEFTMOUSE, prev_val:2/RELEASE, modifier={}, keymodifier:0, flag:{}, mouse:(1550,1038), utf8:'', pointer:0x7f696c2e7a80
UI_menutype_draw: opening menu "TOPBAR_MT_editor_menus"
UI_menutype_draw: opening menu "NODE_MT_editor_menus"
UI_menutype_draw: opening menu "FILEBROWSER_MT_editor_menus"
UI_menutype_draw: opening menu "VIEW3D_MT_editor_menus"
I0123 17:01:56.235076  4894 device.cpp:390] CPU render threads disabled for interactive render.
I0123 17:01:56.235121  4894 device.cpp:511] Mapped host memory limit set to 12,362,813,440 bytes. (11.51G)
I0123 17:01:56.235285  4894 device_impl.cpp:62] Using AVX2 CPU kernels.
Writing: /tmp/sky.crash.txt
Segmentation fault (core dumped)
[aapo@aapo-fedora ~]$ cat /tmp/sky.crash.txt
# Blender 3.6.7, Commit date: 1970-01-01 00:00, Hash unknown
bpy.ops.wm.open_mainfile(filepath="/home/aapo/Desktop/koodi/Blender/sky.blend", load_ui=True, use_scripts=False, display_file_selector=False, state=2)  # Operator
bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='NODE_EDITOR')  # Operator
bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='VIEW_3D')  # Operator
bpy.ops.screen.userpref_show()  # Operator
bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='NODE_EDITOR')  # Operator
bpy.ops.wm.tool_set_by_id(name="builtin.select_box", cycle=False, space_type='VIEW_3D')  # Operator

# backtrace
blender(+0x2dbff8c) [0x55b438d67f8c]
blender(+0x937963) [0x55b4368df963]
/usr/lib64/libc.so.6(+0x3dbb0) [0x7f699ea5fbb0]

# Python backtrace
[aapo@aapo-fedora ~]$ 

This is all the logs I seem to get. The logs before the cat command are from running Blender.

[–] S410@lemmy.ml 7 points 9 months ago* (last edited 9 months ago)

https://bugzilla.redhat.com/show_bug.cgi?id=2216594
https://gitlab.freedesktop.org/drm/amd/-/issues/2145
Looks like you're hitting a known bug that isn't fixed yet.
Reportedly, ROCm 5.6.1 is the lastest working version, so you could try to downgrade. Something dnf install rocm-*-5.6.1 should do the trick.