geemili

joined 1 year ago
[–] [email protected] 2 points 2 months ago (1 children)

I do find it funny that the NPU is mentioned, while there is no mention of a GPU. I guess that is lumped in with the SoC.

 

TL;DR: What linux API should be used to render a game to the screen on the RG35XXH?

I'm trying to port a solitaire game to the RG35XXH. Currently I'm using GLFW to get a window on my laptop; however GLFW doesn't support running without an X11 or Wayland server running.

I looked into EGL, which worked, kind of. It can fetch an OpenGL ES context but it has no way to display the rendered framebuffer to the screen.

Most recently I looked into KMS + DRM. I found a repository with code explaining how to interface with the DRM, and got it working on my laptop, which is nice! However on the RG35XXH (with Batocera v40) there is no /dev/dri/ folder 😦 . I can only assume that this means Batocera doesn't use DRI/DRM/KMS at the moment.

Next I might try using a frame buffer device. Running cat /dev/urandom > /dev/fb0 fills the screen with random colors; so I should be able to implement rendering with it. However I don't know if this is the correct route to go.

Now, as I understand it, SDL2 is supposed to support rendering to these types of devices. I've been avoiding SDL2 as I would prefer to distribute the program as a single executable file, and its license makes that more difficult.

[–] [email protected] 1 points 5 months ago

Do you have some specific examples? I read half of the PDF but I don't have knowledge of case laws that would be relevant.

[–] [email protected] 2 points 5 months ago

This headline is wrong. The DOJ is alleging that they are being anticompetitive in the Performance Smartphone market, and further that their anticompetitive behavior affects even the regular smartphone market.

[–] [email protected] 1 points 5 months ago

The document published by the DOJ make the point that Apple has closer to 65% market share of you to by revenue, and also have a high market share amoung the teens. But I don't get this focus on whether or not Apple is a monopoly. The lawsuit alleges that Apple has a significant market share is using anticompetitive practices to stay there.

[–] [email protected] 4 points 9 months ago

Ordered on the day after (got an out of stock on day one) and my order is showing packaged ATM.

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

Factorio and I just picked up a game called Outpath (similar to Forager, but in 3d! and other minor changes).

[–] [email protected] 3 points 11 months ago

I've been playing through Sea of Stars. I've been enjoying it so far. It's music and aesthetic are fantastic.

[–] [email protected] 13 points 1 year ago (1 children)

One of the neat things is that Box64 will use libraries compiled for RISC-V of it can. Which means stuff like OpenGL will run at full speed.

[–] [email protected] 1 points 1 year ago

Ember Knights has already been mentioned, but I'll go ahead and suggest Full Metal Furies.

[–] [email protected] 3 points 1 year ago (1 children)

Mixolumia.

I haven't been playing much lately, and when I do sit down to play I don't feel like putting a ton of effort into anything. Mixolumia is easy to pick up and put down.

[–] [email protected] 7 points 1 year ago

Is that with Linux kernel specifically or the user space? I've heard that Linus tries to keep the kernel interface stable, but most userspace progtams don't share that philosophy.

 

And wow; being able to walk places is amazing 😍! It's so freeing to not need a car for everything. I the US I live close enough to work to walk, but the terrible design of the stroads makes it very unpleasant. I want to stay here, I don't want to go back to the car dependent suburbs πŸ™.

Unfortunately the trip was planned by my parents and we've spent a lot of time in a car traveling to places. I don't mind pretty scenery, but multiple 6 hours days of car travel is boring. And really I wanted to see the urban design, not the country side.

view more: next β€Ί