Go to advanced search

by bullen
Thu Oct 29, 2020 10:38 pm
Forum: Off topic discussion
Topic: Jetson Nano 2GB
Replies: 5
Views: 296

Re: Jetson Nano 2GB

As for that other device. It's kind of a dud. CUDA cores without locally attached high bandwidth memory, instead of shared memory via PCIe, is a very low performance design. More gimmick than useful. From what I've seen the Jetson (Switch/2) far outperforms the VC6 maybe not per watt but I'll see n...
by bullen
Thu Oct 29, 2020 7:45 pm
Forum: Off topic discussion
Topic: Jetson Nano 2GB
Replies: 5
Views: 296

Jetson Nano 2GB

So I don't know if this will be ok to discuss here, but Nvidia is bringing out the big guns and I just ordered a Jetson Nano 2GB for 600 SEK ($65) incl. VAT and shipping (for some reason express delivery from US to Sweden was $0 with both FedEx and DHL so something is going on = Nvidia are pushing t...
by bullen
Sat Oct 17, 2020 9:46 pm
Forum: C/C++
Topic: OpenAL Error
Replies: 0
Views: 119

OpenAL Error

malloc(): smallbin double linked list corrupted Thread 1 "park" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) backtrace #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix...
by bullen
Wed Oct 14, 2020 10:41 pm
Forum: Graphics, sound and multimedia
Topic: How many OpenAL sources
Replies: 0
Views: 103

How many OpenAL sources

Does anyone know how many OpenAL sources the raspberry 4 can handle? Edit: apparently you can just run this code: ALCint size; alcGetIntegerv( device, ALC_ATTRIBUTES_SIZE, 1, &size); std::vector<ALCint> attrs(size); alcGetIntegerv( device, ALC_ALL_ATTRIBUTES, size, &attrs[0] ); for(size_t i=0; i<att...
by bullen
Mon Oct 12, 2020 2:25 pm
Forum: Graphics programming
Topic: SRGB Textures
Replies: 0
Views: 132

SRGB Textures

How can I load textures with glTexImage2D to get SRGB to work?

Edit: hm maybe it's raspberryOS that need SRGB?
by bullen
Sat Oct 10, 2020 3:36 pm
Forum: General discussion
Topic: SRGB
Replies: 0
Views: 98

SRGB

I'm trying to get EGL to use SRGB or OpenGL ES 3... and I can't seem to get it to work.

I now read that the default is SRGB, but then how do I create textures?

Using GL_SRGB gives me black textures on raspberry where the same code works fine on Windows.

Image
by bullen
Sat Oct 10, 2020 2:47 pm
Forum: Bare metal, Assembly language
Topic: Displaying fonts
Replies: 17
Views: 2621

Re: Displaying fonts

I tried adding in to vec2 uv0 but no cigar... The bitmap data is exactly the same from the working windows version so now I'm really stumped... I bet there is shit behind the steering wheel as always but man these different standards are killing me. Edit: FIXED it!!! It was ES not liking hardcoded r...
by bullen
Sat Oct 10, 2020 1:29 pm
Forum: Bare metal, Assembly language
Topic: Displaying fonts
Replies: 17
Views: 2621

Re: Displaying fonts

Sure the vertex shader is working fine because I can see the black squares where the glyphs are supposed to show. The problem is the texture.

Do you know how I can install Renderdoc?

viewtopic.php?f=63&t=287895
by bullen
Sat Oct 10, 2020 1:09 pm
Forum: General discussion
Topic: Renderdoc
Replies: 1
Views: 119

Renderdoc

Found this: http://raspbian.raspberrypi.org/raspbian/pool/main/r/renderdoc/ Why is it not in apt-get? apt-cache search renderdoc gives nada pi@raspberrypi:~/Downloads $ sudo dpkg -i renderdoc_1.9+dfsg-2_armhf.deb Selecting previously unselected package renderdoc. (Reading database ... 58374 files an...
by bullen
Sat Oct 10, 2020 7:29 am
Forum: Bare metal, Assembly language
Topic: Displaying fonts
Replies: 17
Views: 2621

Re: Displaying fonts

Has any1 managed to get vanilla stb_truetype rendering on raspberry with ES 2 or 3? #version 300 es precision lowp float; vec2 uv0; uniform sampler2D sampler; layout (location = 0) out vec4 FragData; void main() { vec4 c = texture2D(sampler, uv0); FragData = vec4(c.r, 0.0, 0.0, c.r); } This displays...
by bullen
Fri Oct 09, 2020 7:17 pm
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

Is there a way to profile the GPU cache-misses, shader inefficiencies (like using to many registers) and such more advanced stuff?

viewtopic.php?f=63&t=287895
by bullen
Fri Oct 09, 2020 5:21 pm
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

Would the C code to access this look something like this:

Code: Select all

u32 *ptr;
asm volatile ("pld [%0]" : : "r" (ptr));

And does this not work from user space?
by bullen
Fri Oct 09, 2020 12:16 am
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

I think you replied to an old post... I usually make the mistake to post first and then edit my post for a while... But I have a few questions: 1) I found this: https://github.com/nezticle/RaspberryPi-BuildRoot/wiki/VideoCore-Tools is that all the tools we have to understand the GPU? 2) I heard ther...
by bullen
Thu Oct 08, 2020 5:49 pm
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

