Search found 207 matches

by IronPeter
Wed Jan 30, 2008 6:28 pm
Forum: PS3 Linux Development
Topic: RSX PS3 << need help >>
Replies: 53
Views: 36732

Single buffering issue. I'll fix that.
by IronPeter
Wed Jan 30, 2008 5:50 pm
Forum: PS3 Linux Development
Topic: RSX PS3 << need help >>
Replies: 53
Views: 36732

SPU is very good for dynamic geometry. You can generate your geometry on fly. Or at least reduce generation time.

I need any feedback from ps3rsx ( bug reports, feature requests etc ).
by IronPeter
Tue Jan 29, 2008 11:43 pm
Forum: PS3 Linux Development
Topic: RSX PS3 << need help >>
Replies: 53
Views: 36732

>The sxga (1280x1024 resolution) did not work

It is my working resolution. Works well with all kernels i used ( many - many different kernels :)).
by IronPeter
Mon Jan 28, 2008 4:11 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Bad formed video-memory object can crush blits, of course.

We need fifo dump after 603 call.

Also we need to check list of objects inside driver_info.
by IronPeter
Mon Jan 28, 2008 4:03 am
Forum: PS3 Linux Development
Topic: RSX PS3 << need help >>
Replies: 53
Views: 36732

hmm...

Examples must work under running X server. Without any display corruption after exit.

Not hard job. I've just bundled old RSX module by glaurung.
by IronPeter
Mon Jan 28, 2008 2:02 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Hi, Glaurung, did you upgrade your firmware?

>programming offset 0x188 of 2D ContextSurface object

Hmm... The push buffer dump after FB_SETUP in FW 2.1 was published. It contains 0x188 tag setup.

Can you try to work with ps3fb's fifo context, not with your own?
by IronPeter
Sun Jan 27, 2008 10:02 pm
Forum: PS3 Linux Development
Topic: RSX PS3 << need help >>
Replies: 53
Views: 36732

small update

Hi.

I integrated glaurung kernel module into libps3rsx ( so theoretically you do not need to apply kernel patch ).

You only need to make fresh checkout of libp3rsx, run ./src/init/startup.sh and run examples.

Troll is animated now.
by IronPeter
Mon Jan 14, 2008 4:43 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

stinkymonkey, nothing interesting. I'am slowly writing some kind of techdemo.

No news about 3D access in FW 2.10
by IronPeter
Sat Dec 29, 2007 8:13 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

hmm... Probably you want to setup not valid or "foreign" context object.

Your fifo setup seems to be broken.
by IronPeter
Sat Dec 29, 2007 7:36 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Here http://manwe.homelinux.org/~glaurung/ps3/20071015/ is old but working RSX analyze tool.

You need to call prepare_ramin_vram_copy function.

Peter.
by IronPeter
Sat Dec 29, 2007 7:33 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

the same dump as in FW 2.01.

Nothing 3D related.

Probably, I did not understand your words about 2d object. Can you do blit from the upper vidmem? Are your 2d subchannels working?
by IronPeter
Sat Dec 29, 2007 7:21 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Pretty nice, can you make RAMIN dump? Sources are in this thread.
by IronPeter
Sat Dec 29, 2007 6:17 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

monolith42, did you run init script src/init/mknods.sh ?

Success of that initialization is 90% in memory access rights and limits for DDR context memory.
by IronPeter
Thu Dec 27, 2007 7:04 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

I've read this paper few pages ago.

Do not want to go into detailed discussion.
by IronPeter
Thu Dec 27, 2007 6:29 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Glaurung, very nice gift. Rex_VF5, I did not try to run code at HV privilegies level or to hack HV. I see some possible holes. I do not think that RSX DMAs are protected at the bus level. RSX can be theoretically used as a share resource by different instances of OtherOS. In that case the stream of ...
by IronPeter
Thu Dec 27, 2007 4:02 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

Glaurung, nice finding with lv1_context_gpu_attribute fifo_setup.

One note - you promised to make libps3rsx patch :).

Happy Xmas and New Year to all.
by IronPeter
Wed Dec 26, 2007 5:40 pm
Forum: PS3 Linux Development
Topic: Does Firmware 2.10 remove access to RSX?
Replies: 30
Views: 25434

>it is very likely that there exists an undocumented hypervisor call which creates the classes we need for accelerated graphics.

