vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| hi all, is there any way to start X in 640x480 mode resized to a 1024x768 lcd monitor? unfortunately i don't have resize function in bios so when i try to start play starcraft i always get a horrible tiny black box in center of screen and playability flown away... if someone just could tell me how to use resize/magnify 640x480 desktop to physical 1024x768 resolution... .... any suggestion is appreciated -- Hekaton Keires, En to phronein maedhen aedistos bios. |
| |||
| Hekaton Keires wrote: > hi all, > > is there any way to start X in 640x480 mode resized to a 1024x768 lcd > monitor? unfortunately i don't have resize function in bios so when i try > to start play starcraft i always get a horrible tiny black box in center of > screen and playability flown away... > > if someone just could tell me how to use resize/magnify 640x480 desktop to > physical 1024x768 resolution... > > ... any suggestion is appreciated Think you should add resolutions to your xorg.conf, so that the system can use different resolutions when requiered. Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" "320x200" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" "320x200" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" "320x200" EndSubSection EndSection This should enable you to get the right resolution when playing. //Aho |
| |||
| in J.O. Aho's honest opinion: > Think you should add resolutions to your xorg.conf, so that the system can > use different resolutions when requiered. [cut] thx for advise, but my real problem is that when i set any resolution below 1024x768 X is drawn in a litte box in the center of lcd with black thick stripes around it... it's all about the impossibility to resize that resolutions on the entire display (due to hw limitations) -- Hekaton Keires, En to phronein maedhen aedistos bios. |
| |||
| Hekaton Keires wrote: > in J.O. Aho's honest opinion: > > >>Think you should add resolutions to your xorg.conf, so that the system can >>use different resolutions when requiered. > > > [cut] > > thx for advise, but my real problem is that when i set any resolution below > 1024x768 X is drawn in a litte box in the center of lcd with black thick > stripes around it... it's all about the impossibility to resize that > resolutions on the entire display (due to hw limitations) okey, black borders, that would lead to think the modlines may be a bit faulty, you could try to use "Colas XFree Modeline Generator" to generate more correct modlines and replace those that you have already in your xorg.conf (if you have any). http://koala.ilog.fr/cgi-bin/nph-colas-modelines //Aho |
| |||
| in J.O. Aho's honest opinion: > Hekaton Keires wrote: >> in J.O. Aho's honest opinion: >> >> >>>Think you should add resolutions to your xorg.conf, so that the system >>>can use different resolutions when requiered. >> >> >> [cut] >> >> thx for advise, but my real problem is that when i set any resolution >> below 1024x768 X is drawn in a litte box in the center of lcd with black >> thick stripes around it... it's all about the impossibility to resize >> that resolutions on the entire display (due to hw limitations) > > okey, black borders, that would lead to think the modlines may be a bit > faulty, you could try to use "Colas XFree Modeline Generator" to generate > more correct modlines and replace those that you have already in your > xorg.conf (if you have any). > > http://koala.ilog.fr/cgi-bin/nph-colas-modelines > > > > //Aho i am not sure this problem is related to modelines... my monitor is lcd which is connected to video card via digital connection: this means imho that i should not bother with vsync/hsync and other stuff... my problem is that lcd monitor is able to display only 1024x768 resolution. any other resolution less than that one is just put at the center of the screen... this is the problem all the laptops without hw resize capability have. this should be the right explanation of the problem... -- Hekaton Keires, En to phronein maedhen aedistos bios. |
| ||||
| In article <3e2sd2-gja.ln1@nyx.chaos.it>, Hekaton Keires wrote: > is there any way to start X in 640x480 mode resized to a 1024x768 lcd > monitor? unfortunately i don't have resize function in bios so when i try > to start play starcraft i always get a horrible tiny black box in center of > screen and playability flown away... > > if someone just could tell me how to use resize/magnify 640x480 desktop to > physical 1024x768 resolution... > > ... any suggestion is appreciated I don't think X can do that. From what I've read, Starcraft will only draw 640x480. Your display hardware wants to run 1024x768 and if you try anything less, it simply centers the smaller image in the middle and fills in a black border around it, right? X doesn't seem to support any settings that would make it smart enough to scale a program's drawing request to another size. Well, not that I've been able find, anyway. The only area where it does anything remotely similar is for scaling fonts (trying to preserve point sizes at different screen resolutions). You might try "xrandr -q" to see which settings your display hardware will do, and then try each of them in sequence; use "xrandr -s 0" to put it back to normal. If none of that works, the theoretical brute force method is to create a virtual X display that is 640x480, map it to the side of your LCD display using the ServerLayout section of xorg.conf so you can get the mouse and keyboard over there, direct the output of Starcraft to that virtual X display, and on your real LCD screen run an X application that runs in the background and periodically reads from the virtual display buffer and stretches it in software to fill your LCD. Given the fixed sizes of the respective screens, you could probably optimize and unroll the copy/stretch code enough to get a couple of frames per second on a low-end laptop. If you were good at assembly code you might improve that further. You can look at the source code to xwd to see how to grab an image from another X display. This is--of course--all completely theoretical, but you DID ask for "any sugggestion" ;-) L |