• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

RSXGL - RSX Graphics Library for PS3 is Now Ready for Developers

Category: PS3 Hacks & JailBreak  By: PS3 News - (kakaroto.homelinux.net)
Tags: rsxgl rsx graphics library ps3 rsxgl rsxgl ps3 ps3 developers kakaroto alex betts ps3 hacks

36w ago - Sony PlayStation 3 hacker KaKaRoToKS has announced today that the RSX Graphics Library for PS3 known as RSXGL by Alex Betts is now ready for use by developers.

Download: PS3 RSXGL (5c6aba6) / GIT

From his blog: RSXGL Working and Usable

Hi everyone!

When the PS3 homebrew scene started, a lot of people were complaining that it wasn’t possible to write 3D games for the PS3 because of its lack of OpenGL library.

Almost a year ago, Alex Betts thought he would tackle this problem and he started working on RSXGL... an implementation of the OpenGL 3.1 specification written from scratch targeting the PS3′s RSX.

Anyone in their right mind would say that it’s impossible, that it’s too much work, but Alex spent the last year working on it, alone, until it became usable. You can read some news about it here.

For some reason though, no one used it to build their own apps. Maybe the status of the project was scaring them, it was said to be incomplete, there was no GLSL support, etc...

I am writing today to tell you that RSXGL is perfectly usable! It supports online GLSL compilation, as well as any feature you might want. As proof, I have written a new hardware accelerated engine for the EFL using RSXGL and it worked great!

Alex and I spent a lot of time testing and fixing all the issues that were in RSXGL that were made visible by the EFL’s GL engine and I am happy to say that it’s working now. Expedite is able to run most of its tests at 50 to 60 fps on 1080p resolution (instead of the average of 5 to 10 fps it had on 720p before).

You can see performance tests right here (Running some tests from expedite) :

Software rendering: dl.dropbox.com/u/22642664/expedite_psl1ght.log

eng_output_resize called : 1280x720
4.15 , Widgets File Icons
10.79 , Widgets File Icons 2
10.76 , Widgets File Icons 2 Grouped
11.66 , Widgets File Icons 2 Same
11.83 , Widgets File Icons 2 Same Grouped
16.90 , Widgets File Icons 3
11.23 , Widgets File Icons 4
10.11 , Widgets List
10.23 , Widgets List Grouped
10.18 , Widgets List 2
10.22 , Widgets List 2 Grouped
9.50 , Widgets List 3
9.59 , Widgets List 3 Grouped
9.66 , Widgets List 4
9.73 , Widgets List 4 Grouped
6.84 , Image Blend Unscaled
6.34 , Image Blend Solid Middle Unscaled
3.30 , Image Blend Fade Unscaled
3.30 , Image Blend Fade Power 2 Unscaled
32.39 , Image Blend Solid Unscaled
4.58 , Image Blend Solid Fade Unscaled
4.58 , Image Blend Solid Fade Power 2 Unscaled
2.11 , Image Blend Nearest Scaled
31.52 , Image Blend Nearest Solid Scaled
0.55 , Image Blend Smooth Scaled
9.62 , Image Blend Smooth Solid Scaled
14.08 , Image Blend Nearest Same Scaled
52.70 , Image Blend Nearest Solid Same Scaled
14.04 , Image Blend Smooth Same Scaled
59.43 , Image Blend Smooth Solid Same Scaled
0.66 , Image Blend Border
9.32 , Image Blend Solid Middle Border
11.40 , Image Blend Solid Border
0.54 , Image Blend Border Recolor
1.52 , Image Map Rotate
1.67 , Image Map Solid Rotate
5.53 , Image Map Nearest Rotate
8.17 , Image Map Nearest Solid Rotate
1.35 , Image Map Color Rotate
1.47 , Image Map Color Solid Rotate
3.02 , Image Map Color Nearest Rotate
3.67 , Image Map Color Nearest Solid Rotate
1.33 , Image Map Color Alpha Rotate
1.31 , Image Map Color Alpha Solid Rotate
2.91 , Image Map Color Alpha Nearest Rotate
2.84 , Image Map Color Alpha Nearest Solid Rotate
15.30 , Image Map 3D 1
7.79 , Image Map 3D 2
7.28 , Image Map 3D 3
3.61 , Image Map 3D 4
13.83 , Image Map 3D 5
31.59 , Image Map 3D 6
3.67 , Image Map 3D Flow
4.06 , Image Quality Scale
60.33 , Image Data ARGB
11.85 , Image Data ARGB Alpha
30.35 , Image Data YCbCr 601 Pointer List
14.44 , Image Data YCbCr 601 Pointer List Wide Stride
RSXGL rendering: dl.dropbox.com/u/22642664/expedite_rsxgl.log

