Doom Marine
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Weird full screen glitch
 
Author
All times are GMT. The time now is 05:05. Post New Thread    Post A Reply
Doom_user
Member


Posts: 280
Registered: 06-05


In Eternity 3.37.00 I'm encountering a weird glitch in full screen mode. 11 pixels get cut off of the bottom of the screen and 3 pixels get cut off of the left side of the screen. At the same time, 11 pixels of garbage appear at the top of the screen and 3 pixels of garbage appear at the right side of the screen. This happens at all resolutions. Screenshots are unaffected by this, so I can only show it by taking a screencap.

Screencap

http://img441.imageshack.us/img441/8469/fullscreenglitch.png

Screenshot

http://img179.imageshack.us/img179/7619/etrn00.png

Old Post 04-07-10 03:48 #
Doom_user is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ptoing
Junior Member


Posts: 141
Registered: 06-02


Have you tried updating your gfx-card drivers to the latest? Perhaps that could help.

Old Post 04-07-10 14:56 #
ptoing is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6045
Registered: 08-00



ptoing said:
Have you tried updating your gfx-card drivers to the latest? Perhaps that could help.

Other things to try, in order:

  • Try -directx and see if that makes a difference.
  • Try the -8in32 parameter.
  • Try both of them together.
  • Try a different resolution, with and without the above flags. You can change your video mode setting temporarily from the command line by using -geom WWWWxHHHH[wf] where WWWW is the width, HHHH is the height, and [wf] means to specify either w or f to get windowed or fullscreen.
  • Disable the "vsync" option in the config file if it is enabled.
  • Run windowed instead of fullscreen.
  • If running windowed already, make sure you selected a resolution which is less than your desktop resolution in dimensions. SDL bugs out if you ask it to make a window larger than the desktop.

If none of these fix it, you're in a bad way. Either way, this is probably a machine-specific problem with the combo of video driver, SDL, and screen mode you are trying.

Also, info on the version of Windows you're using might be helpful.

Old Post 04-07-10 15:09 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Doom_user
Member


Posts: 280
Registered: 06-05


Adding -directx fixes it completely.

Old Post 04-07-10 19:40 #
Doom_user is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6045
Registered: 08-00



Doom_user said:
Adding -directx fixes it completely.

OK in that case, you may wish to add the following to your system environment variables:
code:
SDL_VIDEODRIVER=directx

Then you shouldn't have to use this command-line parameter any more. Hopefully somebody else can help you on how to do this, since I myself still do not know where later versions of Windows have squirreled the permanent environment variables off to. In Win9x you could just add them to your autoexec.bat >_>

Old Post 04-07-10 20:23 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2730
Registered: 01-04



Quasar said:
In Win9x you could just add them to your autoexec.bat >_>

For Win9x you could just add them to Eternity :)

Old Post 04-07-10 21:43 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6045
Registered: 08-00



entryway said:

For Win9x you could just add them to Eternity :)


How do you detect you're running on Win9x? Probably an amateur question but I've never had to do it, even with all the Win32-specific programming I've done over the years.

Old Post 04-10-10 06:05 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2730
Registered: 01-04



Quasar said:
How do you detect you're running on Win9x?

(int)GetVersion() < 0

prboom+ forces 'directx' for win9x only if config value for sdl_videodriver is "default" and it is not overridden through command line.

code:
{"sdl_videodriver", {NULL,&sdl_videodriver}, {0,"default"},UL,UL, def_str,ss_none}, ... if ((p = M_CheckParm("-videodriver")) && (p < myargc - 1)) { free(sdl_videodriver); sdl_videodriver = strdup(myargv[p + 1]); } if (strcasecmp(sdl_videodriver, "default")) { // videodriver != default char buf[80]; strcpy(buf, "SDL_VIDEODRIVER="); strncat(buf, sdl_videodriver, sizeof(buf) - sizeof(buf[0]) - strlen(buf)); putenv(buf); } else { // videodriver == default #ifdef _WIN32 if ((int)GetVersion() < 0 && V_GetMode() != VID_MODEGL ) // win9x putenv("SDL_VIDEODRIVER=directx"); #endif } p = SDL_Init(flags); if (p < 0 && strcasecmp(sdl_videodriver, "default")) { //e6y: wrong videodriver? lprintf(LO_ERROR, "Could not initialize SDL with SDL_VIDEODRIVER=%s [%s]\n", sdl_videodriver, SDL_GetError()); putenv("SDL_VIDEODRIVER="); free(sdl_videodriver); sdl_videodriver = strdup("default"); p = SDL_Init(flags); }

Last edited by entryway on 04-10-10 at 10:40

Old Post 04-10-10 10:08 #
entryway is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11115
Registered: 07-07



Quasar said:

OK in that case, you may wish to add the following to your system environment variables:
code:
SDL_VIDEODRIVER=directx

Then you shouldn't have to use this command-line parameter any more. Hopefully somebody else can help you on how to do this, since I myself still do not know where later versions of Windows have squirreled the permanent environment variables off to. In Win9x you could just add them to your autoexec.bat >_>


http://support.microsoft.com/kb/310519
http://support.microsoft.com/kb/931715

Old Post 04-10-10 11:16 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
TendaMonsta
Member


Posts: 291
Registered: 08-09


SDL_VIDEODRIVER=directx question. This is a dumb question, but I don't know exactly where to put this information at. I opened the system config as a notepad document and wrote it at the bottom(screen in zip folder).

Can someone help my dumbass.

__________________
My DemoPage

Old Post 08-01-10 19:27 #
TendaMonsta is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6045
Registered: 08-00



TendaMonsta said:
SDL_VIDEODRIVER=directx question. This is a dumb question, but I don't know exactly where to put this information at. I opened the system config as a notepad document and wrote it at the bottom(screen in zip folder).

Can someone help my dumbass.


It depends entirely on what operating system you're using.

Old Post 08-01-10 20:05 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 05:05. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Weird full screen glitch

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.