Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (524)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Lockups (with glBitmap)?  (Read 3496 times)
0 Members and 1 Guest are viewing this topic.
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Posted 2003-03-24 12:37:17 »

I'm getting a few lockups with LWJGL - is anyone else noticing these or have I got driver problems?

A small test application I've got seems at the moment to lockup whenever the window loses focus, but only if I'm making glBitmap calls.  If I remove them I can ALT+TAB to my hearts desire.  When I add them back, it locks on the first switch.  I've repeated this process many times now.


(I started writing this post about *random* lockups, and was testing things while writing it.  I now believe that background applications were "randomly" taking control away from my LWJGL window, causing the lockup.  TBC.)

Hellomynameis Charlie Dobbie.
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #1 - Posted 2003-03-24 13:11:55 »

Okay, confirmed.  I just wrote a bare-bones app that did nothing but change the clear colour and scrolled a bitmap across the screen.  With the glBitmap call commented out it works fine, with it in it locks the first time you ALT+TAB and doesn't recover.

LWJGL just pushes the data stright to the driver for this call, so I guess it's a driver problem.  Arse.

Damn you, S3! (shakes fist)

Hellomynameis Charlie Dobbie.
Offline princec

« JGO Spiffy Duke »


Medals: 422
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2003-03-24 15:26:30 »

Take your S3 card out of your computer, if it's a desktop.
Smash it to bits with a hammer.
Buy a Geforce.
Worth every penny, plus the satisfaction of smashing hardware up that didn't behave. Double win!

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #3 - Posted 2003-03-24 16:07:45 »

uh uh - Radeon 9500 Pro (nothing less) Grin

I am *very* happy about my 9700!

</flamesuit>

Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #4 - Posted 2003-03-24 16:27:36 »

Unfortunately it's a laptop. Grin  I'm very happy with this machine (Toshiba Satellite 2800-400), but I do have a few complaints:

1. WinME sucks
2. It only has an 8MB graphics system
3. The battery monitoring app misbehaves - when it says 41% remaining you actually have 1% remaining...
4. Toshiba's driver support is pretty dire
5. WinME sucks
6. The modem is a Lucent WinModem
7. You can direct video out to a TV, but it disables that function if you try to play a DVD! Angry
8. WinME sucks
9. S3's OpenGL support is IMHO pretty dire

My desktop currently has a 32MB GeForce256 in it, but I'm going to buy a whole new machine as soon as Doom3 comes out.

So I'm rather living in the stone age.  Well, three years ago or so anyway...

Hellomynameis Charlie Dobbie.
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #5 - Posted 2003-03-24 19:26:30 »

Get an iBook. GeForce2Go, really nice hardware, good looking interface, great keyboard, and starting at only $999 to boot! If and when I get a laptop, those are what I've got my eye on. And LWJGL will work, even if I have to port it myself! Wink

Java Game Console Project
Last Journal Entry: 12/17/04
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #6 - Posted 2003-03-25 09:34:23 »

And (Aargh!) only one mouse button! Grin

Naa, I'm staying with Intel/AMD for now.  I don't personally see that much of a benefit for me with going to Apple.  WinME is really a stopgap on this machine, as Linux hardware support for (Aargh!) my S3 chip is still a bit flakey by all accounts.

Hellomynameis Charlie Dobbie.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #7 - Posted 2003-03-25 10:13:39 »