eng_output_resize called : 1280x720
EGL surface size is : 1280x720
5.43 , Widgets File Icons
28.61 , Widgets File Icons 2
35.00 , Widgets File Icons 2 Grouped
39.51 , Widgets File Icons 2 Same
48.14 , Widgets File Icons 2 Same Grouped
10.81 , Widgets File Icons 3
56.57 , Widgets File Icons 4
56.78 , Widgets List
58.22 , Widgets List Grouped
58.23 , Widgets List 2
58.25 , Widgets List 2 Grouped
56.10 , Widgets List 3
56.18 , Widgets List 3 Grouped
56.17 , Widgets List 4
56.18 , Widgets List 4 Grouped
51.26 , Image Blend Unscaled
11.30 , Image Blend Solid Middle Unscaled
60.63 , Image Blend Fade Unscaled
60.41 , Image Blend Fade Power 2 Unscaled
46.28 , Image Blend Solid Unscaled
60.82 , Image Blend Solid Fade Unscaled
60.42 , Image Blend Solid Fade Power 2 Unscaled
59.95 , Image Blend Nearest Scaled
57.85 , Image Blend Nearest Solid Scaled
60.29 , Image Blend Smooth Scaled
57.83 , Image Blend Smooth Solid Scaled
60.43 , Image Blend Nearest Same Scaled
59.88 , Image Blend Nearest Solid Same Scaled
60.49 , Image Blend Smooth Same Scaled
59.89 , Image Blend Smooth Solid Same Scaled
59.97 , Image Blend Border
38.29 , Image Blend Solid Middle Border
38.64 , Image Blend Solid Border
59.54 , Image Blend Border Recolor
60.45 , Image Map Rotate
60.43 , Image Map Solid Rotate
60.41 , Image Map Nearest Rotate
60.42 , Image Map Nearest Solid Rotate
60.40 , Image Map Color Rotate
60.43 , Image Map Color Solid Rotate
60.42 , Image Map Color Nearest Rotate
60.44 , Image Map Color Nearest Solid Rotate
60.40 , Image Map Color Alpha Rotate
60.42 , Image Map Color Alpha Solid Rotate
60.40 , Image Map Color Alpha Nearest Rotate
60.42 , Image Map Color Alpha Nearest Solid Rotate
49.76 , Image Map 3D 1
60.41 , Image Map 3D 2
60.26 , Image Map 3D 3
60.43 , Image Map 3D 4
49.40 , Image Map 3D 5
60.41 , Image Map 3D 6
27.65 , Image Map 3D Flow
57.00 , Image Quality Scale
50.69 , Image Data ARGB
16.60 , Image Data ARGB Alpha
58.65 , Image Data YCbCr 601 Pointer List
58.99 , Image Data YCbCr 601 Pointer List Wide Stride
59.13 , Image Data YCbCr 601 Pointer List Map Solid Rotate
59.01 , Image Data YCbCr 601 Pointer List Map Nearest Solid Rotate
50.49 , Image Crossfade
59.31 , Text Basic
6.87 , Text Styles
5.31 , Text Styles Different Strings
22.79 , Text Change
51.44 , Textblock Basic
61.10 , Textblock text_append
44.35 , Rect Blend
44.55 , Rect Blend Power 2
29.77 , Rect Solid
61.03 , Rect Blend Few
60.40 , Rect Blend Power 2 Few
60.41 , Rect Solid Few
51.14 , Image Blend Occlude 1 Few
60.90 , Image Blend Occlude 2 Few
61.87 , Image Blend Occlude 3 Few
65.58 , Image Blend Occlude 1
60.42 , Image Blend Occlude 2
60.39 , Image Blend Occlude 3
27.06 , Image Blend Occlude 1 Many
33.53 , Image Blend Occlude 2 Many
56.23 , Image Blend Occlude 3 Many
0.93 , Image Blend Occlude 1 Very Many
1.42 , Image Blend Occlude 2 Very Many
3.09 , Image Blend Occlude 3 Very Many
26.48 , Polygon Blend
60.46 , Image Blend Unscaled Proxy
25.86 , Proxy Text Fixed
Please give RSXGL a try. Also, you can get the latest EFL version from my repository, which includes the gl engine for PS3. Now, any EFL application will be automatically hardware accelerated thanks to RSXGL. I hope we can see some new games (or old GL games being ported) soon!

