[quote]The fullscreen mode (and changing the display modes) is not supported on linux/solaris yet (as of 1.5). It will be supported in the next release, see rfe
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4661156
(it should be updated in a couple of days with some new info)
[/quote]
(the update appears to have happened already - there’s lots of paras about the VidMode extension and how it will be used.)
It’s great news that at last something is being done (how much bad press has this generated for Sun? Everytime the marketeers touted fullscreen mode, more and more developers discovered it was windows-only). HOWEVER … two scary thoughts:
- By “next release” do you seriously mean 1.6, i.e. not until 2007? What’s the point even bothering if it’s going to be that long? Those of us developing java games on linux will either have switched OS or simply stopped using j2d entirely (in favour of anything, whether that’s LWJGL or anything else) because “it’s so crap it can’t even do fullscreen mode” (I’m guessing that will be the most frequently-phrased way of putting it, fairness aside!). I understand the need to prioritize development, and that every RFE is wanted ASAP by someone, but this makes java look really bad in gaming circles.
Developer: “Yeah, you should move over to java, it’s WORA, saves you all those porting costs for your games”
Publisher: “Great. So, let’s see your demo running on linux and OS X to prove it”
D: “Um, actually, no. It can’t cope with an OS that’s been around for longer than the language has. Um. But it really IS better than C++ at x-platform development, I promise!”
P: “BS. Come back when you’re ready to write your game in C++”.
- The XFree86 authors and/or nvidia (and presumably ATI too?) are pushing everyone on linux towards Xinerama, (whether you want to go that way or not - I didn’t, but now I have to for my multi-monitor support) and the bug report says that Xinerama won’t be supported. If it’s a case of “without Xinerama, we can have this in a gold JVM by Q2 2005” then OK. But if it’s going to be two years or more anyway, then how can we kick Xinerama out?
What was the first thing I was going to do when fullscreen mode appeared on linux? Write a multi-headed game, able to work on almost every nvidia or ati or matrox card sold in the last 4 years, as an excellent demonstration of the superior java API’s that make it trivial to use the latest greatest features for games.
Again, I appreciate that the number of people with more than one monitor is a minority. However, I suspect it’s actually higher than received wisdom suggests - it’s just that most people have no incentive to connect up the second monitor (from the PC they bought 3 years before their current one, which is now gathering dust because it’s running windows 98 or ME and is too slow). It’s up to devleopers to give them the incentive, but it’s up to Sun to enable the developers to do this.