Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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  
  Wrong displaymodes after connecting digi-cam  (Read 1763 times)
0 Members and 1 Guest are viewing this topic.
Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Posted 2005-03-21 10:07:49 »

Once I connected (and disconnected) a digital-camera
(USB) LWJGL finds a lot new displaymodes, that my
physical display can never support. (finds 2048x1536)

Is this detectable by LWJGL or should I blame WinXP?

(the cam didn't require any new drivers)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2005-03-21 10:21:23 »

err - wow  Grin

Think we need to filter out more devices than just DISPLAY_DEVICE_MIRRORING_DRIVER

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #2 - Posted 2005-03-21 18:46:33 »

286 modes before and after connecting my digital camera.
Think I need to create some debug builds and send to you. Please send an email to: info@lwjgl.org to get in touch.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #3 - Posted 2005-03-22 08:00:03 »

After a reboot, the displaymodes were STILL there...

And guess what... they work Shocked Shocked :-/

dead slow - fillrate issue, dangerously high refreshrate
(85Hz) for that reso, my monitor should NOT be able to
handle that!

I tried the extreme resolutions, and my monitor
managed to show them without any corrupt colors...

I feel like I they can damage my monitor, but as my
hardware can manage it, from the POV of LWJGL the
display-modes are valid. (?)

Something got seriously screwed on my machine, I
don't think this problem should be debugged by LWJGL.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #4 - Posted 2005-03-22 08:50:01 »

Quote

dead slow - fillrate issue, dangerously high refreshrate
(85Hz) for that reso, my monitor should NOT be able to
handle that!

Any semi-recent monitor should* be able to protect itself against wrong/harmfull display modes.


*Emphasis on 'should'. I am not responsible for any damage to your monitor, your self esteem or your cat. Wink

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2005-03-22 09:53:51 »

Quote
I feel like I they can damage my monitor, but as my
hardware can manage it, from the POV of LWJGL the
display-modes are valid. (?)

In the past we used to use invalid display modes, but now we test them (at least in windows) using a windows api call before adding them to the list of valid modes.

I think the issue is that the camera has somehow installed a display and lwjgl is picking it up. The problem is, how do we filter it out - how can we detect it ?

Can you confirm that there is another display in Display Preferences -> Settings: display dropdown ?

Online Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2005-03-22 21:18:49 »

No additional Display, but I can 'set' the insane
resolutions from the "Display Properties" -> "Settings"
so WinXP thinks they are valid too. LWJGL can't do
anything about that I think.

For now i just remove all diplaymodes over 1600x1200
from the list. That'd be enough not to blow my monitor
into pieces Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #7 - Posted 2005-03-23 03:46:15 »

Seeing as the drivers are determined to blow up your machine, I propose we add a system property, org.lwjgl.opengl.Display.safetyCatchOff, which will automatically remove any hi-spec modes like anything over 85Hz or 1600x1200. As time goes by and we solve the problem or it goes away we can remove the safety catch. Even then it can always be set to true to allow all modes through.

Cas Smiley

Offline rexguo

Junior Devvie




Real-Time Java


« Reply #8 - Posted 2005-04-04 00:13:45 »

Physical displays are increasing in capabilities
by the day. My new Acer laptop with a ATI X700
mobile chip drives a 1680x1050 LCD. There
should be a more future-proof solution..

http://www.rexguo.com - Technologist + Designer
Offline vrm

Junior Devvie




where I should sign ?


« Reply #9 - Posted 2005-04-07 12:35:13 »

and my dual-screen configuration is far above that ..  :-/
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.

rwatson462 (32 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

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

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

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

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

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

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!