PowerVR SGX 535 (Intel GMA 500 / Poulsbo) – Any Documentation Still Available?

Hi Simon! I managed to get the PowerVR SGX535 to run frames continuously, and at maximum resolution! Here’s the photo, I haven’t uploaded the video yet

Glxgears

1 Like

The geometry of the green gear is deformed; I’m optimizing the pipeline and fixing it.

1 Like

It is somewhat M.C. Escher-like :smiley:

1 Like

One practical angle on the gma500 situation: the kernel driver only covers modesetting and 2D scanout, so even basic video playback ends up on the CPU. On those Atom Z5xx machines, software decoding of low-bitrate H.264 at 480p is about the limit, and a lightweight player with frame dropping helps more than any compositor tweaks. Public register documentation would be great, but I’d be happy even with a short note on what the SGX 535 video decode block can do.

This is really taxing my memory (and my ability to find old emails) but I think some versions of SGX may have shipped with versions of our multi standard video decode unit, which was “semi-programmable” in that it had flexible units that could be configured to cope with a number of standards.

Whether that variant supported H.264 and/or which profiles it could handle is unknown. I suspect that version might not yet have had CABAC decoding because I recall that being “a challenge™” to add.

I have a video driver here, I can share it if that’s allowed. I’m just not sure how useful it would be for reverse engineering

I can send it to you if you need it

I took a look at it, it has VA-API and H.264 support. It’s been sitting in my workspace because it’s not my priority, but it would be nice if someone could take a look at it.

LOL The bug I left behind is something I’m even ashamed to talk about I had set all 12 depth and occlusion states to ALWAYS instead of LESS as Mesa requires so the gears turned into a work of art by M.C. Escher and the occlusion overwhelmed all the gears. lol

I fixed the bug

Good morning, Simon! Sorry for replying at such a late hour (assuming you’re in the UK), but I’ve finally uploaded the video of GLXGEARS running and thankfully, without any seizure-inducing flickering this time! Lol

16fps, very slow but I’m optimizing the pipeline. Unfortunately, when making a driver you have to achieve the lowest possible ms latency for fps (crazy).

Unfortunately, after that filming I only managed to get 25 fps, tragic.

Is this some kind of test account?

It looks a lot like automated account, who on earth would do that?

Problem solved, indeed they were just bot accounts.

How is the SGX535 panning out? Any progress?

Thank you! Even though it’s only been 2 days, many things have happened (many​:skull:)

I recreated ALL of the 3D from the SGX535 (finally!) as well as all of the 2D, so in the next few days everything will be ready with OpenGL. I’m reviewing the MMIO, and almost all USSE instructions have been mapped via disassembly (tool)

Later I’ll write an RFC for the Linux kernel, thanks for keeping this forum going! It was almost empty, so I tried to answer as many posts as possible :smiley:

Actually, it seems like Intel made everything difficult on purpose. I’m doing RE of the SGX544 too and I’ve already found the PDS instructions, IN ONE DAY​:skull:

and it still had no stripped files

(by the way, what were those pvr_i34probe accounts saying? the name is bizarre)

Edi: It’s because for some reason the names really bothered me, It’s bizarre, It made me feel uncomfortable, Idk why

Btw, I have another update: I managed to fix an old bug that existed even in the Intel driver, where the GPU would shut down and never come back on when the laptop screen was closed (bizarre). In addition, I fixed a UAF vulnerability

Actually, Poulsbo’s video driver had accelerated 1080p and not just 1080i; it’s strange, but I think Intel messed with something.

PDS is no longer a problem, even though I don’t have the disassembler, I promise that next time I’ll come back breaking blocks in Minecraft at 1280x800

Hey everyone! I’m also working on poulsback, an open-source Linux graphics stack for Intel GMA 500/600 (PowerVR SGX535). Thought I’d share some of the progress so far!

Recent progress:

  • 3D performance: glxgears went from 3.3 to 386 FPS at 300×300, outperforming Intel’s EMGD driver (317 FPS). At 640×640, it’s 116 vs. 87 FPS.

  • GPU-accelerated 2D: Faster than EMGD in 17 of 19 x11perf tests, with solid fills up to 7× faster.

  • Mesa/Gallium: Roughly halfway through the development checklist. GPU vertex shading works, with a new fragment backend supporting blending, depth, stencil and more.

  • Hardware support: Development has expanded to the Fujitsu STYLISTIC Q550 (GMA 600), alongside the Dell Inspiron 1210 (GMA 500).

Quality over quick hacks.

A major focus is code quality, maintainability, expanding automated test coverage, regression testing and hardware safety.

The project includes strict compiler checks, sanitizer-backed tests, quality gates and validation on real hardware. Every significant change needs proper verification, especially when working with increasingly rare hardware.

This approach takes more time, but the goal isn’t just impressive benchmarks. It’s building a reliable, maintainable open-source driver that can survive long-term.

Development blog, demos and benchmarks: https://poulsback.in

Source code and contributions: https://github.com/ishad0w/poulsback

Contributors and hardware testers are always welcome!

// cc Many thanks to @Operating , for support and motivation. :baby_chick:

One technical detail worth noting: poulscube performs vertex transformations, lighting, and face culling on the CPU. That’s a valid optimization, but its 399 FPS shouldn’t be interpreted as a general measure of SGX535 GPU throughput.

Update: I’ve also submitted an RFC to the Linux kernel’s dri-devel mailing list regarding SGX535 render integration, device ownership, MMU lifetime, and failure handling. This is an architectural discussion, not a patch submission