Mac OS X, X11, resolution problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Mac OS X, X11, resolution problem

Post by doh123 »

I'm trying to run a game in full screen mode that cannot change my resolution to 640x480...

the error message is
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 640x480x32 @0! (NoRes)

how would I go about doing something to add this available resolution so it can auto switch?

I know its possible as Crossover can do it fine... just not when i use standard Wine.
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

I think the issue you are seeing is not really a Wine issue. Crossover ships a custom hacked X-server because XQuartz and the Apple X11 server don't offer functionality like e.g. XRandR for resolution switching. Because the X-server lacks this functionality you aren't seeinig resolution switching.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

it switches resolutions fine though for full screen... to any resolution except 640x480... its the only one it gives errors on.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

anyone have any idea where i could possibly start looking at to use some of my own X system like Crossover does? I've made an entire package based off Wine so far for Macs to make it easy to throw a self contained Wine wrapper around software to turn it into a normal Mac .app, kind of like how Transgaming does with Cider for official Mac games....

I'm still using X11.app though, because I know next to nothing about X11 tech.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

ok.. no one worry about this anymore.. I've figured it out.... Crossover uses its own bundled XDarwin implementation of Xfree86... I've done this too.. still ironing out some kinks.. and it works much better for Wine than the default X11.app does.
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

You shouldn't use such old Xservers. While perhaps randr or something related is missing in the current xquartz builds it is a lot more stable and should also be quite a bit faster. In case of opengl I expect it to support more modern 3d features as well.
James McKenzie

Mac OS X, X11, resolution problem

Post by James McKenzie »

Thunderbird wrote:
You shouldn't use such old Xservers. While perhaps randr or something related is missing in the current xquartz builds it is a lot more stable and should also be quite a bit faster. In case of opengl I expect it to support more modern 3d features as well.

One thing that you might consider, if you are using Leopard, is to
upgrade to XQuartz 2.3.3.2. This solved many of the 'missing' OpenGL
features that Wine relies on.

James McKenzie
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

2.3.3.2 or even beta of 2.4 do not help...

Any app in Wine that tries to change the resolution, wether running Fullscreen or Rootless, fails (it wont always crash, usually it just makes a smaller resolution box in the corner)... the X server never changes the resolution. I have not found any X11 apps that do change the resolution... This seems like a Major issue to me for X11 on Mac OS X, but no one else that works on Xquartz seems to care, I guess Wine and a few games are the only thing that uses it there that cares about running full screen with different resolutions. I do not know if they'll ever add proper support for it. I can understand blocking resolution changes in Rootless, but when running Fullscreen, why not let it change the resolutions?

anyways, thanks for the info, but this X11 problem isn't a Wine issue.

I just wish the people working on native Quartz support in Wine could get it working right, but from what info i see on it, I'm not sure anyones even attempting to work on it anymore.... if that worked, we wouldn't even need X11 on Mac OS X.
Locked