RSXGL : github.com/gzorin/RSXGL
EFL : github.com/kakaroto/e17

Enjoy!




Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 23 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
miseryguts's Avatar
#8 - miseryguts - 93w ago
Reply
Please pardon my ignorance here, but would this allow allow for improvements to the existing emulators & possibly new ones incl N64, PS1/PS2, Dreamcast, Sega Saturn etc and perhaps more sophisticated & graphically complex homebrew..?

Would it also enable HW acceleration of HD video playback..?

Thanks.

openupyourmind's Avatar
#7 - openupyourmind - 93w ago
Reply
Originally Posted by elser1 View Post
Quote i'm no expert but my friends say the ps3 is obsolete and outdated. i see there pc game graphics and i see why they say that. the 7800 nvidia was good in its day but even my old pc has better graphics card than that... but i still like my ps3 and thanks for this info..

$ony's 10 year system is a big flop.

oVERSoLDiER's Avatar
#6 - oVERSoLDiER - 93w ago
Reply
There are also some more info's about the GPU, which I like to post to this article.

The RSX is a graphical processor unit (GPU) based off of the nVidia 7800GTX graphics processor, and is a G70/G71 hybrid with some modifications. The RSX has separate vertex and pixel shader pipelines.

The following is a small sample of serial numbers of the RSX by model number.


The following are relevant facts about the RSX


• Little Endian
• 8 vertex shaders at 500Mhz
• 28 pixel shaders (4 redundant, 24 active) at 550Mhz
• 28 texture units (4 redundant, 24 active)
• 8 Raster Operations Pipeline units (ROPs)
• Includes 256MB GDDR3 650Mhz clocked graphics memory
• Earlier PS3 Models: Samsung K4J52324QC-SC14 rated at 700Mhz
• Later PS3 Models: Qimonda HYB18H512322AF-14
• GDDR3 Memory interface bus width: 128bit
• Rambus XDR Memory interface bus width: 56bit out of 64bit (serial)

More features are revealed in the following chart delineating the differences between the RSX and the nVidia 7800 GTX.


Other RSX features/differences include:


• More shader instructions
[LIST]• Extra texture lookup logic (helps RSX transport data from XDR)
• • Fast vector normalize

[/LIST]

Note that the cache (Post Transform and Lighting Vertext Cache) is located between the vector shader and the triangle setup.

A sample flow of data inside the RSX would see them first processed by 8 vertex shaders. The output are then sent to the 24 active pixel shaders, which can involve the 24 active texture units. Finally, the data is passed to the 8 Raster Operation Pipeline units (ROPs), and on out to the GDDR3. Note that the pixel shaders are grouped into groups of four (called Quads). There are 7 Quads, with 1 redundant, leaving 6 Quads active, which provides us with the 24 active pixel shaders listed above (6 times 4 equals 24). Since each Quad has 96kB of L1 and L2 cache, the total RSX texture cache is 576kB. General RSX features include 2x and 4x hardware anti-aliasing, and support for Shader Model 3.0.

Although the RSX has 256MB of GDDR3 RAM, not all of it is useable. The last 4MB is reserved for keeping track of the RSX internal state and issued commands. The 4MB of GPU Data contains RAMIN, RAMHT, RAMFC, DMA Objects, Graphic Objects, and the Graphic Context. The following is a breakdown of the address within 256MB of the RSX.


RSX Libraries

