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.
- 4 Posts
- 28 Comments
So, see the other comment for the dnf message when installing amdgpu-core. Everything else except amdgpu-core gets installed properly. The error says ERROR: This package can only be installed on EL8. Which makes no sense.
Well, I figured that out. But the problem is now my drivers are kind of broken. The error you are seeing in the log is what is not letting me download the drivers.
Here’s also the dnf log:
[aapo@aapo-fedora ~]$ sudo dnf install amdgpu-core AMDGPU 5.4 repository 588 B/s | 548 B 00:00 Errors during downloading metadata for repository 'amdgpu': - Status code: 404 for https://repo.radeon.com/amdgpu/5.4/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49) Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: amdgpu Last metadata expiration check: 0:00:43 ago on Tue 23 Jan 2024 04:14:52 PM EET. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: amdgpu-core noarch 1:5.4.50400-1510348.el8 repo.radeon.com_amdgpu_5.4_rhel_8.7_main_x86_64_ 8.1 k Transaction Summary ================================================================================ Install 1 Package Total download size: 8.1 k Installed size: 0 Is this ok [y/N]: y Downloading Packages: amdgpu-core-5.4.50400-1510348.el8.noarch.rpm 19 kB/s | 8.1 kB 00:00 -------------------------------------------------------------------------------- Total 19 kB/s | 8.1 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: amdgpu-core-1:5.4.50400-1510348.el8.noarch 1/1 ERROR: This package can only be installed on EL8. error: %prein(amdgpu-core-1:5.4.50400-1510348.el8.noarch) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package amdgpu-core Verifying : amdgpu-core-1:5.4.50400-1510348.el8.noarch 1/1 Failed: amdgpu-core-1:5.4.50400-1510348.el8.noarch Error: Transaction failed [aapo@aapo-fedora ~]$
Also, if I basically remove everything, I will get this error:
`[aapo@aapo-fedora ~]$ amdgpu-install [sudo] password for aapo: ROCm 5.4 repository 154 kB/s | 208 kB 00:01
AMDGPU 5.4 repository 699 B/s | 548 B 00:00
Errors during downloading metadata for repository ‘amdgpu’:- Status code: 404 for https://repo.radeon.com/amdgpu/5.4/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49) Error: Failed to download metadata for repo ‘amdgpu’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried Ignoring repositories: amdgpu Last metadata expiration check: 0:00:01 ago on Tue 23 Jan 2024 03:47:14 PM EET. Package amdgpu-lib-1:5.4.50400-1510348.el8.x86_64 is already installed. Package amdgpu-dkms-1:5.18.13.50400-1510348.el8.noarch is already installed. Error: Problem: package rocm-hip-runtime-5.4.0.50400-72.el8.x86_64 from rocm requires rocminfo = 1.0.0.50400-72.el8, but none of the providers can be installed
- conflicting requests
- nothing provides /usr/libexec/platform-python needed by rocminfo-1.0.0.50400-72.el8.x86_64 from rocm (try to add ‘–skip-broken’ to skip uninstallable packages) [aapo@aapo-fedora ~]$ `
Thanks for this! Actually I will probably just be on Codium for now because it fully open source. Actually I didn’t remember that Codium was a thing!
AapoL@sopuli.xyzto Technology@lemmy.world•Microsoft is using malware-like pop-ups in Windows 11 to get people to ditch GoogleEnglish2·2 years agoIs it actually something usable? I don’t know of many active users of it.
This is Windows 7 users. I just can’t understand them. Why use an old os for the feel and look of it when you can just use Linux and customize it to your liking. ( I know, I know software compability and such. )
AapoL@sopuli.xyzto Ask Lemmy@lemmy.world•What's the best ice breaker exercise for the class that a professor used on your first day of class?1·2 years agoWell that explains it.
Phone flashlights are optimized for photos. They don’t shine very bright for example. You need to see even a good 30€ flashlight. Super bright compared to that. Also if you are in a situation that means you need to have battery on your phone, using the flashlight drains it a lot. Also on some flashlights you can use as a powerbank. For someone living in a city, it’s maybe not it but if you are even a bit remote or like to do hiking or something its super useful. Idk I probably have read too much r/flashlights. It’s like collecting knives man.
Good flashlights. You can get a great one that’s rechargeable and super bright for something like 30€. At the same price you can get a crappy one at your local hardware store which is the options most people choose.
Porblem solved! I downloaded the libklibc package manually.
Thanks! That worked.
aapo@pop-os:~$ sudo apt-get install --reinstall libklibc Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 169 not upgraded. 2 not fully installed or removed. Need to get 0 B/45.6 kB of archives. After this operation, 0 B of additional disk space will be used. Setting up linux-firmware (20230629.gitee91452d-0ubuntu1+system76~1689594960~22.04~9d563bf) ... update-initramfs: Generating /boot/initrd.img-6.2.6-76060206-generic cp: cannot stat '/lib/klibc-*.so': No such file or directory E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1. update-initramfs: failed for /boot/initrd.img-6.2.6-76060206-generic with 1. dpkg: error processing package linux-firmware (--configure): installed linux-firmware package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-firmware E: Sub-process /usr/bin/dpkg returned an error code (1)
Tried that already. The installation tries to run but the problem blocks it from running.
There’s also an another thread on the PopOS community.
aapo@pop-os:~$ sudo dpkg -i initramfs-tools_0.140ubuntu13.2_all.deb (Reading database ... 292735 files and directories currently installed.) Preparing to unpack initramfs-tools_0.140ubuntu13.2_all.deb ... Unpacking initramfs-tools (0.140ubuntu13.2) over (0.140ubuntu13.2) ... Setting up initramfs-tools (0.140ubuntu13.2) ... update-initramfs: deferring update (trigger activated) Processing triggers for man-db (2.10.2-1) ... Processing triggers for initramfs-tools (0.140ubuntu13.2) ... update-initramfs: Generating /boot/initrd.img-6.2.6-76060206-generic cp: cannot stat '/lib/klibc-*.so': No such file or directory E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1. update-initramfs: failed for /boot/initrd.img-6.2.6-76060206-generic with 1. dpkg: error processing package initramfs-tools (--install): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools
Yea the problem’s pretty bad it seems.
Thanks! Yea it seems like initramfs-tools is broken.
aapo@pop-os:~$ sudo dpkg-reconfigure initramfs-tools /usr/sbin/dpkg-reconfigure: initramfs-tools is broken or not fully installed
aapo@pop-os:~$ sudo apt-get install --reinstall initramfs-tools Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 169 not upgraded. 55 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for initramfs-tools:amd64
The problem is that apt can’t find the initramfs-tools file. I don’t think I have seen that error before.
Have you wiped your /lib/?
Intentionally or by mistake? Do you mean that if I would have wiped it that would result in apt not finding it? If you mean that then I haven’t intentionally at least. There is things there so it should be good. Also what do you mean by please increase the window size of your terminal?
PopOS good Ubuntu bad
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.