Remix.run Logo
▲ anthk 7 hours ago

On the PSP recomp, I wish they could somehow target GL 2.1 video cards (ancient Intel iGPU's) so legacy users like me could play most of the games on an n270 netbook.

▲fps-hero 6 hours ago | parent | next [-]

Man, the netbooks were amazing for their time, but even by 2008 standards, they were not powerful computers.

At the time you needed a fairly capable gaming PC for PS2 emulation, which is a far cry from the igpu in an atom. Given a PSP is basically a cut down PS2, I don’t think emulation on that calibre hardware is an achievable goal. An atom doesn’t even have a hardware programmable vertex shaders, on windows I don’t even think they had GL 2.1.

I never thought I’d see the day where an atom would be vintage tech, and people would still be rocking said vintage tech. It’s amazing you’ve kept it running and usable. Modern PCs can’t even keep up with modern OS, and you’re still rocking the good old days of single core single thread. Rock on!

▲anthk 3 hours ago | parent | next [-]

'Recompiled' is not the same as emulated by any stretch. Native PSP games could perfectly run under an Atom if they used SSE2 instructions and GL 2.1 plus some hacks to mimick some FX (or just some reduced graphic settings).

I've got GL 2.1 running under n270 perfectly well, up to the point to test Yandex Maps to roam around Prypiat.

Even for emulation PPSSPP was far less demanding than PCSX2.

▲ant6n 5 hours ago | parent | prev [-]

I used to play GTA San Andreas on an n270 netbook, I believe at 1024x600. Didn’t run well, but was definitely playable.

▲mathgeek 5 hours ago | parent [-]

Sounds like the epitome of amazing for its time but not a powerful computer.

▲pjmlp 5 hours ago | parent | prev | next [-]

I agree with the sentiment, however it needs to be at least OpenGL 3.3, and take advantage of shaders.

▲Narishma 5 hours ago | parent [-]

GL 2.1 supports shaders.

▲pjmlp 5 hours ago | parent [-]

I know, but it still has lots of baggage and missing features, which is why game engines that support OpenGL tend to target OpenGL 3.3 as the minimum baseline, given that it used to be widely deployed.

▲Narishma 5 hours ago | parent [-]

But we're talking about AI generated code here, it shouldn't have any difficulty supporting the older API if it has the necessary features. For PS2 games I think GL 2.1 (or GL ES 2.0 or WebGL 1 which are all more or less the same thing) is largely sufficient.

▲pjmlp 4 hours ago | parent [-]

Yeah, but I am speaking about what the hardware can do, also I don't see why target WebGL 1.0 in the days of WebGPU, WebGL 2.0 yes, because WebGPU isn't yet widely available.

Now, OpenGL ES 2.0 isn't OpenGL 2.0, this is the trap of those that think OpenGL is the same everywhere.

Also OpenGL 3.3 is from 2010, whereas OpenGL 2.1 was designed for 2006 hardware, how back you want to get?

▲anthk 2 minutes ago | parent | next [-]

No webgl, SDL2/3 + OpenGL 2.1 can be enough to run most PSP games well if some of the FX's are reduced down or replaced.

▲Narishma 4 hours ago | parent | prev [-]

> also I don't see why target WebGL 1.0 in the days of WebGPU, WebGL 2.0 yes, because WebGPU isn't yet widely available.

Because not every hardware capable of running PS2 level games supports the newer APIs.

> Also OpenGL 3.3 is from 2010, whereas OpenGL 2.1 was designed for 2006 hardware, how back you want to get?

Doesn't matter how old it is, what matters is if it has the required features or not. For the use case being discussed, GL 2.1 is sufficient so there's no good reason to not target it. That's my philosophy at least. When I write code, I always use the oldest library or API that has the stuff I need. I don't just go automatically for the latest one.

▲m00dy 6 hours ago | parent | prev | next [-]

I don’t think it’ll happen. The market is too small, and the token costs don’t seem worth the potential upside.

▲Narishma 5 hours ago | parent [-]

What do you mean by token costs? Does it cost more tokens to support an older graphics API than a newer one?

▲dewey 4 hours ago | parent [-]

Yes, because it would not be an "or" but an "and", more features = more tokens.

▲Narishma 4 hours ago | parent [-]

It's not an "and". GL 2.1 has all the features necessary for PS2 games and is still supported on modern systems. Older APIs may be slightly more verbose than newer APIs but that shouldn't matter to an AI.

▲sick_of_slop 6 hours ago | parent | prev [-]

[dead]