Ubuntu 10.04 + Wine minimizing trouble.
Ubuntu 10.04 + Wine minimizing trouble.
Hello, when I run a fullscreen app through WINE such as WoW and I ctrl-alt-d to do something on the desktop then try to go back to the game my WINE window is no longer full screen, it shows up in the middle of the desktop at about 1/2 the size of the screen. Before the new Ubuntu update all I had to do was switch workspaces and switch back, but now that isn't working.
Any ideas?
Any ideas?
Re: Ubuntu 10.04 + Wine minimizing trouble.
What Wine version? Bug like this was recently fixed. Also there was/still is a bug like this in Gnome that doesn't restore fullscreen apps to their correct size.RNCC wrote:Hello, when I run a fullscreen app through WINE such as WoW and I ctrl-alt-d to do something on the desktop then try to go back to the game my WINE window is no longer full screen, it shows up in the middle of the desktop at about 1/2 the size of the screen.
Upgrade. Wine does not come with pulseaudio - so refer to your distro support for any Wine issues.RNCC wrote:Currently using WINE 1.1.42, searched and came up with this one since I needed pulse audio built in with it. I run Mangler (A Ventrilo alternative) and World of Warcraft at the same time and need to be able to hear sounds from both.
-
- Newbie
- Posts: 4
- Joined: Sat Jul 03, 2010 2:03 am
I'm also seeing this issue on a fresh install of Ubuntu 10.04 64-bit with wine-1.1.42 and an Ubuntu 10.04 32-bit install that was upgraded from 9.04 -> 9.10 -> 10.04 also running wine-1.1.42
Issue did not exist on 9.04. And I have correctly working World of Warcraft installs running on Mint 8, and I believe Ubuntu 9.10 also.
Is this a problem with the xserver or something else (nvidia drivers?), and definitely not wine?
If this helps troubleshoot:
Starting World of Warcraft (configured for ANY resolution) will adjust and fill the screen.
Ctrl + Alt + Arrow Key to change Desktop and then go back to Desktop with World of Warcraft. WoW will change size so that it is smaller than the actual resolution and mouse can interact with gnome elements that are not hidden by WoW.
By going to WoW's Options -> Video -> Resolution and changing the resolution to ANY resolution will again make WoW fill the screen and then you can set it back to the correct resolution.
Using Ctrl + Alt + Arrow Key to or from WoW when launched from a terminal ( wine ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exe ) show this output:
fixme:win:EnumDisplayDevicesW ((null),0,0x192d738,0x00000000), stub!
whenever you Ctrl + Alt + Arrow Key to or from the Desktop running WoW.
Changing the resolution in the game (and thus getting it back to fullscreen while it's running) outputs this:
Changing to a different resolution:
fixme:win:EnumDisplayDevicesW ((null),0,0x192ed74,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192efd4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192f460,0x00000000), stub!
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
fixme:win:EnumDisplayDevicesW ((null),0,0x192f450,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192db88,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
Changing back to desired resolution:
fixme:win:EnumDisplayDevicesW ((null),0,0x192ed74,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192efd4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192f460,0x00000000), stub!
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
fixme:win:EnumDisplayDevicesW ((null),0,0x192f450,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192db88,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
Forgive me if any of this output is irrelevant.
If you have any tests you would like me to perform, please let me know. I'm willing to compile wine myself and provide additional output. Compiling the xserver gives me the chills, though.
Issue did not exist on 9.04. And I have correctly working World of Warcraft installs running on Mint 8, and I believe Ubuntu 9.10 also.
Is this a problem with the xserver or something else (nvidia drivers?), and definitely not wine?
If this helps troubleshoot:
Starting World of Warcraft (configured for ANY resolution) will adjust and fill the screen.
Ctrl + Alt + Arrow Key to change Desktop and then go back to Desktop with World of Warcraft. WoW will change size so that it is smaller than the actual resolution and mouse can interact with gnome elements that are not hidden by WoW.
By going to WoW's Options -> Video -> Resolution and changing the resolution to ANY resolution will again make WoW fill the screen and then you can set it back to the correct resolution.
Using Ctrl + Alt + Arrow Key to or from WoW when launched from a terminal ( wine ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exe ) show this output:
fixme:win:EnumDisplayDevicesW ((null),0,0x192d738,0x00000000), stub!
whenever you Ctrl + Alt + Arrow Key to or from the Desktop running WoW.
Changing the resolution in the game (and thus getting it back to fullscreen while it's running) outputs this:
Changing to a different resolution:
fixme:win:EnumDisplayDevicesW ((null),0,0x192ed74,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192efd4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192f460,0x00000000), stub!
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
fixme:win:EnumDisplayDevicesW ((null),0,0x192f450,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192db88,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
Changing back to desired resolution:
fixme:win:EnumDisplayDevicesW ((null),0,0x192ed74,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192efd4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192f460,0x00000000), stub!
err:wgl:X11DRV_wglCreatePbufferARB ((nil)): unexpected iPixelFormat(0) <= 0, returns NULL
fixme:win:EnumDisplayDevicesW ((null),0,0x192f450,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x192db88,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
Forgive me if any of this output is irrelevant.
If you have any tests you would like me to perform, please let me know. I'm willing to compile wine myself and provide additional output. Compiling the xserver gives me the chills, though.
-
- Newbie
- Posts: 4
- Joined: Sat Jul 03, 2010 2:03 am
-
- Newbie
- Posts: 4
- Joined: Sat Jul 03, 2010 2:03 am
By running winecfg and going to the Graphics tab and checking "Emulate a virtual desktop" and selecting the correct resolution I am able to maintain World of Warcraft running in full screen even when switching desktops.
System: wine-1.2-rc6 on Ubuntu 10.04 64-bit
This is a little annoying since running other wine applications will essentially fill the entire desktop space.
Not sure how this will effect gameplay performance yet, but so far so good.
System: wine-1.2-rc6 on Ubuntu 10.04 64-bit
This is a little annoying since running other wine applications will essentially fill the entire desktop space.
Not sure how this will effect gameplay performance yet, but so far so good.
-
- Newbie
- Posts: 4
- Joined: Sat Jul 03, 2010 2:03 am
Hello, everyone. I think I've found the best solution so far not having found the real issue.
When you launch World of Warcraft (or any other wine application that suffers from the switch-desktops-minimizing problem) try launching the application like as follows:
wine explorer /desktop=winname,1280x1024 "/home/isaac/.wine/drive_c/Program Files/World of Warcraft/Wow.exe"
The format is something like:
wine explorer /desktop=VIRTUAL_DESKTOP_NAME,YOUR_X_RESOLUTIONxYOUR_Y_RESOLUTION PATH_TO_PROGRAM
This allows you to create and set the dimensions for a virtual desktop on the fly without having to check the "Emulate a virtual desktop" in winecfg.
The VIRTUAL_DESKTOP_NAME can be anything you like, as far as I can tell. Haven't tried running multiple programs in the same virtual desktop, so be aware that if you run multiple games at the same time, you may want to use different VIRTUAL_DESKTOP_NAMEs for each program.
Additionally, when I originally came across this fix the poster suggested running the command like so:
wine explorer /desktop=1280x1024 "/home/isaac/.wine/drive_c/Program Files/World of Warcraft/Wow.exe"
Notice the absence of the VIRTUAL_DESKTOP_NAME. This didn't work for me. World of Warcraft would run in a window of the correct resolution but the window wasn't fullscreen and had the title bar, etc.
If what worked for me didn't work for you, try omitting the VIRTUAL_DESKTOP_NAME and see if that helps.
When you launch World of Warcraft (or any other wine application that suffers from the switch-desktops-minimizing problem) try launching the application like as follows:
wine explorer /desktop=winname,1280x1024 "/home/isaac/.wine/drive_c/Program Files/World of Warcraft/Wow.exe"
The format is something like:
wine explorer /desktop=VIRTUAL_DESKTOP_NAME,YOUR_X_RESOLUTIONxYOUR_Y_RESOLUTION PATH_TO_PROGRAM
This allows you to create and set the dimensions for a virtual desktop on the fly without having to check the "Emulate a virtual desktop" in winecfg.
The VIRTUAL_DESKTOP_NAME can be anything you like, as far as I can tell. Haven't tried running multiple programs in the same virtual desktop, so be aware that if you run multiple games at the same time, you may want to use different VIRTUAL_DESKTOP_NAMEs for each program.
Additionally, when I originally came across this fix the poster suggested running the command like so:
wine explorer /desktop=1280x1024 "/home/isaac/.wine/drive_c/Program Files/World of Warcraft/Wow.exe"
Notice the absence of the VIRTUAL_DESKTOP_NAME. This didn't work for me. World of Warcraft would run in a window of the correct resolution but the window wasn't fullscreen and had the title bar, etc.
If what worked for me didn't work for you, try omitting the VIRTUAL_DESKTOP_NAME and see if that helps.
in case of wow, go to video settings check "Windowed mode" and "Maximised"... it will look the same as fullscreen WoW (no window decorations etc) but it will drop a problem with screen blinking when switching to other appsshinobitux wrote:By running winecfg and going to the Graphics tab and checking "Emulate a virtual desktop" and selecting the correct resolution I am able to maintain World of Warcraft running in full screen even when switching desktops.
System: wine-1.2-rc6 on Ubuntu 10.04 64-bit
This is a little annoying since running other wine applications will essentially fill the entire desktop space.
Not sure how this will effect gameplay performance yet, but so far so good.