News for hackers. Stuff that matters.
Re:Running KDE Plasma on RISC-V VisionFive-2 by amatecha on Sunday January 15, 2023 @12:12AM (#34386910)
Ah, too bad the GPU driver is still closed-source. Hopefully they do indeed release that open source driver they apparently promise... I kinda expected most RISC-V boards are going to be open hardware, but maybe I was wrong to assume that, heh
Re:Running KDE Plasma on RISC-V VisionFive-2 by snvzz on Sunday January 15, 2023 @12:27AM (#34386964)
I understand the link's author got mesa3d working.

But to do so, they used git head mesa3d, experimental kernel patches to get the kernel part working, and firmware blobs they took from the proprietary driver.

We'll have to wait a little more, but will get system images with all of that already working. Eventually, it'll all be upstream.

It helps that large amounts of these boards (more than every RISC-V SBC before, combined) are getting to developers. This was the whole point of the boards after all.

Re:Running KDE Plasma on RISC-V VisionFive-2 by yjftsjthsd-h on Sunday January 15, 2023 @12:47AM (#34387054)
> they used git head mesa3d, experimental kernel patches to get the kernel part working,

In fairness, that's what I'd expect for new hardware; out of tree patches, then head, then unstable/rc/beta releases, then eventually normally stable versions. The firmware blobs are unfortunate, though.

Re:Running KDE Plasma on RISC-V VisionFive-2 by snvzz on Sunday January 15, 2023 @12:51AM (#34387066)
While it is reasonable to expect this much, we seldom get anywhere near that.

The usual fare is, unfortunately, just an android kernel source tarball that has been modified so that it works with the hardware, with no history of changes nor documentation of the hardware.

The situation with GPUs, specifically, is really bad.

Intel, AMD and now Imagination Technologies are about the only ones, that I am aware of, who seem to care about open drivers.

Re:Running KDE Plasma on RISC-V VisionFive-2 by wereallterrrist on Sunday January 15, 2023 @01:26AM (#34387207)
Don't AMD GPUs still have firmware blobs, they just happen to submit them to upstream linux-firmware?
Re:Running KDE Plasma on RISC-V VisionFive-2 by Heston on Sunday January 15, 2023 @01:46AM (#34387299)
Yeah, the open drivers don't matter a whole lot. It just loads the closed source proprietary blob into the gpu. It's a step in the right direction but can be very misleading.
Re:Running KDE Plasma on RISC-V VisionFive-2 by pabs3 on Sunday January 15, 2023 @01:53AM (#34387317)
The worst part is when those blobs are signed, then you can't reverse engineer them and replace them with open firmware.
Re:Running KDE Plasma on RISC-V VisionFive-2 by snvzz on Sunday January 15, 2023 @10:51AM (#34390248)
This is one of many ways by which NVIDIA actively sabotages the open source driver effort.

They were catching up at some point, and NVIDIA started doing that.

Re:Running KDE Plasma on RISC-V VisionFive-2 by pabs3 on Wednesday January 18, 2023 @11:34PM (#34436727)
The good news is that with the new open Linux kernel drivers from NVIDIA, Nouveau folks will be able to use the same signed proprietary firmware as the proprietary userspace component of the NVIDIA drivers. So that should unblock development of the open userspace component of the libre Nouveau drivers too.
Re:Running KDE Plasma on RISC-V VisionFive-2 by mananaysiempre on Sunday January 15, 2023 @09:16AM (#34389539)
AMD’s linux-firmware blobs also exclude OpenCL support IIRC.
Re:Running KDE Plasma on RISC-V VisionFive-2 by dogben on Sunday January 15, 2023 @12:26PM (#34391108)
They do support OpenCL. You only need their closed source user space library libamdocl*.so and libamd_comgr.so to use it.
Re:Running KDE Plasma on RISC-V VisionFive-2 by xen2xen1 on Sunday January 15, 2023 @09:41AM (#34389718)
They do, IIRC, but, interestingly, Nvidia doesn't only because they put a RISC V processor on board that keeps it's own blob a few generations back (20xx?). I'm not sure that's actually more open, but I guess if you can run it with all open source drivers and no proprietary blob, that's good?
Re:Running KDE Plasma on RISC-V VisionFive-2 by pabs3 on Sunday January 15, 2023 @12:56AM (#34387089)
The firmware blobs are normal, every major GPU requires them. Lots of other things too.
Re:Running KDE Plasma on RISC-V VisionFive-2 by Klasiaster on Sunday January 15, 2023 @06:54AM (#34388747)
With x86 PC compatibles you expect the opposite: You can use old software and the system will still boot and be mostly usable but not with SoC boards :shrug:
Re:Running KDE Plasma on RISC-V VisionFive-2 by SanjayMehta on Sunday January 15, 2023 @12:53AM (#34387077)
This confusion is quite common. Just the ISA is open; anyone can build a closed implementation compatible with RISC-V.
Re:Running KDE Plasma on RISC-V VisionFive-2 by StreamBright on Sunday January 15, 2023 @03:32AM (#34387810)
We should move back to the state when hardware had a detailed development guide so you could write your own driver.
Re:Running KDE Plasma on RISC-V VisionFive-2 by nine_k on Sunday January 15, 2023 @05:00AM (#34388217)
I suppose these guides exist, but you have to be fluent in Chinese to obtain and use them.
Re:Running KDE Plasma on RISC-V VisionFive-2 by benj111 on Sunday January 15, 2023 @06:02AM (#34388515)
Why is it that an open cpu can be developed but not an open gpu?

A GPU as I understand it is simpler than a cpu, but parallel. That to me seems like it would lower barriers to entry. But that obviously isn't the case, so I must be missing something.

Re:Running KDE Plasma on RISC-V VisionFive-2 by hmry on Sunday January 15, 2023 @06:53AM (#34388742)
From researching this in the past, it seems like there are many more learning resources about CPU design than GPU design. Not to mention that CPU design is often covered in college curricula while I'm not aware of any GPU design courses (though if anybody know of some, please do share)
Re:Running KDE Plasma on RISC-V VisionFive-2 by IshKebab on Sunday January 15, 2023 @07:29AM (#34388913)
GPUs are much more complex than CPUs (at least in terms of their interface; obviously a Xeon is not simple). Plus they haven't been around as long so their entire architecture is not as stable (e.g. consider the switch away from fixed function).
Re:Running KDE Plasma on RISC-V VisionFive-2 by danieldk on Sunday January 15, 2023 @08:21AM (#34389197)
Most of these RISC-V CPUs are not open, only the ISA. There are also GPUs that us the RISC-V instruction set:

https://www.think-silicon.com/neox-graphics

Of course, an open instruction set is also not enough to write drivers.

Re:Running KDE Plasma on RISC-V VisionFive-2 by zozbot234 on Sunday January 15, 2023 @08:47AM (#34389332)
The V instruction set extension of RISC-V started out from efforts at creating an open alternative to GPU compute. So at least in principle, you just need something that exposes a framebuffer and everything else can be done via software rendering. This VisionFive-2 chip does not seem to implement V, but future chips likely will.
Re:Running KDE Plasma on RISC-V VisionFive-2 by phkahler on Sunday January 15, 2023 @09:41AM (#34389720)
>> expected most RISC-V boards are going to be open hardware, but maybe I was wrong to assume that, heh

There aren't any/many GPUs they could use with open source drivers are there?

I'd like to see one with a bunch of small RISV-V cores running llvmpipe as a GPU, but it's not clear how good that would be.