There are problems on PS2Linux regarding display using
the framebuffer console. If anyone else has any ideas
as to why they are happening, I might be able to work
some way towards building a patch…
OK, the first thing that is strange is that video mode
changes are only acted upon the 2nd time you run the
program after the change… let me explain.
The PS2 boot up in 640x240 PAL non-interlaced.
I run my SDL game, it detects this mode.
I change the video mode to 640x480 PAL interlaced
I run my SDL game, it detects 640x240 non-interlaced.
I quit and run the game again, it detects 640x480
interlaced.
No, I really want to be using the frame-buffer console
rather than an X window as the PS2 only has 32Mb of
RAM, and X takes up too much of it. IT also seems to
default to a window size larger than my screen, but
that’s another story.
The 2ns problem with video modes is a lot stranger.
In 640x240 non-interlaced, the left hand edge of the
window is actually in the middle of the screen, and
the display wraps around so that the right hand edge
of my window is also at the middle of the screen, i.e.±-----------+
- TITLE +
-
+
-
+
-
+
±-----------+
becomes
±----+±----+
-
++ TI+
+TLE ++ +
-
++ +
-
++ +
±----+±----+
So, to try to fix this, I adjusted the screen
resolution height to 640x250, or 640x256. I can’t
remember the figures off hand, but some heights caused
bizzare patterns of display, whilst some came out with
pictures contiguously correct, but not centered.
Any ideas where SDL is going wrong, and how it can be
fixed? I’m happy for now forcing my display to
640x256 non-interlaced, but obviously this would not
be a good display mode for an x86 box, and I would
like to keep some cross-platformness in my game!
Thanks for any comments
PS According to another user on the PS2Linux site,
this also happens in NTSC mode. I don’t yet know
about VESA mode (Yes, you can plug the PS2 into some
monitors
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine’s Day
http://shopping.yahoo.com