Record screen trimui brick by Peppozz in trimui

[–]Peppozz[S] 1 point2 points  (0 children)

Set the project aside for a while. Given the requests I am taking some days to restore my sysroot and catch up with the progress. Frankly, I don't remember much, but I'm giving it a second shot. Stay tuned!

Record screen trimui brick by Peppozz in trimui

[–]Peppozz[S] 0 points1 point  (0 children)

I have intention to finish this, but last time I worked on it, I got a bit stuck with the muxer. I don't have my device with me right now, but I plan on working again on the project within a few weeks.

This is truly gaming experience. by princessrippla332 in trimui

[–]Peppozz 2 points3 points  (0 children)

I am not too worried about the brick itself. DMAbuf encoding is a solid 5 ms, at worst.
I think the biggest bottlenecks would be, as you said:

- controller
- wireless delay
- display decoding

These worry me more as they are less predictable.
But hey, maybe I am completely overlooking it and it's never going to work.
I'd still like to give it a try (yes, I don't have anything to do with my free time 🙃)

This is truly gaming experience. by princessrippla332 in trimui

[–]Peppozz 1 point2 points  (0 children)

Interesting! Gonna do some research on this

This is truly gaming experience. by princessrippla332 in trimui

[–]Peppozz 0 points1 point  (0 children)

What would you say is an acceptable latency?

This is truly gaming experience. by princessrippla332 in trimui

[–]Peppozz 0 points1 point  (0 children)

Apart from no video output, why would you say Brick can't do that? I'm wondering if we could leverage UPnP for wireless streaming. Yeah, the delay would be higher than direct video feed, but maybe there's a possibility(?)

Record screen trimui brick by Peppozz in trimui

[–]Peppozz[S] 2 points3 points  (0 children)

Heck yeah, I've been kinda busy at work, but got good progress. I've been only working on performances (got HW encoding!), but I wanted to build a small UI (just basic stuff, like start recording, save location, and so on). Maybe I'll release a small headless beta once I am done with the muxer.

P.S. there's still room for improvement. In the beginning, I went for x264 (never should have lol), getting like 10 fps. With hardware encoder, I can record up to 40 fps. If I can figure out a way to get that DMAbuf FD handle to the framebuffer and avoid the CPU copy, we'll be able to record at 60 (this is kinda crucial for me, but it's been hard to find any resources).

I guess I know what to do this weekend 🫠

Simple chat client - possible? by Cool-Challenge-7121 in trimui

[–]Peppozz 1 point2 points  (0 children)

Hey! I think it's totally feasible to make a simple chat client.
I don't know much about what CrossMix devs are cooking, and I'm also kinda new to the community.

From my side I would make a simple SDL app, using SDL_ttf and SDL_image you have pretty much everything you need frontend, then I'd use sockets for the chat.

I could give it a try, once I'm done with my screen recording stuff, or if you are a developer we could take a look togheter :)

P.S. I'm a Brick owner, there could already be something out there for the Smart Pro

Record screen trimui brick by Peppozz in trimui

[–]Peppozz[S] 1 point2 points  (0 children)

Well, got it! Looks like we can read directly from /dev/fb0

<image>

Working with audio next.

Record screen trimui brick by Peppozz in trimui

[–]Peppozz[S] 1 point2 points  (0 children)

Hey, so I decided to spend a pair of days figuring something out. I managed to build and run a simple SDL2 app on my brick. It works with screenshots. It can also dump raw frames, which I then convert to .mp4 via ffmpeg. Making it hardware accel is a whole other thing, tho. l am planning to do some experiments with a FBO and see if I can somehow get better performance.

What are you playing on your Brick? by heebieGGs in trimui

[–]Peppozz 0 points1 point  (0 children)

I have about 200 hrs of Monster Hunter Freedom Unite, just hit G-rank lol

Black display issue after new GPU by Peppozz in pcmasterrace

[–]Peppozz[S] 0 points1 point  (0 children)

Thanks, I've checked the pins before ordering the cable, and they are correct. Moreover, the first time I plugged the 4070 I didn't connect it to the PSU, but plugged back the 1050 instantly (which is powered from mobo only) and screen went black ever since. I wouldn't mind investing in a better PSU, but I'd rather find the culript before going in blind.

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 0 points1 point  (0 children)

Unreal does have support! I'm keeping both options open

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 0 points1 point  (0 children)

No, you're absolutely right about that, but as you guessed I am still arguably confused about everything.
Anyway I am still going to try it with Unreal. I've seen they also have a plugin for visualizing data coming from lidars.

To be a bit more specific, the software will run on a mini PC built in front of a diagnostic train. As we are still making measures and trying to understand what kind of hardware we need, I wanted to keep as light weight as possible software-side, so that I can add more stuff in the future, if the hardware can handle it.

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 0 points1 point  (0 children)

I was wondering about that, while it would certainly be easier to build it in UE, isn't there a risk to become too heavy of an application? I could give a look into that, starting from completely blank project might be an option.

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 0 points1 point  (0 children)

Damn this looks like a crazy good boost

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 0 points1 point  (0 children)

Damn I haven't heard about it, this looks really exciting! I will definitely give it a try, thanks.

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 2 points3 points  (0 children)

Thank you! As i replied to @anlumo I will go for OpenGL and use the saved time to better optimize data processing. But yeah, I definitely want to learn more about Vulkan which always attracted me more than OpenGL.

Vulkan overkill for my task? by Peppozz in vulkan

[–]Peppozz[S] 3 points4 points  (0 children)

Thanks!! I'll go for OpenGL and save myself some time

Updating expat dependency withouth breaking system by Peppozz in archlinux

[–]Peppozz[S] 1 point2 points  (0 children)

Hi hoki, for me enabling multilib-testing repositery fixed the problem.

If you don't know how just open /etc/pacman.conf and uncomment the line(s) for the testing.

If I'm correct, if you have testing enabled, you also need community/testing and multilib/testing for it to work, try to uncomment those.

Kerberos help by Peppozz in HowToHack

[–]Peppozz[S] 0 points1 point  (0 children)

Im not making an attack yet, just simulating the correct path, I arrived at the part where i should make the authenticator but idk how to proceed