SDL_SetVideoMode error: Couldn't set display mode: No video mode large enough for 1024x768?

hi all,

whenever I try to set a video mode up to 1024x768 or higher I get this
error:

Couldn’t set display mode: No video mode large enough for 1024x768

It doesn’t seem to be a problem with the code because the error appears
also with the examples (which should be working 100%).

Do you have a tip for me?
Thanks in advance :slight_smile:
cu

Hello !!

You have to edit the xconfig file so that 1024x768 is in it or a higher resolution.

CU

“XeneX” schrieb im Newsbeitrag news:9gh2jp$v88$1 at ftp.lokigames.com…> hi all,

whenever I try to set a video mode up to 1024x768 or higher I get this
error:

Couldn’t set display mode: No video mode large enough for 1024x768

It doesn’t seem to be a problem with the code because the error appears
also with the examples (which should be working 100%).

Do you have a tip for me?
Thanks in advance :slight_smile:
cu

Torsten Giebl wrote:

Hello !!

You have to edit the xconfig file so that 1024x768 is in it or a higher
resolution.

CU

hello,

do you mean the XF86Config file? I don’t have a xconfig file (I’m using
Mandrake 8.0)
I run my X with a resolution of 1280x1024 so this shouldn’t be a problem.
If you mean another file than XF86Config could you please tell me where I
should find it?

cu :slight_smile:

“XeneX” schrieb im Newsbeitrag news:9gi8n2$9k3$1 at ftp.lokigames.com

Torsten Giebl wrote:

do you mean the XF86Config file? I don’t have a xconfig file (I’m using
Mandrake 8.0)

I meant the XF86Config file :=) typed too fast, so some chars got lost :=)
What SDL Vers. do you use ???

Torsten Giebl wrote:

I meant the XF86Config file :=) typed too fast, so some chars got lost :=)
What SDL Vers. do you use ???

hehe ok :wink:
I’m using SDL-1.2.0., I never had problems with it so far.

hello,

do you mean the XF86Config file? I don’t have a xconfig file (I’m using
Mandrake 8.0)
I run my X with a resolution of 1280x1024 so this shouldn’t be a problem.
If you mean another file than XF86Config could you please tell me where I
should find it?

cu :slight_smile:

But does your XF86Config file have the 1024x768 mode set in it? This might
make a difference. Not sure though.On Sun, 17 Jun 2001, XeneX wrote:

Ti Leggett wrote:

But does your XF86Config file have the 1024x768 mode set in it? This might
make a difference. Not sure though.

here is a part of my XF86Config file:

Section "Screen"
Identifier "screen1"
Device "NVIDIA GeForce2 DDR (generic)"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes “1280x1024” “1024x768” “800x600” "640x400"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes “1280x1024” “1024x768” “800x600” "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes “1024x768” “800x600” "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes “1024x768” “800x600” "640x480"
ViewPort 0 0
EndSubsection
EndSection