smurk-too / wii-softchip

Automatically exported from code.google.com/p/wii-softchip
0 stars 0 forks source link

wiiplay pal green screen edtv #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please fill out the following information:

Problem Disc:
--------------------------------------------------
Disc Region: PAL
Wii Region: PAL
cIOS Version: IOS 249 Rev 7

Which SoftChip revision are you using?
--------------------------------------------------
R84

Please describe the issue you're having
--------------------------------------------------
Game locks up with green screen on boot.

Please provide any additional information below.
--------------------------------------------------

Using component cable set to 480p.
It works with 576i or reverting to R83.
The game displays an exception (dsi) if you change video to disc region.

Original issue reported on code.google.com by phill.wo...@gmail.com on 19 Feb 2009 at 11:25

GoogleCodeExporter commented 8 years ago
I don't have component cables nor a hdtv, so i can't test the progressive video 
modes
myself. How do you know that your video mode is 480p and not 576p? I can only 
see
"progressive video mode" on my PAL Wii. I will prepare some test versions for 
you
with different video modes this afternoon. I really would like to know which 
modes
are even possible and which not. Oh and it could be that the game you tested 
doesn't
contain PAL480p, only PAL576p. The test versions will tell you which video 
modes are
available.

Original comment by nintendo...@kaffeeschluerfer.com on 20 Feb 2009 at 7:02

GoogleCodeExporter commented 8 years ago
Please test this:
http://rapidshare.com/files/200378345/palprotest.zip.html

Original comment by nintendo...@kaffeeschluerfer.com on 20 Feb 2009 at 2:21

GoogleCodeExporter commented 8 years ago
It displays:

Found video modes:
NTSC 480i
NTSC 480i (non df)
MPAL 480i
PAL 576i
PAL 480i

It only allows me to select from 480p correct, 480p wrong, 576p correct, 576p 
wrong. 
When I press A they all crash immediately with "Exception (DSI) occurred".