It is known that games and linux run over the same hypervisor. So we ( probably ) can use all HV functions called by PS3 game SDK. Without restrictions.
by IronPeter
Fri Dec 21, 2007 6:47 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

hermes, Ctrl1 e2014ac e201448 just means that DMA engine of RSX read FIFO buffer. Any advance in ctrl regs does not mean success of execution. The function prepare_ramin_read_line256 copies memory line from upper vidmem into CPU accessible area. I am pretty sure that RSX hangs up doing that copy. Yo...
by IronPeter
Fri Dec 21, 2007 3:35 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

d-range, any nontrivial push buffers. So you must memset( 0 ) fifo buffer, make lv1_gpu_context_attribute call, dump fifo bufer ( if there are any non zero values ). Any nonzero values are interesting for me. Push buffer after FB_SETUP in ps3fb.c is the first candidate to investigate. PS. FW 2.01 is...
by IronPeter
Thu Dec 20, 2007 10:34 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

2.10 features

Nice if somebody is able to test lv1_gpu_context_attribute entries. You can follow testing methodology from this page: http://wiki.ps2dev.org/ps3:hypervisor:lv1_gpu_context_attribute I very want to see push buffer after valid FB_SETUP call in FW 2.1. Just dump fifo buffer after that call in ps3fb.c ...
by IronPeter
Thu Dec 20, 2007 12:31 am
Forum: PS3 Linux Development
Topic: Graphics driver for PS3 in Fedora 7
Replies: 7
Views: 6761

Use videomode 13 ( from my memory, not sure ).

It is for 1280x1024. I am using that resolution on 1680x1050 capable monitor.

Peter
by IronPeter
Wed Dec 19, 2007 9:31 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

jonwil, you do not understand. With this update Sony also breaks half of linux installations. PS3 linux code holder Levand Geoff did not know about these changes.
by IronPeter
Wed Dec 19, 2007 7:03 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

> official 3D isn't far off

I hope also. Nice thing is that fb offset is still 64K. fb and fifo alias in memory. Looks like bug or preparing to 2D driver.
by IronPeter
Wed Dec 19, 2007 3:50 pm
Forum: PS3 Linux Development
Topic: Does Firmware 2.10 remove access to RSX?
Replies: 30
Views: 25434

RSX is blocked in some sense.

Some official kernels use the same gpu_mem_alloc( 0 ) call. I think, Sony halved linux install base. Nice XMas PR action.
by IronPeter
Wed Dec 19, 2007 5:19 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

It is for direct RAMIN access. I can init 3D only with this call ( but I am pretty sure that there are undocumented HV calls for 3D initialization ).
by IronPeter
Wed Dec 19, 2007 3:41 am
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

test

Test is very simple. Try in the kernel mode u64 a = 0, b = 0; lv1_gpu_memory_allocate( 0, 0, 0, 0, 0, &a, &b ); printk( "%8x %8x %8x %8x \n", (u32)a, (u32)(a>>32), (u32)b, (u32)(b>>32) ); It is better to try that call before any RSX stuff ( for example in the ps3fb.c ). Peter.
by IronPeter
Tue Dec 18, 2007 10:42 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

I do not know yet if is RSX blocked in FW 2.1

I know that many linux clean Geoff kernels do not boot with FW 2.1. I do not want to make FW upgrade to investigate this problem.
by IronPeter
Tue Dec 18, 2007 5:26 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

All fullscreen videomodes must work.

It is hard to fix bugs remotely but it seems like 3d initialization was not completed. You can try to tweak init.c file and investigate RAMIN after initialization.
by IronPeter
Tue Dec 18, 2007 5:23 pm
Forum: PS3 Linux Development
Topic: PS3RSX Binary driver support
Replies: 117
Views: 206158

From your log it looks like Sony fixed lv1 gpu memory allocate with size 0.

It means for example that old linux kernels are also incompatible with FW 2.1.

Not sure, it is hard to say something from these lines.

Peter.
by IronPeter
Mon Dec 17, 2007 5:16 pm
Forum: PS3 Development
Topic: The hunt for HV's FIFO/Push buffer...
Replies: 463
Views: 724201

>Yeah same problem here, the cmd suggests the IOCTL does not exist this means to me that these examples work (and someone please correct me if I am wrong) with the patched ps3fb, I think they will need to be changed to work with the new modules? Yes, Glaurung promised to make some patch to libps3rsx...