Video out on Slim

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Video out on Slim

Post by J.F. »

I'm experimenting - trying to get video out on the slim. At the moment, I've been trying two functions that seemed promising.

int sceImposeCheckVideoOut(int *val);

Returns retval=0/val=2 if the component cable is plugged in. I suspect the 2 is the type of cable detected. Someone with a different cable should try it and see what val is when the function returns. If the cable is not plugged in, retval=80000107/val=N/A.

So we seem to have a way of detecting the video cable. So far so good. Now the function I was trying for switching the video is

int sceImposeSetVideoOutMode(int val);

I don't get any return value other than 0, and if val=0, the LCD is turned on, and if val!=0, the LCD is turned off. I tried various values of val, but it seems to just be on/off. I haven't discovered any "magic value" that turns on the video output.

That's where I'm at so far. Any suggestions or comments are welcome.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

As has been pointed out in previous posts it might be related to a display mode, so load vsh with a plugin running and turn on tv and output the values received from sceDisplayGetMode to stdout or a file or something and see what they are :)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Good thought. I'll do that. :)

EDIT: well, mode and pixelformat are normal in a game on the TV, so whatever redirects the video to the TV has nothing to do with the mode or pixelformat. The mode might still have something to do with the resolution of the video once it's redirected, but doesn't do the redirecting itself.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

I didn't say game I said VSH :P I fully expect game mode to lie if needed.

You do also realize that probably all that is doing is setting some registry value somewhere :)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Yes, it could "lie" in game mode, but seeing as it's game mode we need to work from, that needs to be worked around. It's also easier to have a different function than to lie, so I'm going by that theory until someone shows differently. My guess is a new function in sceImpose or maybe sceDisplay.
Post Reply