Check out my aur packages if you want ROCm 10 now. I only test on RDNA 4 and Strix Halo so if there is something missing comment on the aur page and I'll take a look.
thanks, your comment made me follow a small rabbit hole and even if it was my first time using comfyui I made it and it works great on my 9070xt. it takes about 5-10 minutes for one image though.
About three years ago when AMD drivers (both in Windows and Linux) started using more power for the GPU when idle it was trivial for someone to bisect the Linux kernel and find what was wrong. In Windows this was impossible and even the AMD team kept ignoring users telling them "this is how it is supposed to work". I think the bug in this case eventually made it back to users, but at least we tried.
Hashcat supports HIP as well, have you tried to run it with HIP enabled? Also make sure you don't have multiple opencl providers (like opencl-mesa) which can create conflicts.
Unfortunately I don't, but it would be interesting to know if it does. I also have a 5800HS laptop but it's for work and windows only (yikes), so I never had the chance to try.
There was / is already a binary package in AUR for ROCm called opencl-amd which works with mesa drivers, based on the Ubuntu installation - which is mainly open source. I'm actually surprised by how many people don't know this in this thread.
Does opencl-amd work for you instead? If we have a working binary in official repositories maybe it's time we abandon opencl-amd but if there are still issues with the Arch binaries maybe we should keep maintaining it (at least for a while).
Well in theory it's designed for flash drives so it may be better for your NVME drive. In practice I'm not sure if it has any difference or if it's worse. For ext4 you need to enable trim scheduling or manully trim (which I sometimes completely forgot about) but for f2fs you don't need to trim. It also may give you better performance but the phoronix benchmarks are outdated so hopefully we get some recent benchmarks.
I did it as an experiment after having a lot of file corruptions with ext4 (which were probably because of my wrong RAM settings) but it's working fine for the past 2+ years. I was thinking about switching to xfs before i went with f2fs but I didn't because I read there were some bugs with Steam and XFS. In the end I never switched my Gaming to Linux and I still dual boot with Windows so that was also irrelevant. For me, it's just a filesystem that works fine so far, so I don't compare it with something else. If you are OK with ext4 you should keep using it.
For filesystem cons, I remember there was an issue with F2FS that can make you lose some files, when a certain sequence of events happens (something like delete file, rename another file to the same filename as the deleted file, etc). I'm not sure if it's still an issue after 2 years.
I can also try to run some smart reporting when I get home later today if you want to see my drive health after 2+ years with F2FS, maybe there is something of interest in there.
edit: forgot to add that it also has zoned storage support which may be useful for some people.
I think I've already updated to 5.18.3 so I'll login in a bit and see if I'm having any issues. But yeah, F2FS had some similar issues in the past. Linus also called them out a couple of months ago for commits on 5.18 kernel.
I also think I helped stop a similar issue 1,5 year ago from reaching Arch Linux stable repositories.
But I like to live dangerously :D
edit: I logged in with kernel 5.18.3 and it's working fine, however I don't have compression enabled.
By the way it's not just an OS setting, the IDE you are using needs to support and be optimized for good font rendering. For example Jetbrains IDE has some issues with its sub-pixel rendering on certain monitors. Unfortunately I don't have much to suggest (other than the default filter that I'm using), I'm just used to work with bad settings / monitors.
My ext4 partition had corrupted itself at least 4 times in the span of 4 months, that was actually one of the reasons I chose another filesystem (It was probably a RAM timing issue anyway). I've been now using F2FS for 1+ year now and I have no issues at all.
All I'm saying is, you might have another issue with your PC and it's not the filesystem at all. And another filesystem will not save you.
I'm not sure, I had a bit of trouble setting it up in the beginning so I left it like that. To be honest I rarely use my Arch installation these days, I definitely need to change that!
I don't know about color laser printers but I bought a Brother laser printer (HL-L2350DW) about a year ago (cost 99 euro) - and I've bought 2 aftermarket toners for 7 euro each.
I've since then printed 3030 pages and the second toner is at 50% capacity. (Drum unit is at 75% remaining life)
My only issue with my Brother printer and Arch is that somehow it has so many protocols / services enabled, and some of them do not work. So on my Arch it shows as two printers, and when I click to print with the wrong port / protocol, it will start printing empty pages until you turn the printer off. I'm sure if you investigate it enough you can fix it but I just keep reminding my self to use the correct port / service when printing.
So because it works on your PC that doesn't mean anything. There are many people with two monitors or having some 60hz monitors that are idling @ 31 watt for months. Here you can see GPU utilization is 0% but power usage is 31 watt.
It's still an annoying bug but I don't see how it's 100% usage. It gives the impression the bug makes the GPU use 220w+ all the time.
GPU pipeline usage is 100%, the kernel bug causes the GPU to fail to ever idle hence it is locked in a P0 state, I.e. 100% usage.
edit: I was referring to your post on the bug report of 31 watt usage, not comments from other people. There are two reddit posts and a bug report that provide no mem/clock numbers so it's easy to be confused. I had to read all comments at the bug report to see some actual numbers.
It's a regression that will be fixed in the next kernel. Has nothing to do with high refresh rate monitors (if someone can consider 75hz a high refresh rate monitor). It's also visible on some 60hz monitors with high bandwidth usage (like over 1080p resolution)
No it's only on 5.10+ kernels, but it's not an option for me, I'm using f2fs and I don't trust downgrading to anything. edit: Plus lts is very old kernel and I doubt it will be working with Navi anyway. Maybe it is an option though for other people.
Check out my aur packages if you want ROCm 10 now. I only test on RDNA 4 and Strix Halo so if there is something missing comment on the aur page and I'll take a look.
Probably this one https://github.com/ROCm/ROCm/issues/6358 and https://bugzilla.redhat.com/show_bug.cgi?id=2488725
It's the kernel, 7.0.12 and 7.1 don't work. You might need to downgrade to 7.0.11
thanks, your comment made me follow a small rabbit hole and even if it was my first time using comfyui I made it and it works great on my 9070xt. it takes about 5-10 minutes for one image though.
About three years ago when AMD drivers (both in Windows and Linux) started using more power for the GPU when idle it was trivial for someone to bisect the Linux kernel and find what was wrong. In Windows this was impossible and even the AMD team kept ignoring users telling them "this is how it is supposed to work". I think the bug in this case eventually made it back to users, but at least we tried.
Hashcat supports HIP as well, have you tried to run it with HIP enabled? Also make sure you don't have multiple opencl providers (like opencl-mesa) which can create conflicts.
There are some things you can try, if you want to. I don't have these documented at the moment (we should at some point).
Run
rocminfoandhipconfigand see if there is any information there about why it's not working properly.Try selecting which HIP device will be used: e.g
ROCR_VISIBLE_DEVICES=0 blenderRun
journalctl -k | grep kfdand see if there is a relevant error there (I doubt it)Run AMD_SERIALIZE_KERNEL=3 AMD_SERIALIZE_COPY=3 AMD_LOG_LEVEL=4 ./blender and see if there is something interesting there.
Googling your error returns at least two issues in the ROCm issue tracker. Link - Link2 - Maybe there is some information there that can help.
Unfortunately I don't, but it would be interesting to know if it does. I also have a 5800HS laptop but it's for work and windows only (yikes), so I never had the chance to try.
It still also includes the legacy proprietary opencl, but it's based on ROCm and provides HIP support since 2020-11-18
source: I'm the one maintaining it :p
There was / is already a binary package in AUR for ROCm called opencl-amd which works with mesa drivers, based on the Ubuntu installation - which is mainly open source. I'm actually surprised by how many people don't know this in this thread.
Does
opencl-amdwork for you instead? If we have a working binary in official repositories maybe it's time we abandonopencl-amdbut if there are still issues with the Arch binaries maybe we should keep maintaining it (at least for a while).Well in theory it's designed for flash drives so it may be better for your NVME drive. In practice I'm not sure if it has any difference or if it's worse. For ext4 you need to enable trim scheduling or manully trim (which I sometimes completely forgot about) but for f2fs you don't need to trim. It also may give you better performance but the phoronix benchmarks are outdated so hopefully we get some recent benchmarks.
I did it as an experiment after having a lot of file corruptions with ext4 (which were probably because of my wrong RAM settings) but it's working fine for the past 2+ years. I was thinking about switching to xfs before i went with f2fs but I didn't because I read there were some bugs with Steam and XFS. In the end I never switched my Gaming to Linux and I still dual boot with Windows so that was also irrelevant. For me, it's just a filesystem that works fine so far, so I don't compare it with something else. If you are OK with ext4 you should keep using it.
For filesystem cons, I remember there was an issue with F2FS that can make you lose some files, when a certain sequence of events happens (something like delete file, rename another file to the same filename as the deleted file, etc). I'm not sure if it's still an issue after 2 years.
I can also try to run some smart reporting when I get home later today if you want to see my drive health after 2+ years with F2FS, maybe there is something of interest in there.
edit: forgot to add that it also has zoned storage support which may be useful for some people.
I think I've already updated to 5.18.3 so I'll login in a bit and see if I'm having any issues. But yeah, F2FS had some similar issues in the past. Linus also called them out a couple of months ago for commits on 5.18 kernel.
I also think I helped stop a similar issue 1,5 year ago from reaching Arch Linux stable repositories.
But I like to live dangerously :D
edit: I logged in with kernel 5.18.3 and it's working fine, however I don't have compression enabled.
By the way it's not just an OS setting, the IDE you are using needs to support and be optimized for good font rendering. For example Jetbrains IDE has some issues with its sub-pixel rendering on certain monitors. Unfortunately I don't have much to suggest (other than the default filter that I'm using), I'm just used to work with bad settings / monitors.
My ext4 partition had corrupted itself at least 4 times in the span of 4 months, that was actually one of the reasons I chose another filesystem (It was probably a RAM timing issue anyway). I've been now using F2FS for 1+ year now and I have no issues at all.
All I'm saying is, you might have another issue with your PC and it's not the filesystem at all. And another filesystem will not save you.
I'm not sure, I had a bit of trouble setting it up in the beginning so I left it like that. To be honest I rarely use my Arch installation these days, I definitely need to change that!
I don't know about color laser printers but I bought a Brother laser printer (HL-L2350DW) about a year ago (cost 99 euro) - and I've bought 2 aftermarket toners for 7 euro each.
I've since then printed 3030 pages and the second toner is at 50% capacity. (Drum unit is at 75% remaining life)
My only issue with my Brother printer and Arch is that somehow it has so many protocols / services enabled, and some of them do not work. So on my Arch it shows as two printers, and when I click to print with the wrong port / protocol, it will start printing empty pages until you turn the printer off. I'm sure if you investigate it enough you can fix it but I just keep reminding my self to use the correct port / service when printing.
So because it works on your PC that doesn't mean anything. There are many people with two monitors or having some 60hz monitors that are idling @ 31 watt for months. Here you can see GPU utilization is 0% but power usage is 31 watt.
It's still an annoying bug but I don't see how it's 100% usage. It gives the impression the bug makes the GPU use 220w+ all the time.
edit: I was referring to your post on the bug report of 31 watt usage, not comments from other people. There are two reddit posts and a bug report that provide no mem/clock numbers so it's easy to be confused. I had to read all comments at the bug report to see some actual numbers.
Try with
opencl-amdversion 20.40 maybe you have more luck. There is a pinned comment in the AUR that links to the PKGBUILD.That's not what 100% means. Windows AMD drivers don't run on low power state since last November. It's bad but it's not as bad as 100% make it sound.
It's a regression that will be fixed in the next kernel. Has nothing to do with high refresh rate monitors (if someone can consider 75hz a high refresh rate monitor). It's also visible on some 60hz monitors with high bandwidth usage (like over 1080p resolution)
this is a known issue for AMD. It will be fixed in the next kernel
If you have a 75hz monitor try to change it to 60hz to let the GPU stay idle. Otherwise try the other solutions from the issue.
Actually I just realized that I don't game on Linux a lot and setting up my monitors to 60hz fixes it, so I will stay with that for now :)
No it's only on 5.10+ kernels, but it's not an option for me, I'm using f2fs and I don't trust downgrading to anything. edit: Plus lts is very old kernel and I doubt it will be working with Navi anyway. Maybe it is an option though for other people.