In TV setup I have three options ( I'm running original firmware 3.3 ):
50hz (576i)
60Hz (480i)
EDTV/HDTV (480p)

I don't know if it's possible for the wii to output 576p, but I don't think 
it's a 
supported option. I assume the found video modes are ones that the game says it 
supports? Replacing the video mode selection with one that defaults to the 
closest 
option to the system setting but allowed you to try all the selected ones would 
be 
good.

Original comment by phill.wo...@gmail.com on 20 Feb 2009 at 8:55

GoogleCodeExporter commented 8 years ago
The video modes listed under found, are the ones i am able to identify inside 
the
main.dol of the game, maybe there are more unusual ones. Could you try this test
program with games which support progressive output? If you find a game with 
PAL576p
and not PAL480p or the other way, your test results would really really really 
be
important information for me.

If you want to patch video modes test this:
http://rapidshare.com/files/198345234/videotest2.zip.html
Just patch one of the working video mode to the video mode you want to test, 
best
would be to choose the closest one.(PAL576i for PAL576p for example)

Original comment by nintendo...@kaffeeschluerfer.com on 20 Feb 2009 at 9:25

GoogleCodeExporter commented 8 years ago
in the first test mario kart ouputs:

NTSC 480i
NTSC 480i (non df)
MPAL 480i
PAL 576i
PAL 480i
PAL 576p(1)
PAL 576p(2)
PAL 576p(3)

in the second test it only has one 576p setting selectable, 
NTSC 480i/PAL 480i -> PAL 480p runs.
PAL 576p -> PAL 576i crashes.
PAL 576i -> PAL 576p crashes.

I'm not convinced that it actually makes a difference in game though. My tv 
doesn't 
say and it's not as obvious as a crt whether it is in 50hz/60hz or 
progressive/interlace.

I did some tests on wiiplay

NTSC 480i -> NTSC 480i/PAL 480i green screen
PAL 480i -> NTSC 480i/PAL 480p/PAL 576p runs

It looks like you can't use the list to determine what region the game runs in 
( 
NTSC 480i is the first one printed ). I don't think the game cares what video 
mode 
you select either, if I select 576i then it still ends up running in 
progressive ( 
which isn't in the list ). I can't tell if it's 576p/480p.

Original comment by phill.wo...@gmail.com on 21 Feb 2009 at 12:37

GoogleCodeExporter commented 8 years ago
How can you tell it's running in progressive video mode? Does Mario Kart work 
with
all 4 video modes from the PAL progressive test program?

Original comment by nintendo...@kaffeeschluerfer.com on 21 Feb 2009 at 1:58

GoogleCodeExporter commented 8 years ago
in interlace mode you can switch between component and composite cables in 
game, in 
progressive you can't. the first program always crashes with a dsi exception 
with 
mario kart.

Original comment by phill.wo...@gmail.com on 21 Feb 2009 at 3:42

GoogleCodeExporter commented 8 years ago
Hmm, back to the problem:
"The game displays an exception (dsi) if you change video to disc region." Does 
that
mean the game work with system settings video mode, but not disc region video 
mode?
And both are PAL?

About Mario Kart:
What are the results with r83 and r84 with both settings each?

I'm sorry i ask so many questions, but i can't understand why so many tests 
crash for
you. I need a better understanding of these video modes.

Original comment by nintendo...@kaffeeschluerfer.com on 21 Feb 2009 at 4:55

GoogleCodeExporter commented 8 years ago
I have been poking around and found a few things:

VIDEO_GetPreferredMode() can't be used to get the Video_Mode for poking into 
0x800000cc. Because if you run in progressive then it always returns an NTSC 
mode. 
That is the source of the green screen, I am guessing the game checks and 
crashes 
itself.

The exception seems to be from using TVEurgb60Hz480Prog, libogc avoids using it 
but 
softchip was using it if you selected disc mode.

I've written a new Determine_VideoMode() that doesn't use 
VIDEO_GetPreferredMode() 
and it runs wii play whether the system is set to 576i, 480i or 480p.

Original comment by phill.wo...@gmail.com on 21 Feb 2009 at 5:50

Attachments:

GoogleCodeExporter commented 8 years ago
You reported yourself that PAL 480p works:
"NTSC 480i/PAL 480i -> PAL 480p runs." ok, only when patched into the game, but 
it works.

I'm a little confused that my PAL progressive test program crashes for you with 
all
settings. It's just vmode set to the specified video mode, and video_mode set to
vmode->viTVMode) >> 2 for the "correct" video modes and to Video::Modes::PAL60 
for
wrong PAL576p and Video::Modes::PAL for wrong PAL480p. I don't understand why it
doesn't work.

I took a look at VIDEO_GetPreferredMode in libogc. It really uses always 
NTSC480p
when you have progressive video mode enabled. I'm surprised that PAL games 
worked in
progressive video mode before. Some contain both PAL and NTSC code, so it 
doesn't
matter, but the other ones should have had problems.

Now i really need more results with videotest2 without patching. I want to know 
which
video progressive video modes work under which circumstances. It could be that 
it's
wrong to use PAL480p, but it could also be that libgc is wrong.

Original comment by nintendo...@kaffeeschluerfer.com on 21 Feb 2009 at 6:30

GoogleCodeExporter commented 8 years ago
Now i'm starting to understand the problem. Sorry it took so long, i thought i 
get an
exception, because i don't use component cables. Here's a test version for most
progressive video mode combinations:
http://rapidshare.com/files/200879208/progressivetest.zip.html

I will change SoftChip soon to use TVNtsc480Prog for all progressive video 
modes,
with Video_Mode set to the correct value for the region.

It's still possible it's a bug in libogc, i will keep that in mind.

Original comment by nintendo...@kaffeeschluerfer.com on 21 Feb 2009 at 7:34

GoogleCodeExporter commented 8 years ago
Could you please test SoftChip r85 with all your games with the settings they 
are
supposed to work with? (both video modes for games from your region, and disc 
region
video mode for games from the other region) I hope the video mode problems are 
now
solved completely.

Original comment by nintendo...@kaffeeschluerfer.com on 22 Feb 2009 at 2:29

GoogleCodeExporter commented 8 years ago
Yes, it appears so.

Original comment by phill.wo...@gmail.com on 27 Feb 2009 at 8:20

GoogleCodeExporter commented 8 years ago

Original comment by nintendo...@kaffeeschluerfer.com on 27 Feb 2009 at 12:33