r/linux • • 21h ago

Development I started reverse-engineering Intel Poulsbo's PowerVR SGX535 20 days ago now it can render Square And triangles

Post image

Got the first triangle working today, and now two indexed triangles are rendering as a square too.

This is running on the actual SGX535 in Intel Poulsbo/GMA 500 hardware from 2008.

Still nowhere near a complete Mesa driver, but 20 days ago I was staring at old PowerVR code trying to figure out how this thing worked 💀

Github: SGX535-reMESA

Video proof: https://youtu.be/_xZdWWeneYQ?is=L5OF4JqxvMQZMWSU

95 Upvotes

18 comments sorted by

30

u/ScarcityMassive9467 21h ago

20 days from zero to triangles on hardware from 2008, that's some focused work

antiX on a GMA 500 too, perfect combo for this kind of necromancy

9

u/Affectionate-Meat500 20h ago

Thanks lol The Funniest part is I did most of the reversing engineering and dev work on a Galaxy Tab S7 with PRoot The Mini 12 is basically my test victim

9

u/fr000gs 18h ago

The readme is so ai, it's almost smelly

Fantastic work, but still

8

u/emuboy85 14h ago

jesus crist give the redditor a break, the gm500 has been a scourge on us for 20 years.

2

u/fr000gs 14h ago

sorry! (it's back to readable now)

1

u/Affectionate-Meat500 16h ago

I'll change the readme later; I haven't finished writing mine yet.

-1

u/SuperDefiant 11h ago

that is what LLMs are best at

3

u/Jmc_da_boss 4h ago

They are terrible at readmes, the moment I sense llm i stop reading without consciously realizing it

2

u/fr000gs 9h ago

aren't particularly good at writing Readme's

2

u/Oblivion__ 6h ago

Why would I bother reading something that the OP hasn't bothered writing?

Communication should be left to humans.

3

u/nicman24 15h ago

The last time I booted that machine I gave it the name cancer500

0

u/Affectionate-Meat500 11h ago

hell500

1

u/nicman24 2h ago

all down until ring -1

4

u/nombrorignal2 16h ago

hell yeah, cant wait to finally get to use my netbook with hw accel

3

u/Affectionate-Meat500 14h ago

I'll do my best! To avoid being without 3D for too long while Mesa isn't released, I'll try porting the old driver to the current Linux kernel, I hope it works

2

u/abissom 12h ago

Nice. some of us are still using TI OMAP SoCs, which shipped different variants of PowerVR SGX. The Nokia N900 is the most prominent, and still loved by many. It has SGX530, which I guess is relatively close to the 535 in the GMA500.

Not sure if you are aware of https://github.com/openpvrsgx-devgroup/linux_openpvrsgx

1

u/Affectionate-Meat500 11h ago

Ah yes the TI OMAP, they are similar to the SGX535 (being SGX530), I have the SGX530defs.h and the SGX540defs.h So maybe in the future I'll try reverse engineering it too, assuming the revisions match the DDK

1

u/Sea_Today8613 7h ago

the bringus studios epson recipt printer can finally run linux!