As an Amazon associate we earn from qualifying purchases. Thanks for your support!                               
×

Best PS3 Game Deals


Best PS3 Game Deals, See All the Deals »
Top deals | New deals  
 All countries United States United Kingdom Canada Germany France Spain Italy Australia Netherlands Japan Mexico
Syndicate (PS3)
$15.05
 
Grease Dance (PS3)
$14.99
 
Greg Hastings Paintball 2 (PS3)
$39.96
 
Transformers Devastation (PS3)
$28.46
 
Shin Megami Tensei: Persona 3 FES (PS3)
$70.66
 
Cabela's Adventure Camp (PS3)
$19.70
 
Atelier Rorona: The Alchemist Of Arland (PS3)
$26.03
 
Metal Gear Rising: Revengeance (PS3)
$16.88
 
Batman: Arkham City (PS3)
$39.80
 
Bulletstorm (PS3)
$59.95
 
Rock of the Dead (PS3)
$39.99
 
Hasbro Family Game Night 3 (PS3)
$39.95
 
What's your next favorite movie?
Join our movie community to find out


Image from: Life of Pi (2012)

Go Back   Blu-ray Forum > Gaming > PlayStation > PS3
Register FAQ Community Calendar Today's Posts Search


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-01-2008, 06:27 PM   #1
joeorc joeorc is offline
Power Member
 
joeorc's Avatar
 
Jan 2007
GROVEPORT ,OHIO
Default PLAYSTATION 3 "RSX" acceleration 3D

for those that do not know ONE of the most requested parts for the Playstation 3 with Linux is 3D acceleration. well there is a few updates to this problem.

read on:


The firmware version is 1.8

The trick is very simple, I can describe it without posting the full sources.

Look at the push buffer dump:

http://www.everfall.com/paste/id.php?uxdlpwlbfpo9

It is the image of push buffer after hypervisor blit. The end of buffer is at 0xb8.

The last packet sends zero to the subchannel zero with tag 0x110. Replace the tag with NOP ( 0x100 ) while buffer is kicked by the hypervisor and is executing with the RSX.

Fill push buffer with N + 1 copies of the first 0xb8 bytes.

In cycle for( int i = 0; i < N; ++i ) modify client screen buffer in some way ( fill with random numbers ), kick push buffer via writing ( (uint32_t *)ioremap( lpar_dma_control, 1024) )[ 0x10 ] = 0xe1f0000 + 0xb8 * ( i + 1 ); sleep ( 1 ); The client screen in the xdr memory will blits in the videomemory.

If nobody is unable to repeat these steps I post the full sources.

Edited: bugfix

responses to the experiment.

Very nice work, IronPeter!

I find it intriguing that not only are you allowed to define the FIFO region
in user memory, but that you are also allowed to map the control area.
This suggests to me that Sony actually intended to support HW 3D under
Linux, as they could just as easily have made the control area accessible
only to the hypervisor.

We are allowed to map only part of mmio register. Only context control registers. I do not know the way to map the global RAMIN area.

The good source about this stuff:

http://www.phoronix.com/scan.php?pag...item=876&num=1

Yes, mc, you are right.

The only thing that needs direct FIFO access is real time 3D acceleration. 2D part does not need that. So Sony probably wants to expose 3D driver.

Most recent:

IronPeter wrote:
It seem like these function perfom TILES & ZCULL setup.

First parameters of these functions change from 0 to number of color & depth tiles ( params of lv1_gpu_memory_allocate ).


I'm mildly surprised no one's replied yet, but that is an interesting find. Lends credence to the theory that the hypervisor doesn't block the RSX at all, with the problem merely being a lack of documentation of the required functions.

Which gives me hope that the Yellow Dog Linux for the new Sony Zego might bring an RSX driver to the PS3 also. Okay, not much hope, but a little.

to keep updated :

http://forums.ps2dev.org/viewtopic.p...=asc&start=450
  Reply With Quote
 
Go Back   Blu-ray Forum > Gaming > PlayStation > PS3

Similar Threads
thread Forum Thread Starter Replies Last Post
Warner releasing "Gigi" & "An American in Paris" DVDs Sep 08 - BDs "early 09" Blu-ray Movies - North America JBlacklow 13 01-24-2020 04:41 AM
Remake News, Galore: "Romancing the Stone," "Arthur" and "They Live" Movies J_UNTITLED 9 12-06-2008 04:27 PM
UK gets "Kill Bill" 1&2, "Pulp Fiction", "Beowulf", "Jesse James", and more in March? Blu-ray Movies - North America JBlacklow 21 12-07-2007 11:05 AM
Sony´s "PS3" is pwning "Xbox 360" & "Wii" in Germany! PS3 Blu-Style 19 11-27-2007 04:04 AM
""New PlayStation 3 Details Emerge" PS3 JTK 21 05-05-2006 02:53 PM



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:38 AM.