TBH, I had less problems with my S3 Savage 4 than my current gForce4 Ti4200 once S3 fixed the drivers (which were about 15% of the gForce driver's size so a lot easier on my dial-up connection).
Especially openGL worked great on it and faster than a gforce2 MX.

Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #8 - Posted 2003-03-25 12:43:16 »

Quote
And (Aargh!) only one mouse button! Grin


That's what you think. The first thing programmers do when they get a Mac, is to go out and buy a two button mouse. IIRC, Apple makes some, but you can use a Microsoft or other brand mouse if you like. Trust me, it's not a show stopper. Smiley

Here are the iBooks. They have ATI Radeons:

http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/71401/wo/XB7rH3xd2AQo2Ox3cy41p17yrwn/1.3.0.3.27.29.0.0.1.0.3.1.1.0?117,92

And here are the PowerBooks with Geforce4 2GO:

http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/71401/wo/XB7rH3xd2AQo2Ox3cy41p17yrwn/1.3.0.3.27.33.0.0.1.0.3.1.1.0?126,67



Java Game Console Project
Last Journal Entry: 12/17/04
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #9 - Posted 2003-03-25 13:40:08 »

Ah, but I can use my Intel-based laptop without plugging in a mouse.  Seems a bit silly to only include one button, if everyone goes out and buys a two or three button mouse immediately... Wink

And anyway, I can play all my games on mine.  Well, apart from Black and White, Q3A and Alien Flux... :-/

...But I don't want to get into a Mac vs. Intel flame war.  I'm very happy with the hardware, it's just WinME and Toshiba/S3's graphics drivers that are at fault!

Hellomynameis Charlie Dobbie.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »


Medals: 422
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #10 - Posted 2003-03-25 13:41:14 »

I can't wait for Gregory to finish the Mac port Smiley I'd really like to see A.F. on the Mac!

edit: Shit! I forgot they've only got one button! What default keys should I use for the Mac? Button = shoot or button = move? And which key would be the other control?

Cas Smiley

Offline Exocet

Senior Newbie





« Reply #11 - Posted 2003-03-25 14:26:38 »

Well the one button mouse only really sucks if you are used to a scroll button.  But don't fear all of the other mouse clicks are emulated... cmd+mouseclick for the right button... ahh the days on end of Warcraft and Starcraft... The other buttons are modified with the option and control keys... which Java does on the mac implementation... it is just a question how it is set up on the hardware.. but I'm sure gregory can add it to the mac implementation of the lwjgl mouse code.  
Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #12 - Posted 2003-03-25 16:53:43 »

God forbid you ever want to move and shoot at the same time... Grin

Hellomynameis Charlie Dobbie.
Offline jbanes

JGO Coder


Projects: 1


"Java Games? Incredible! Mr. Incredible, that is!"


« Reply #13 - Posted 2003-03-25 18:30:39 »

Quote
edit: Shit! I forgot they've only got one button! What default keys should I use for the Mac? Button = shoot or button = move? And which key would be the other control?



*Chuckle*. IIRC, I tried to remind you in a previous thread. It seems to have gotten lost in the noise. My suggestion is, if and when you add keyboard control, make fire the default for Macs and they'll use the keyboard to navigate. (You'll need a menu option to switch config for those who do have two buttons tho)

Java Game Console Project
Last Journal Entry: 12/17/04
Offline princec

« JGO Spiffy Duke »


Medals: 422
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #14 - Posted 2003-03-25 22:21:25 »

Ah yes, I do remember you mentioned that a while back.

Cas Smiley

Offline ap_kelly

Junior Devvie




Java rocks!


« Reply #15 - Posted 2003-03-25 23:13:55 »

How about double click is "move to this location" and single click is fire.

Perhaps that may not work too well if you start firing like crazy though.

$0.02

Andy.

Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #16 - Posted 2003-03-26 07:37:27 »

Hmm, well that does rather change the game mechanics somewhat...

Well, when the Mac input libraries are written I'm sure the right decision will be made on whether to emulate multiple buttons at that point or leave it to the application to notice only one button available and work around it.  I have faith! Grin

It is a tad annoying though - just shows you should develop for the lowest common denominator and not presume two mouse buttons, or a 32-bit display, or whatever.

Hellomynameis Charlie Dobbie.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

SHC (24 views)
2014-11-25 15:00:59

SHC (24 views)
2014-11-25 14:53:45

Norakomi (23 views)
2014-11-25 14:26:43

Gibbo3771 (22 views)
2014-11-24 22:59:16

trollwarrior1 (36 views)
2014-11-22 15:13:56

xFryIx (74 views)
2014-11-13 15:34:49

digdugdiggy (52 views)
2014-11-13 00:11:50

digdugdiggy (46 views)
2014-11-13 00:10:15

digdugdiggy (41 views)
2014-11-13 00:09:33

kovacsa (69 views)
2014-11-07 22:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-10 01:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-03 01:36:02

List of Learning Resources
by Longor1996
2014-08-16 13:40:00

List of Learning Resources
by SilverTiger
2014-08-05 22:33:27

Resources for WIP games
by CogWheelz
2014-08-01 19:20:17

Resources for WIP games
by CogWheelz
2014-08-01 19:19:50

List of Learning Resources
by SilverTiger
2014-07-31 19:29:50

List of Learning Resources
by SilverTiger
2014-07-31 19:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!