PS3Hax Network - Playstation 3 Hacks and Mods

PS3Hax Network - Playstation 3 Hacks and Mods (http://www.ps3hax.net/forums.php)
-   PS3 | Technical Development and Coding Area (http://www.ps3hax.net/forumdisplay.php?f=151)
-   -   [HELP] RSXGL (http://www.ps3hax.net/showthread.php?t=51783)

mecwerks 02-09-2013 11:35 PM

[HELP] RSXGL
 
1 Attachment(s)
Hello,

Me and my Dad have a working and running program using RSXGL + SDL_PSL1GHT which we know is running by seeing network debugging messages, but there is no video or audio output. We thought this might be an error in our code but the same happens when we tried compiling ps3load from the samples in the psl1ght library. We can send self's to it and quit via XMB but nothing is appearing on the screen like it does when using the precompiled version of PS3Load I found on psl1ght.net. Also the rsxgl test and gears samples lock up and I have to reset the PS3 by pushing the power button. Although the RSX test that came with psl1ght did work. We have tried running these things on 3.55 DEX Yayes, 3.55 CEX Kmeaw, and 4.31 CEX Rogero. Could someone run these packages that i attached in the zip and tell me if they show any sort of video and/or give any suggestions on what could be causing these problems? Help would be greatly appreciated. Thanks in advanced.

~Mecwerks

KDSBest 02-10-2013 12:42 AM

Quote:

Originally Posted by mecwerks (Post 539144)
Hello,

Me and my Dad have a working and running program using RSXGL + SDL_PSL1GHT which we know is running by seeing network debugging messages, but there is no video or audio output. We thought this might be an error in our code but the same happens when we tried compiling ps3load from the samples in the psl1ght library. We can send self's to it and quit via XMB but nothing is appearing on the screen like it does when using the precompiled version of PS3Load I found on psl1ght.net. Also the rsxgl test and gears samples lock up and I have to reset the PS3 by pushing the power button. Although the RSX test that came with psl1ght did work. We have tried running these things on 3.55 DEX Yayes, 3.55 CEX Kmeaw, and 4.31 CEX Rogero. Could someone run these packages that i attached in the zip and tell me if they show any sort of video and/or give any suggestions on what could be causing these problems? Help would be greatly appreciated. Thanks in advanced.

~Mecwerks

The PSL1ght graphics implementation shouldn't be used. It is very bad implemented if not the worst way this was possible. If you want to show 2D graphics I can recommend using NoRSX by @deroad . IIRC PSL1ght just redirects to libgcm which offsets are different for every cfw. So don't use it ;).

mecwerks 02-10-2013 12:46 AM

Quote:

Originally Posted by KDSBest (Post 539150)
The PSL1ght graphics implementation shouldn't be used. It is very bad implemented if not the worst way this was possible. If you want to show 2D graphics I can recommend using NoRSX by @deroad . IIRC PSL1ght just redirects to libgcm which offsets are different for every cfw. So don't use it ;).

What do you suggest for 3D graphics that are already using SDL + OpenGL and is being ported?

KDSBest 02-10-2013 12:49 AM

Quote:

Originally Posted by mecwerks (Post 539151)
What do you suggest for 3D graphics that are already using SDL + OpenGL and is being ported?

The leaked SDK TBH. I know noone who does 3D with PSL1ght.

mecwerks 02-10-2013 12:50 AM

Quote:

Originally Posted by KDSBest (Post 539153)
The leaked SDK TBH. I know noone who does 3D with PSL1ght.

Damn it. Was trying to use the free open source SDK. Thanks for the help. Just need to see what route my Dad wants to go with it :p

KDSBest 02-10-2013 12:54 AM

Quote:

Originally Posted by mecwerks (Post 539154)
Damn it. Was trying to use the free open source SDK. Thanks for the help. Just need to see what route my Dad wants to go with it :p

Problem with PSL1ghit is. It is totaly outdated. ;) You could write the RSX FIFOs on your own but that is hard to pull off or patch the offsets.

mecwerks 02-10-2013 12:57 AM

Quote:

Originally Posted by KDSBest (Post 539156)
Problem with PSL1ghit is. It is totaly outdated. ;) You could write the RSX FIFOs on your own but that is hard to pull off.

Yeah we we're looking at those earlier. Hopefully we can accomplish something soon. Can't wait to release what we've done once it's running ;)

deroad 02-10-2013 04:43 AM

Quote:

Originally Posted by mecwerks (Post 539154)
Damn it. Was trying to use the free open source SDK. Thanks for the help. Just need to see what route my Dad wants to go with it :p

i can help you only in this way:

written by @gzorin
Quote:

'm happy to assist with the RSXGL stuff. If you were trying to build the stuff in the rsxgl-samples repo, then, yeah, those are really out of date; they still compile their shaders off-line and haven't been updated to compile at runtime using the OpenGL API's.

Therefore the only really current example is the "gears" sample that's included in the RSXGL repo itself (that demo is a barely-modified version of the "es2gears.c" from mesa-demos). Kakaroto's EFL uses the library, too.

Since RSXGL doesn't implement any of the "legacy" (non-shader) OpenGL behavior, many sample/tutorial OpenGL programs that are out there won't work. Programs written against the OpenGL ES 2.0 profile should work, as long as they used vertex buffer objects.
you can also give a look to the src by thatotherdev http://thatotherdev.com/2012/06/06/p...-code-psl1ght/

mecwerks 02-10-2013 10:16 AM

Quote:

Originally Posted by deroad (Post 539240)
i can help you only in this way:

written by @gzorin


you can also give a look to the src by thatotherdev
Code:

can't repost URL because of post count :b

Thanks for the help. We've been in contact with gzorin and he's been giving us advice. But like what was said above PSL1GHT is outdated and would probably be better to use the official SDK.

gzorin 02-23-2013 06:28 PM

RSXGL wasn't working with the current version of the homebrew toolchain. I finished fixing it today and pushed the changes to GitHub.

-- gzorin


All times are GMT -5. The time now is 11:14 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.