Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Wine
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Wine
This is the place for questions about using Windows programs under Linux using Wine, including productivity software, games, and anything else.

 
Thread Tools Display Modes
Old June 12th, 2008   #1
TheBuzzSaw
Ubuntu Extra Shot
 
TheBuzzSaw's Avatar
 
Join Date: Jan 2007
Location: Rexburg, Idaho
Beans: 390
Ubuntu 9.10 Karmic Koala
Send a message via AIM to TheBuzzSaw Send a message via MSN to TheBuzzSaw Send a message via Yahoo to TheBuzzSaw Send a message via Skype™ to TheBuzzSaw
Recent Full Screen Issue

I used to be able to play Starcraft in full screen mode without any problems. Recently, I enabled dual monitor mode using nvidia-settings. The game wouldn't run that way (some display error), so, I disabled the dual display. Now, whenever I launch Starcraft, it switches to full screen... sorta... The screen goes all black, the game starts, but it takes up only the upper left quarter of the screen (Starcraft's native resolution in a 1280x1024 display just as if I were running it in a virtual desktop on the GNOME desktop).

Any help fixing this problem?

I'm running Ubuntu 8.04 64-bit on a System76 Wild Dog.

EDIT - Diablo 2 now fails to launch entirely; it says "Failed to Create Game Client Window".
__________________
Code:
while (homework > 0) happiness--;
// Don't worry. I'm a multithreaded program. ;)

Last edited by TheBuzzSaw; June 12th, 2008 at 06:31 PM..
TheBuzzSaw is offline   Reply With Quote
Old June 12th, 2008   #2
cogadh
I Ubuntu, Therefore, I Am
 
cogadh's Avatar
 
Join Date: Oct 2005
Location: U.S.A.
Beans: 3,331
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to cogadh
Re: Recent Full Screen Issue

It sounds like you don't have the correct resolution available in your xorg.conf any more. For example, let's say the game is trying to run in 640X480, but since that resolution isn't available in your xorg.conf, it instead runs in a 640X480 section of your existing desktop resolution. You should check the contents of your xorg.conf to confirm that.

BTW - Before you made the changes to your xorg.conf to enable dual monitors, did you make a backup of the original one? If so, you can probably just restore that one and everything will work right again.
cogadh is offline   Reply With Quote
Old June 12th, 2008   #3
TheBuzzSaw
Ubuntu Extra Shot
 
TheBuzzSaw's Avatar
 
Join Date: Jan 2007
Location: Rexburg, Idaho
Beans: 390
Ubuntu 9.10 Karmic Koala
Send a message via AIM to TheBuzzSaw Send a message via MSN to TheBuzzSaw Send a message via Yahoo to TheBuzzSaw Send a message via Skype™ to TheBuzzSaw
Re: Recent Full Screen Issue

Wow, you're ridiculously smart. Tweaking the xorg.conf fixed everything.
__________________
Code:
while (homework > 0) happiness--;
// Don't worry. I'm a multithreaded program. ;)
TheBuzzSaw is offline   Reply With Quote
Old June 12th, 2008   #4
cogadh
I Ubuntu, Therefore, I Am
 
cogadh's Avatar
 
Join Date: Oct 2005
Location: U.S.A.
Beans: 3,331
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to cogadh
Re: Recent Full Screen Issue

Nah, not smart, just been there, done that.
cogadh is offline   Reply With Quote
Old June 13th, 2008   #5
TheBuzzSaw
Ubuntu Extra Shot
 
TheBuzzSaw's Avatar
 
Join Date: Jan 2007
Location: Rexburg, Idaho
Beans: 390
Ubuntu 9.10 Karmic Koala
Send a message via AIM to TheBuzzSaw Send a message via MSN to TheBuzzSaw Send a message via Yahoo to TheBuzzSaw Send a message via Skype™ to TheBuzzSaw
Re: Recent Full Screen Issue

While I'm on the topic, is it possible to get a game to run full screen in just one monitor? Right now, I have it set to where maximizing a window in one monitor makes it fill up just that monitor (not span across both monitors). Can I get WINE games to do that too? It makes me sad that I have to disable one monitor and update my xorg file in order to play full screen games.
__________________
Code:
while (homework > 0) happiness--;
// Don't worry. I'm a multithreaded program. ;)
TheBuzzSaw is offline   Reply With Quote
Old June 13th, 2008   #6
cogadh
I Ubuntu, Therefore, I Am
 
cogadh's Avatar
 
Join Date: Oct 2005
Location: U.S.A.
Beans: 3,331
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to cogadh
Re: Recent Full Screen Issue

Post the contents of your xorg.conf, specifcally the Monitor, Device and Screen sections.
cogadh is offline   Reply With Quote
Old June 13th, 2008   #7
TheBuzzSaw
Ubuntu Extra Shot
 
TheBuzzSaw's Avatar
 
Join Date: Jan 2007
Location: Rexburg, Idaho
Beans: 390
Ubuntu 9.10 Karmic Koala
Send a message via AIM to TheBuzzSaw Send a message via MSN to TheBuzzSaw Send a message via Yahoo to TheBuzzSaw Send a message via Skype™ to TheBuzzSaw
Re: Recent Full Screen Issue

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@yellow)  Thu Jun  5 09:27:12 UTC 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Feb 14 18:13:41 PST 2008
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Generic Keyboard" "CoreKeyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
EndSection

Section "Monitor"
    Identifier     "Configured Monitor"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Envision EN7750"
    HorizSync       30.0 - 83.0
    VertRefresh     55.0 - 75.0
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8500 GT"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: 1280x1024 +1280+0, DFP: nvidia-auto-select +0+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "DFP: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: nvidia-auto-select +1280+0, DFP: nvidia-auto-select +0+0"
EndSection
__________________
Code:
while (homework > 0) happiness--;
// Don't worry. I'm a multithreaded program. ;)
TheBuzzSaw is offline   Reply With Quote
Old June 13th, 2008   #8
cogadh
I Ubuntu, Therefore, I Am
 
cogadh's Avatar
 
Join Date: Oct 2005
Location: U.S.A.
Beans: 3,331
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to cogadh
Re: Recent Full Screen Issue

Okay, re-enable the multimonitor stuff, but instead of the metmode lines you had before, use this:
Code:
Section "Screen"
    Option      "TwinView"
    Option      "MetaModes"  "1280X1024,1280X1024; 1280X1024,NULL;"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
EndSection
When you launch an app that requires that full screen resolution, it should run on one monitor while the second monitor goes into standby. You may need to make some adjustments to the actual content, I was assuming that both monitors run at the same resolution.
cogadh is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:56 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry