Out of range error from monitor
#1
Posted 30 July 2008 - 12:47 AM
I can't think of anything i've done wrong here, I'm using the same cd source I was previously without any problems. Anyone else want to give some input?
#2
Posted 30 July 2008 - 12:58 AM
Thanks,
Galapo.
#3
Posted 30 July 2008 - 05:25 AM
in Basic->Tweaks->Display Properties choose 800x600 (which is default)
in Basic->Tweaks->SetResolution ;
uncheck "default to highest supported res" if selected.
and "Resolution for native machines" choose "1024x768"
i hope these help, a friend of mine had a problem like too but he went to a vacation after he reported
#4
Posted 30 July 2008 - 11:07 AM
Regards,
Galapo.
#5
Posted 30 July 2008 - 12:38 PM
But basicly it's just there so we can tell users: "Press this key and you get a working desktop again."
In reality it's good enough to switch so long to a smaller resolution till you get to see the desktop again. That's usually 1 time!
#6
Posted 30 July 2008 - 04:28 PM
640x480, 8bits, @1Hz
800x600, 8bits, @1Hz
1024x768, 8bits, @1Hz
1280x1024, 8bits, @1Hz
640x480, 16bits, @1Hz
640x480, 32bits, @1Hz
800x600, 16bits, @1Hz
800x600, 32bits, @1Hz
1024x768, 16bits, @1Hz
1024x768, 32bits, @1Hz
1280x1024, 16bits, @1Hz
1280x1024, 32bits, @1Hz
1600x1200, 8bits, @1Hz
1600x1200, 16bits, @1Hz
1400x1050, 8bits, @1Hz
1400x1050, 16bits, @1Hz
2048x1536, 32bits, @1Hz
640x480, 4bits, @1Hz
800x600, 4bits, @1Hz
800x600, 4bits, @1Hz
mutiplier = 65536
Native Machine detected
BestRes successfully set to: 2048x1536.
so its definately setting the resolution way too high.
#7
Posted 30 July 2008 - 11:09 PM
Out of interest: is the monitor crt of lcd. My current hunch is that this issue occurs with crt monitors.
Thanks,
Galapo.
#8
Posted 30 July 2008 - 11:46 PM
#9
Posted 30 July 2008 - 11:55 PM
I'm still coding around this issue at the moment and will release later today.
Regards,
Galapo.
#10
Posted 31 July 2008 - 12:07 AM
#11
Posted 31 July 2008 - 12:10 AM
Another question: do you use a driver for the display adapter, or just use default vga.sys?
#12
Posted 31 July 2008 - 12:55 AM
#13
Posted 31 July 2008 - 01:05 AM
Just the max allowed frequency for that resolution was exeeded.
That is indeed the problem.
When calling EnumDisplaySettingsEx, I had first thought not setting EDS_RAWMODE would be enough as per MSDN note. However, if only generic vgasave device is utilised at PE, then it seems that with crt monitors, returned supported resolutions may indeed be too high for refresh rate. Trouble is, we have no way of knowing (to the best of my knowledge) of obtaining the proper rate as rates returned from EnumDisplaySettingsEx for vgasave device are simply given as "default" -- but we don't know the "default". So I have to code around this for vgasave device if it is used.
Regards,
Galapo.
#14
Posted 31 July 2008 - 02:55 AM
Download either from my site or the LiveXP server.
Regards,
Galapo.
#15
Posted 31 July 2008 - 01:07 PM
Galapo can you make the log show which frequency was applied or do you know which frequency setResolution tries to apply?
Tried to find a Vesa modi chart for you, as those frequencies will have to work, but no luck so far.
#16
Posted 31 July 2008 - 01:45 PM
#17
Posted 31 July 2008 - 08:36 PM
Galapo can you make the log show which frequency was applied or do you know which frequency setResolution tries to apply?
Yes, at any point, SetResolution knows the current resolution and the resolution being attempted to be applied. If an unsuccessful resolution change attempt can be determined (unfortunately, not the case for the refresh rate issue) SetResolution writes the unsuccessfully applied resolution to the log as well as the resolution at which that attempt was made.
I am more than will to take further suggestions on this issue. I was unaware that it affects more than vgasave device but also nvidia drivers.
Regards,
Galapo.
#18
Posted 31 July 2008 - 10:06 PM
When I used the disc on a computer with a DVI lcd, it worked fine. Switch to a VGA lcd, and it would complain. I had set it to use the resolution 1280x1024 (NOT to use the default highest), which was supported on both monitors. I ended up simply setting it in Display Properties and unchecking SetResolution.
Dunno if that helps...
Hardware used:
Dell Optiplex 755 w/ ATI Radeon 2400 XT
Samsung SyncMaster 915n
#19
Posted 31 July 2008 - 10:23 PM
If things work fine with a DVI - but not with a VGA connection, it seems setRes tries to apply a frequency above 60Hz maybe even above 75Hz.
#20
Posted 31 July 2008 - 10:39 PM
The problem i'm starting to see.
SetRes has to set actually a higher frequency with autodetect than without.
Else LCD displays would never work on a VGA connection for PE with setRes.
#21
Posted 01 August 2008 - 12:00 AM
SetResolution.log on w2k:
640x480, 8bits, @60 Hz
640x480, 16bits, @60 Hz
640x480, 32bits, @60 Hz
320x200, 8bits, @75 Hz
320x240, 8bits, @60 Hz
320x240, 8bits, @70 Hz
320x240, 8bits, @72 Hz
320x240, 8bits, @75 Hz
400x300, 8bits, @60 Hz
400x300, 8bits, @70 Hz
400x300, 8bits, @72 Hz
400x300, 8bits, @75 Hz
480x360, 8bits, @60 Hz
480x360, 8bits, @70 Hz
480x360, 8bits, @72 Hz
480x360, 8bits, @75 Hz
512x384, 8bits, @60 Hz
512x384, 8bits, @70 Hz
512x384, 8bits, @72 Hz
512x384, 8bits, @75 Hz
640x400, 8bits, @60 Hz
640x400, 8bits, @70 Hz
640x400, 8bits, @72 Hz
640x400, 8bits, @75 Hz
320x200, 8bits, @60 Hz
640x480, 8bits, @70 Hz
640x480, 8bits, @72 Hz
640x480, 8bits, @75 Hz
640x480, 8bits, @85 Hz
640x480, 8bits, @100 Hz
640x480, 8bits, @120 Hz
640x480, 8bits, @140 Hz
720x480, 8bits, @60 Hz
720x576, 8bits, @60 Hz
800x600, 8bits, @60 Hz
800x600, 8bits, @70 Hz
800x600, 8bits, @72 Hz
800x600, 8bits, @75 Hz
800x600, 8bits, @85 Hz
800x600, 8bits, @100 Hz
848x480, 8bits, @60 Hz
848x480, 8bits, @70 Hz
848x480, 8bits, @72 Hz
848x480, 8bits, @75 Hz
848x480, 8bits, @85 Hz
848x480, 8bits, @100 Hz
848x480, 8bits, @120 Hz
848x480, 8bits, @140 Hz
960x600, 8bits, @60 Hz
960x600, 8bits, @70 Hz
960x600, 8bits, @72 Hz
960x600, 8bits, @75 Hz
960x600, 8bits, @85 Hz
960x600, 8bits, @100 Hz
1024x768, 8bits, @60 Hz
1024x768, 8bits, @70 Hz
1024x768, 8bits, @72 Hz
1024x768, 8bits, @75 Hz
1024x768, 8bits, @85 Hz
1152x864, 8bits, @60 Hz
1152x864, 8bits, @70 Hz
1152x864, 8bits, @72 Hz
1152x864, 8bits, @75 Hz
1280x720, 8bits, @60 Hz
1280x720, 8bits, @70 Hz
1280x720, 8bits, @72 Hz
1280x720, 8bits, @75 Hz
1280x720, 8bits, @85 Hz
1280x768, 8bits, @60 Hz
1280x768, 8bits, @70 Hz
1280x768, 8bits, @72 Hz
1280x768, 8bits, @75 Hz
1280x768, 8bits, @85 Hz
1280x800, 8bits, @60 Hz
1280x800, 8bits, @70 Hz
1280x800, 8bits, @72 Hz
1280x800, 8bits, @75 Hz
1280x960, 8bits, @60 Hz
1280x1024, 8bits, @60 Hz
320x200, 16bits, @60 Hz
320x200, 16bits, @70 Hz
320x200, 16bits, @72 Hz
320x200, 16bits, @75 Hz
320x240, 16bits, @60 Hz
320x240, 16bits, @70 Hz
320x240, 16bits, @72 Hz
320x240, 16bits, @75 Hz
400x300, 16bits, @60 Hz
400x300, 16bits, @70 Hz
400x300, 16bits, @72 Hz
400x300, 16bits, @75 Hz
480x360, 16bits, @60 Hz
480x360, 16bits, @70 Hz
480x360, 16bits, @72 Hz
480x360, 16bits, @75 Hz
512x384, 16bits, @60 Hz
512x384, 16bits, @70 Hz
512x384, 16bits, @72 Hz
512x384, 16bits, @75 Hz
640x400, 16bits, @60 Hz
640x400, 16bits, @70 Hz
640x400, 16bits, @72 Hz
640x400, 16bits, @75 Hz
320x200, 8bits, @70 Hz
640x480, 16bits, @70 Hz
640x480, 16bits, @72 Hz
640x480, 16bits, @75 Hz
640x480, 16bits, @85 Hz
640x480, 16bits, @100 Hz
640x480, 16bits, @120 Hz
640x480, 16bits, @140 Hz
720x480, 16bits, @60 Hz
720x576, 16bits, @60 Hz
800x600, 16bits, @60 Hz
800x600, 16bits, @70 Hz
800x600, 16bits, @72 Hz
800x600, 16bits, @75 Hz
800x600, 16bits, @85 Hz
800x600, 16bits, @100 Hz
848x480, 16bits, @60 Hz
848x480, 16bits, @70 Hz
848x480, 16bits, @72 Hz
848x480, 16bits, @75 Hz
848x480, 16bits, @85 Hz
848x480, 16bits, @100 Hz
848x480, 16bits, @120 Hz
848x480, 16bits, @140 Hz
960x600, 16bits, @60 Hz
960x600, 16bits, @70 Hz
960x600, 16bits, @72 Hz
960x600, 16bits, @75 Hz
960x600, 16bits, @85 Hz
960x600, 16bits, @100 Hz
1024x768, 16bits, @60 Hz
1024x768, 16bits, @70 Hz
1024x768, 16bits, @72 Hz
1024x768, 16bits, @75 Hz
1024x768, 16bits, @85 Hz
1152x864, 16bits, @60 Hz
1152x864, 16bits, @70 Hz
1152x864, 16bits, @72 Hz
1152x864, 16bits, @75 Hz
1280x720, 16bits, @60 Hz
1280x720, 16bits, @70 Hz
1280x720, 16bits, @72 Hz
1280x720, 16bits, @75 Hz
1280x720, 16bits, @85 Hz
1280x768, 16bits, @60 Hz
1280x768, 16bits, @70 Hz
1280x768, 16bits, @72 Hz
1280x768, 16bits, @75 Hz
1280x768, 16bits, @85 Hz
1280x800, 16bits, @60 Hz
1280x800, 16bits, @70 Hz
1280x800, 16bits, @72 Hz
1280x800, 16bits, @75 Hz
1280x960, 16bits, @60 Hz
1280x1024, 16bits, @60 Hz
320x200, 32bits, @60 Hz
320x200, 32bits, @70 Hz
320x200, 32bits, @72 Hz
320x200, 32bits, @75 Hz
320x240, 32bits, @60 Hz
320x240, 32bits, @70 Hz
320x240, 32bits, @72 Hz
320x240, 32bits, @75 Hz
400x300, 32bits, @60 Hz
400x300, 32bits, @70 Hz
400x300, 32bits, @72 Hz
400x300, 32bits, @75 Hz
480x360, 32bits, @60 Hz
480x360, 32bits, @70 Hz
480x360, 32bits, @72 Hz
480x360, 32bits, @75 Hz
512x384, 32bits, @60 Hz
512x384, 32bits, @70 Hz
512x384, 32bits, @72 Hz
512x384, 32bits, @75 Hz
640x400, 32bits, @60 Hz
640x400, 32bits, @70 Hz
640x400, 32bits, @72 Hz
640x400, 32bits, @75 Hz
320x200, 8bits, @72 Hz
640x480, 32bits, @70 Hz
640x480, 32bits, @72 Hz
640x480, 32bits, @75 Hz
640x480, 32bits, @85 Hz
640x480, 32bits, @100 Hz
640x480, 32bits, @120 Hz
640x480, 32bits, @140 Hz
720x480, 32bits, @60 Hz
720x576, 32bits, @60 Hz
800x600, 32bits, @60 Hz
800x600, 32bits, @70 Hz
800x600, 32bits, @72 Hz
800x600, 32bits, @75 Hz
800x600, 32bits, @85 Hz
800x600, 32bits, @100 Hz
848x480, 32bits, @60 Hz
848x480, 32bits, @70 Hz
848x480, 32bits, @72 Hz
848x480, 32bits, @75 Hz
848x480, 32bits, @85 Hz
848x480, 32bits, @100 Hz
848x480, 32bits, @120 Hz
848x480, 32bits, @140 Hz
960x600, 32bits, @60 Hz
960x600, 32bits, @70 Hz
960x600, 32bits, @72 Hz
960x600, 32bits, @75 Hz
960x600, 32bits, @85 Hz
960x600, 32bits, @100 Hz
1024x768, 32bits, @60 Hz
1024x768, 32bits, @70 Hz
1024x768, 32bits, @72 Hz
1024x768, 32bits, @75 Hz
1024x768, 32bits, @85 Hz
1152x864, 32bits, @60 Hz
1152x864, 32bits, @70 Hz
1152x864, 32bits, @72 Hz
1152x864, 32bits, @75 Hz
1280x720, 32bits, @60 Hz
1280x720, 32bits, @70 Hz
1280x720, 32bits, @72 Hz
1280x720, 32bits, @75 Hz
1280x720, 32bits, @85 Hz
1280x768, 32bits, @60 Hz
1280x768, 32bits, @70 Hz
1280x768, 32bits, @72 Hz
1280x768, 32bits, @75 Hz
1280x768, 32bits, @85 Hz
1280x800, 32bits, @60 Hz
1280x800, 32bits, @70 Hz
1280x800, 32bits, @72 Hz
1280x800, 32bits, @75 Hz
1280x960, 32bits, @60 Hz
1280x1024, 32bits, @60 Hz
mutiplier = 65536
SetResolution.log under PE using vgasave device:
640x480, 8bits, @defaultHz
800x600, 8bits, @defaultHz
1024x768, 8bits, @defaultHz
1280x1024, 8bits, @defaultHz
640x480, 16bits, @defaultHz
640x480, 32bits, @defaultHz
800x600, 16bits, @defaultHz
800x600, 32bits, @defaultHz
1024x768, 16bits, @defaultHz
1024x768, 32bits, @defaultHz
1280x1024, 16bits, @defaultHz
1280x1024, 32bits, @defaultHz
1600x1200, 8bits, @defaultHz
1600x1200, 16bits, @defaultHz
1400x1050, 8bits, @defaultHz
1400x1050, 16bits, @defaultHz
2048x1536, 32bits, @defaultHz
mutiplier = 65536
Native Machine detected
BestRes successfully set vgasave device to: 1024x768
BestRes successfully set vgasave device to: 1280x1024
Quite a difference in what the api reports.
Big thing to note: I checked reported current frequency at boot and it was simply reported as "1", ie default. Trouble is, we need to know a) current frequency to know if it needs to be altered (but we don't as it's only reported as default); and b) we need to know supported frequency at a particular resolution (but we don't as it's only reported as default).
Not sure what to do when automatically setting to highest supported resolution in PE other than what I implemented yesterday, ie attempting to adjust to predefined known working resolutions which won't be out of frequency range.
Regards,
Galapo.
#22
Posted 01 August 2008 - 12:21 AM
Somehow the log makes no sense.640x480, 8bits, @defaultHz
800x600, 8bits, @defaultHz
1024x768, 8bits, @defaultHz
1280x1024, 8bits, @defaultHz
640x480, 16bits, @defaultHz
640x480, 32bits, @defaultHz
800x600, 16bits, @defaultHz
800x600, 32bits, @defaultHz
1024x768, 16bits, @defaultHz
1024x768, 32bits, @defaultHz
1280x1024, 16bits, @defaultHz
1280x1024, 32bits, @defaultHz
1600x1200, 8bits, @defaultHz
1600x1200, 16bits, @defaultHz
1400x1050, 8bits, @defaultHz
1400x1050, 16bits, @defaultHz
2048x1536, 32bits, @defaultHz
mutiplier = 65536
Native Machine detected
BestRes successfully set vgasave device to: 1024x768
BestRes successfully set vgasave device to: 1280x1024
Why is 1280x1024 choosen as bestRes? Shouldn't it be 2048x1536 acording to the log?
And of course in case SetRes would really switch to one of these:
One would get a black screen.1600x1200, 8bits, @defaultHz
1600x1200, 16bits, @defaultHz
1400x1050, 8bits, @defaultHz
1400x1050, 16bits, @defaultHz
2048x1536, 32bits, @defaultHz
Hope this helps, i'm outta here!
#23
Posted 01 August 2008 - 12:31 AM
Somehow the log makes no sense.
Why is 1280x1024 choosen as bestRes? Shouldn't it be 2048x1536 acording to the log?
That's because the "manual" override I coded yesterday has kicked in: even though windows api reports higher available resolutions, upper limit has been set for vgasave device at 1280x1024.
Regards,
Galapo.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users