Games "produce" sound and images with "physics from input" and resources (these are consumed only)... That "physics from input" requires very low latency even if you manage to utilize cache: On my C+ (C/C++) 3D MMO engine I have 2% cache-misses that need to be as fast as possible! I would guesstimat...
by bullen
Thu Oct 08, 2020 3:40 pm
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

I think most people don't understand the difference between latency and bandwidth.

The bottleneck has always been latency, not bandwidth.

Bandwidth is only interesting if you are consuming, I write games that produce something, that's why latency is important.
by bullen
Thu Oct 08, 2020 2:28 pm
Forum: General discussion
Topic: RAM speed
Replies: 39
Views: 3126

Re: RAM speed

Sorry to wake this one up, but latency of memory is going up with DDR5 (apparently DDR3 was faster than DDR4 too) so I found this page: https://en.wikipedia.org/wiki/CAS_latency I think my initial hunch about SRAM was right? We need faster RAM, if not the raspberry 4 is peak CPU at 1 Gflops/watt, fo...
by bullen
Wed Oct 07, 2020 11:58 pm
Forum: General discussion
Topic: 2 more SD cards
Replies: 27
Views: 1216

Re: 2 more SD cards

I would disagree USB3 is the most buggy thing I have ever used. It's over-engineered!
by bullen
Wed Oct 07, 2020 12:16 pm
Forum: General discussion
Topic: 2 more SD cards
Replies: 27
Views: 1216

Re: 2 more SD cards

Waking this one up for a tangent:

https://lab.ktemkin.com/post/why-is-usb3-harder/

I'm not going to use USB3 for disk after reading this.
by bullen
Thu Sep 10, 2020 7:19 pm
Forum: General discussion
Topic: Chromium GPU working with 2020-05-27?
Replies: 27
Views: 1553

Re: Chromium GPU working with 2020-05-27?

sudo apt-get install libx11-dev libgles2-mesa-dev libglu1-mesa-dev

fixes it, don't know which one... probably libgles2-mesa-dev
by bullen
Wed Sep 09, 2020 3:44 pm
Forum: General discussion
Topic: Chromium GPU working with 2020-05-27?
Replies: 27
Views: 1553

Re: Chromium GPU working with 2020-05-27?

I obviously install X, my previous thread called Aeon Alpha has the install procedure I use. The thing is that something changed and you need to inform about changes. Things that have worked for 5 years stop working, it is unprofessional to not attach a warning about changes. I will try to get it to...
by bullen
Wed Sep 09, 2020 6:28 am
Forum: General discussion
Topic: Chromium GPU working with 2020-05-27?
Replies: 27
Views: 1553

Re: Chromium GPU working with 2020-05-27?

apt-get install chromium-browser? The GPU in chromium-browser has worked for 5 years with lite. Something has changed in a bad way in the last couple of months. I'm just confused how it could have happened, I mean am I the only one on the planet that uses these things? Is raspberry pi really into th...
by bullen
Wed Sep 09, 2020 5:34 am
Forum: General discussion
Topic: Chromium GPU working with 2020-05-27?
Replies: 27
Views: 1553

Re: Chromium GPU working with 2020-05-27?

Eh, yes I know... but the GPU is not working in it!

Not in 2020-05-27 lite or 2020-08-20 lite, not before full-upgrade or after.

Which effectively makes the raspberry a $35 client side brick.
by bullen
Tue Sep 08, 2020 9:44 pm
Forum: General discussion
Topic: Chromium GPU working with 2020-05-27?
Replies: 27
Views: 1553

Re: Chromium GPU working with 2020-05-27?

So watching youtube in this broken chrome crashes X/Video driver (screen is black but still receiving HDMI source) So this is a standard install of PiOS, with the standard Chromium it comes installed with, and is fully up to date*? * sudo apt update && sudo apt full-upgrade Hi, the chromium GPU on ...
by bullen
Wed Sep 02, 2020 9:29 am
Forum: Linux Kernel
Topic: rt-preempt kernel for raspberry pi 4 [raspbian buster] including usb-lowlatency patch
Replies: 16
Views: 8858

Re: rt-preempt kernel for raspberry pi 4 [raspbian buster] including usb-lowlatency patch

We've always hosted the -rt kernel branches (in https://github.com/raspberrypi/linux) rather than developing them ourselves - the main contributor in the past being Tiejun Chen. If anyone has a suitable rpi-5.4.y-rt branch candidate then create a Pull Request in our repo. Can you add a RT option to...
by bullen
Mon Aug 31, 2020 1:43 pm
Forum: Advanced users
Topic: Analogue audio redux
Replies: 111
Views: 38412

Re: Analogue audio redux

Just to confirm, these cheapo USB things work now... no static! Mic too! Phew!

Edit: and btw they are exactly the same...

Go to advanced search