screen res


Recommended Posts

Forgive me if I am WAY OFF here, as I haven't used wine in a while, and I didn't use it much even when I did! :p

But, doesn't wine run a Windows program? And that program will sepcify the window metrics (such as height, width, fonts, etc.)?

At first, I was thinking something like VxWorks, that actually runs Windows - where you would expect to be able to set resoltions...

Am I mis-understanding what you are looking for, maybe?

Mark

Link to comment
Share on other sites

yes, wine runs windows programs. The windows programs themselves do not set refresh rates, horizontal and vertical sync. WIndows usually does that. The most comtrol the game has is to change the screen resolution.

Xfree is running just fine on my box with it's settings, but anything in wine ends up a jarbeled mess. I KNOW there must be a way to change the screen settings in wine as it's the only program that does this.

Link to comment
Share on other sites

Xfree is running just fine on my box with it's settings, but anything in wine ends up a jarbeled mess. I KNOW there must be a way to change the screen settings in wine as it's the only program that does this.

Do all Windows programs have problems? Things like Notepad, Winmine, or Calc?

Or do you have problems with specific programs?

Link to comment
Share on other sites

all of them. It is changing my screen resolution and I really haven't a clue why. Older versions of wine had a screen settings config of their own, but I cannot find one in the newest version.

Link to comment
Share on other sites

I guess this is considered a bump, since it's like 4 days old.

Anyway, a question and an answer:

First, the question - and this is so I understand what's going on (I'm not being rude): What WINE (and/or config) are you using that is changing your X resolution? Even when an app runs "full screen" and is not handled by WINE for window-elements (titlebar, etc), it shouldn't be changing X's resolution. AN example would be Starcraft, who runs fullscreen 640x480 in Windows, but under WINE will run a 640x480 unmovable window if not handled. I run it in it's own "desktop", which gives me the ability to move it around the screen. The desktop window is set to be 640x480. I'm currently running wine-20040121 and CX-Office 2.1.0 and have not seem this behavior. For refresh/vsync/hsync/etc, WINE should be getting that information from X.

Answer for previous entries: Have you tried setting a Desktop argument for the executable? Using the previous Starcraft example, which uses starcraft.exe for it's executable, at the end of your WINE config (~/.wine/config), try this:

[AppDefaults\\starcraft.exe\\x11drv]
"Desktop" = "640x480"

See if that helps with your applications. Things like Photoshop, Dreamweaver, Office, etc should not need this, as they are, if you will, resolution-independant. Games are the most common thing requiring a Desktop argument, as they generally run fullscreen. Something like Diablo II with the extension pack would run 800x600 fullscreen, so I give the argument that resolution.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.