Sponsored Links

Sponsored Links

 

PS3 GPU Use in Linux Video available!

50°
351w ago - CNLohr shared this video of the recent PS3 Linux 3D Graphics access progress. This is an example of code running on Linux, under the hypervisor talking to the Nvidia RSX (video card) on the PlayStation 3. This is done entirely without proprietary drivers.

Shown is 3 animated quads, drawn in immediate mode as well as a series of triangles in the background drawn using an index buffer. This demo is a modified version of IronPeter's libps3rsx running via patched 2.6.24 experimental, unofficial kernel on Gentoo Linux.





Until recently, not enough was known about how to use the RSX to make any headway to usable, free access to the 3D contexts on the GPU on the PS3. With some work, homebrew developers may soon be able to write their own 3D applications.
 

Linux 3D graphics access on PS3!

50°
351w ago - The hunt for 3D graphics access from homebrew/Linux ("Other OS") on the PS3 has finally paid off. Glaurung with the help of IronPeter and others have now released a draft kernel module along with the Xorg driver.

To quote: The contexts are truely independent including:
- object bindings: since lv1_gpu_context_attribute:fb_setup fails with LV1_BUSY, we have to bind objects by hand in the newly created context. For this we can use the exact same commands FB_SETUP puts in the FIFO (http://www.everfall.com/paste/id.php?ew29498z816w) when creating the first context.
- iomapping: the lv1_gpu_context_iomap call has to be done again to allow the GPU to access XDR. The location of the mapping in GPU space (GPU_IOIF) can be the same or different from the value used by ps3fb (0x0d000000)
- FIFO control and location: the FIFO control registers initially read as zero. They can be written to with the address of the second context FIFO. In my test I used the 64kB just before the ps3fb FIFO (i.e. 128kb from the end of the XDR ps3fb_videomemory region). So I put 0x0e1e0000 in the registers (0x10000 less than...
 

One step closer to 3D graphics access on PS3...

200°
358w ago - The quest for 3D graphics access via homebrew/Linux (Other OS) on the PS3 is beginning to progress significantly. Recently, IronPeter managed to blit the push buffer from user land using fifo control registers.

To quote: I was able to run blit push buffer from the user land using fifo control regs. There was some kind of protection. Very weak protection.

It works unstable for now, but it does work. Probably, it's possible to write some kind of 2D support (stretched blits, color fills, etc).

The main question is about 3D support. We need so-called "context objects" to be properly initalized. Probably, hypervisor does this work for us. All we need are handles (and lpar_dma_reports contains something that looks like this handles). To initialize these objects "by hands" we need to access to very special RSX registers, so called RAMIN area.

PS. I investigate RSX with only open-source information. I have no signed NDA with Sony or NVidia.
 

Petition for Sony to enable RSX in Linux reached 10,000 signatures

100°
362w ago - The petition for Sony to open the RSX for use in Linux has exceeded 10,000 signatures. With enough signatures we might be able to convince Sony to unlock the PS3 and enable realistic homebrew through Linux.

Please everyone sign up and help get the PS3 opened!
 
Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links






Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News

Sponsored Links