Issues with display modes under Linux

Started by daxxar, April 12, 2007, 09:18:36

Previous topic - Next topic

daxxar

Hey!

I'm trying to get a list of supported display modes on my Ubuntu Linux laptop, but it only gives me one mode (the current).
See this code for steps to reproduce and behaviour: http://p.caboo.se/53249

Thanks in advance on any tips or help. :-)

Kindest regards, daxxar.

Fool Running

I'm not sure (I'm a little bit of a Linux noob ;)), but check the xorg.conf file. I think it contains the list of supported modes, but I'm not sure where LWJGL gets them. Make sure that some are listed in there.

Also try opening the X configurer (I forget what its called right now and I'm in Windows currently :-[) and see if other modes are listed.
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

daxxar

Quote from: Fool Running on April 15, 2007, 21:32:08
I'm not sure (I'm a little bit of a Linux noob ;)), but check the xorg.conf file. I think it contains the list of supported modes, but I'm not sure where LWJGL gets them. Make sure that some are listed in there.

You were right; I only had 1024x768 in my xorg.conf. But adding more modes and restarting X didn't make the code yield any other display modes. And in addition; this is for use in windowed mode - are these display modes only the ones supported for 'fullscreen'? :-)

In any case; I still need the list of display modes, wether it's fullscreen only or windowed & fullscreen.

Kindest regards, daxxar.

Matzon

Displaymodes are only for fullscreen, since windowed mode can be whatever you feel like.

daxxar

Quote from: Matzon on April 16, 2007, 09:16:37
Displaymodes are only for fullscreen, since windowed mode can be whatever you feel like.

Okay, but do you have any idea why it's not listing anything else when it blatantly should be supporting other fullscreen modes? :-)

Matzon

not really - I'm a linux desktop noob :-\
* Matzon pokes elias_naur