Screen Resolution issues

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
anyone
Newbie
Newbie
Posts: 4
Joined: Tue Jun 17, 2008 6:19 am

Screen Resolution issues

Post by anyone »

Hi. I'm having a rather peculiar problem; when running any fullscreen game that has been set to a smaller resolution than the one I'm using (1680x1050, I have a widescreen monitor), moving my mouse to the edges of the screen kind of shifts the view.

For example, I have Warcraft III running at 1280x960, I move my mouse to the right edge of the screen, and then the view moves along with the mouse so that I can only see the right side of the menu, and lots of black on the right. On some resolutions I can even move the view up or down. The size of the area in which I can move around seems to be 1680x1050.

This issue was not in 1.1.2, so its probably a regression. The weird thing is, that I have been trying to run a regression test, but the problem always appears, and I can't find the patch that causes it. For example, now
~/wine-git/wine --version
outputs
wine-1.1.1-269-g27ce47a
but the issue still appears, even though it doesn't appear in 1.1.1 or 1.1.2 (its 1.1.1 because I found nothing with 1.1.2 being the last "good" release). Running with the actual wine-1.1.2 release the issue does not appear.

I guess I must be doing something wrong with the regression testing, but I can't figure out what. Any ideas will be welcome.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Screen Resolution issues

Post by austin987 »

On Wed, Aug 27, 2008 at 9:48 AM, anyone <[email protected]> wrote:
Hi. I'm having a rather peculiar problem; when running any fullscreen game that has been set to a smaller resolution than the one I'm using (1680x1050, I have a widescreen monitor), moving my mouse to the edges of the screen kind of shifts the view.

For example, I have Warcraft III running at 1280x960, I move my mouse to the right edge of the screen, and then the view moves along with the mouse so that I can only see the right side of the menu, and lots of black on the right. On some resolutions I can even move the view up or down. The size of the area in which I can move around seems to be 1680x1050.

This issue was not in 1.1.2, so its probably a regression. The weird thing is, that I have been trying to run a regression test, but the problem always appears, and I can't find the patch that causes it. For example, now
~/wine-git/wine --version
outputs
wine-1.1.1-269-g27ce47a
but the issue still appears, even though it doesn't appear in 1.1.1 or 1.1.2 (its 1.1.1 because I found nothing with 1.1.2 being the last "good" release). Running with the actual wine-1.1.2 release the issue does not appear.

I guess I must be doing something wrong with the regression testing, but I can't figure out what. Any ideas will be welcome.





Might try with a clean ~/.wine each time...Could be something getting
corrupted on a first run causing the problem. Doubtful, but worth a
try.

If anything, do:
$ rm -rf ~/.wine
$ git checkout -f wine-1.1.2
$ ./configure && make clean && make depend && make
$ ~/wine-git/wine setup.exe
# test app
$ rm -rf ~/.wine
$ git checkout -f wine-1.1.3
$ ./configure && make clean && make depend && make
$ ~/wine-git/wine setup.exe
# test app

To make sure it's wine causing the problem. If so, carry on like I described.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Screen Resolution issues

Post by vitamin »

anyone wrote:Hi. I'm having a rather peculiar problem; when running any fullscreen game that has been set to a smaller resolution than the one I'm using (1680x1050, I have a widescreen monitor), moving my mouse to the edges of the screen kind of shifts the view.
Sounds like you disabled xrandr extension and using xvidmode ( http://wiki.winehq.org/UsefulRegistryKeys ). Also make sure that you do have requested resolutions - run 'xrandr' and check it's output.
anyone
Newbie
Newbie
Posts: 4
Joined: Tue Jun 17, 2008 6:19 am

Post by anyone »

Yeah, I wondered how on Earth could the old build of 1.1.2 work, but not the one downloaded from git? Well, I decided to copy the old wine-1.1.2 directory to wine-1.1.2-rebuild and then run make clean and rebuild.
Then I ran ./configure. I had always run it with && make depend && make, and so I had never had time to see what it said (or I just missed it), and thought that it must be okay because it continued to run make after it.
Well, now I noticed I lacked lots of devel packages... That was because I had reinstalled my system after 1.1.2 because I had done stupid things while partitioning... the 1.1.2 build was from my old install (I have /home on a different partition, and it wasn't lost), which had had the proper devel packages.

Well, at least I learned to always check ./configure output. I almost filed a bug, but luckily I decided to ask here first. I now have a proper build of 1.1.3 that works great.

Thanks a lot for your help.
Locked