Go Back  
Reply
 
Thread Tools
Old 02-09-2013   #1
mecwerks
Apprentice
 
Join Date: Jan 2013
Location: United States
Posts: 20
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Exclamation [HELP] RSXGL

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
Attached Files
File Type: zip videotest.zip (4.18 MB, 2 views)
mecwerks is offline   Reply With Quote
Old 02-10-2013   #2
KDSBest
Homebrew Developer
 
Join Date: Mar 2009
Location: Super Mario Land
Posts: 160
Likes: 32
Liked 299 Times in 87 Posts
Mentioned: 72 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mecwerks View Post
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 .
KDSBest is offline   Reply With Quote
Old 02-10-2013   #3
mecwerks
Apprentice
 
Join Date: Jan 2013
Location: United States
Posts: 20
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Originally Posted by KDSBest View Post
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?
mecwerks is offline   Reply With Quote
Old 02-10-2013   #4
KDSBest
Homebrew Developer
 
Join Date: Mar 2009
Location: Super Mario Land
Posts: 160
Likes: 32
Liked 299 Times in 87 Posts
Mentioned: 72 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mecwerks View Post
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.
KDSBest is offline   Reply With Quote
Old 02-10-2013   #5
mecwerks
Apprentice
 
Join Date: Jan 2013
Location: United States
Posts: 20
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Originally Posted by KDSBest View Post
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
mecwerks is offline   Reply With Quote
Old 02-10-2013   #6
KDSBest
Homebrew Developer
 
Join Date: Mar 2009
Location: Super Mario Land
Posts: 160
Likes: 32
Liked 299 Times in 87 Posts
Mentioned: 72 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mecwerks View Post
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
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.

Last edited by KDSBest; 02-10-2013 at 12:56 AM.
KDSBest is offline   Reply With Quote
Old 02-10-2013   #7
mecwerks
Apprentice
 
Join Date: Jan 2013
Location: United States
Posts: 20
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Originally Posted by KDSBest View Post
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
mecwerks is offline   Reply With Quote
Old 02-10-2013   #8
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 344
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 107 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mecwerks View Post
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
i can help you only in this way:

written by @gzorin
'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/

Last edited by deroad; 02-10-2013 at 04:50 AM.
deroad is offline   Reply With Quote
Old 02-10-2013   #9
mecwerks
Apprentice
 
Join Date: Jan 2013
Location: United States
Posts: 20
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Originally Posted by deroad View Post
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.
mecwerks is offline   Reply With Quote
Old 02-23-2013   #10
gzorin
Apprentice
 
Join Date: Jan 2013
Location: New York City, NY
Posts: 4
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
RSXGL wasn't working with the current version of the homebrew toolchain. I finished fixing it today and pushed the changes to GitHub.

-- gzorin
gzorin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 09:23 PM.