The RSX is dedicated to 3D graphics, and developers are able to use different API libraries to access its features. The easiest way is to use high level PSGL, which is basicially OpenGL|ES with programmable pipeline added in. At a lower level developers can use LibGCM, which is an API that talks to the RSX at a lower level. PSGL is actually implemented on top of LibGCM. For the advanced programmer, you can program the RSX by sending commands to it directly using C or assembly. This can be done by setting up commands (via FIFO Context) and DMA Objects and issuing them to the RSX via DMA calls.

Neo Cyrus's Avatar
#5 - Neo Cyrus - 93w ago
Reply
Upgrading the PS3 is theoretically possible of course but it really wouldn't be viable at all. Not only would be it overcomplicated and cost too much to make sense but it just wouldn't be worth doing considering realistically the old hardware would only be a tiny fraction of the processing power necessary.

That's also ignoring the fact that the old hardware isn't going to last that long. It'd be dandy if all of the PS3s lasted 20 years but the fact is a lot of them broke down after 2, which is partially because the average Joe doesn't know that it is essentially a computer that needs maintenance... the dust needs to be cleaned out, the original thermal compound needs to be replaced, you can't throw it in a volcano and still expect it to work, etc. That aside it's upsetting and actually disturbing to see how much Sony stinged out on quality.

They practically used mud for thermal paste, the heatsink's finish actually greatly interferes with contact (oddly enough) and the heatsink itself might as well have been replaced with a rock... it's made of extremely low quality material. I'm not sure about modern PS3s but the fat ones I've seen the inside of didn't even use solid state capacitors, they used the "1 cent for 20 billion" electrolytic capacitors made in Taiwan which are notorious for having massive amounts of batches in the 2000s which literally blew up after a few months of use. I personally experienced that with several motherboards.

What I've always hoped for is that the next generation of consoles would stop using alien mumbo jumbo and switch to a standard x86-64 architecture for the purpose of interfacing with a standard PC to use that as an "upgrade". That way those who don't care about graphics can have their 720p at 30 frames and be happy about it and those of us who do care can use the PCs we likely already have.

elser1's Avatar
#4 - elser1 - 93w ago
Reply
yeah i agree i think the ps4 should be released by mid 2012 myself.what would be nice is if you can get a plug in upgrade/adapter for ps3 to make it more powerful.. but i'm not sure if its possible.. i remember seeing something about it being patented by sony here 3 or 4 months ago.. would be good as i have a few 60gig consoles to sell.. LOL

i agree totally also mate but last time i said ps3 was outdated etc i got flamed at.. LOL

Page 4 of 5 «‹12345›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• Guide to Install multiMAN PS3 Themes via USB from a PKG File
• Simple PS3Updates v1.6 Build 2 Final PS3 Homebrew App Updated
• Video: Super Pixel Jumper v1.2 PS3 Homebrew Game is Released
• Video: Pointman: The Akkadian Wars PS3 Homebrew Game Arrives
• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
Introductions: Hello Everyone, I'm New at PS3News.com! - 3m ago

soulseekeruk's Avatar
Quote hi great source of information. Hello to everyone....
By soulseekeruk with
 7030 Comments »
multiMAN - themes, background music and interface modifications - 11m ago

jroc007's Avatar
Quote thanks......
By jroc007 with
 589 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 24m ago

delboy2028's Avatar
Quote Hello i am new nice to meet you all ...
By delboy2028 with
 7030 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 26m ago

emperor79's Avatar
Quote Hello. I am new here. PS3 is best....
By emperor79 with
 7030 Comments »

Latest PlayStation 3 Trophies
Pool Nation: Mega Shot
Pool Nation: Mega Streak
Pool Nation: Super Zen
Pool Nation: Zen

Latest PlayStation Vita Trophies
Men's Room Mayhem: Toilet Trouble
Men's Room Mayhem: Mayhem Master
Men's Room Mayhem: Hygiene Award
Men's Room Mayhem: Sand in the Face

Latest PlayStation 3 Releases
Tom Clancys H A W X EUR PS3-Googlecus - 05-23-2013
Terraria JPN PS3-HR - 05-23-2013
Kamen Rider Battlide War JPN PS3-Caravan - 05-21-2013
Fast And Furious Showdown PS3-DUPLEX - 05-21-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News