Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Wine "fullscreen" programs run in part of the screen

  1. #1
    Join Date
    Oct 2006
    Beans
    30

    Wine "fullscreen" programs run in part of the screen

    When I run a fullscreen program in wine, it runs in the top left quarter of my screen, underneath my gnome title bar (not in a window, just a partial fullscreen). I've played with all the winecfg graphics settings, and nothing changes it. For a while I had ~/.wine a symlink to the .wine folder from the gentoo build I'm also running, in which fullscreen works fine, and that didn't work either.


    I'm running wine-0.9.27, though I've gotten the same result with a few different versions (including the official ubuntu ones). Ubuntu Dapper 6.06, Gnome 2.14.3. I don't know where to get X version information.


    Here's the console output:

    Code:
    fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
    fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
    fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
    fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x17f640) : stub, simulating 64MB for now, returning 64MB left
    fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x17ee98)->(0x20024,00000013)
    fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
    err:xrandr:X11DRV_XRandR_SetCurrentMode Resolution change not successful -- perhaps display has changed?
    fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
    err:wave:wodOpen ioctl(/dev/dsp, SNDCTL_DSP_GETOSPACE) failed (Invalid argument)fixme:dsound:mmErr Unknown MMSYS error 3

    I've read other people's problems, which have come down to xorg.conf missing a screen setting. I think mine has the correct settings, but here's my xorg.conf. Does anyone see something I'm doing wrong?

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon May 15 13:23:42 PDT 2006
    
    # /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
    # (Type "man /etc/X11/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         "Default Screen" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
    EndSection
    
    Section "Files"
    
            # path to defoma fonts
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
        Load           "i2c"
        Load           "bitmap"
        Load           "ddc"
        Load           "extmod"
        Load           "freetype"
        Load           "glx"
        Load           "int10"
        Load           "type1"
        Load           "vbe"
    EndSection
    
    Section "InputDevice"
        Identifier     "Generic Keyboard"
        Driver         "kbd"
        Option         "CoreKeyboard"
        Option         "XkbRules" "xorg"
        Option         "XkbModel" "pc104"
        Option         "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
        Identifier     "Configured Mouse"
        Driver         "mouse"
        Option         "CorePointer"
        Option         "Device" "/dev/input/mice"
        Option         "Protocol" "ExplorerPS/2"
        Option         "ZAxisMapping" "4 5"
        Option         "Emulate3Buttons" "true"
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "stylus"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "stylus"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "eraser"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "eraser"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "InputDevice"
    
                                                          # /dev/input/event
                                                          # for USB
        Identifier     "cursor"
        Driver         "wacom"
        Option         "Device" "/dev/wacom"          # Change to
        Option         "Type" "cursor"
        Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
    EndSection
    
    Section "Monitor"
        Identifier     "L17AX"
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "NVIDIA Corporation NVIDIA Default Card"
        Driver         "nvidia"
             Option                  "RenderAccel" "true"
    EndSection
    
    Section "Screen"
        Identifier     "Default Screen"
        Device         "NVIDIA Corporation NVIDIA Default Card"
        Monitor        "L17AX"
        DefaultDepth    24
        SubSection     "Display"
            Depth       1
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       4
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       8
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       15
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       16
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection     "Display"
            Depth       24
            Modes      "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
        EndSubSection
    EndSection
    
    
    Section "Extensions"
            Option "Composite"      "Enable"
    EndSection

    Any insight or help would be greatly appreciated.

  2. #2
    Join Date
    Dec 2005
    Location
    United States
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wine "fullscreen" programs run in part of the screen

    Im afraid I cant really help you with this, but I wanted to say that I have had the same problem on two different computers, one of which is running Dapper, and one running edgy, both running ubuntu only. It used to go to fullscreen correctly, and now randomly it gives the same error you have, I have found sometimes by restarting X, or restarting my entire computer, will provide a temporary fix, but even this only works sometimes.

  3. #3
    Join Date
    Oct 2006
    Beans
    30

    Re: Wine "fullscreen" programs run in part of the screen

    I'm now consistently using the most recent version of Wine, and this is still happening. It works fine on my gentoo installation on the same computer, but I hate having to reboot for the sole purpose of using Wine - that seems silly.

  4. #4
    Join Date
    Jul 2006
    Location
    Rotterdam, Netherlands
    Beans
    163
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wine "fullscreen" programs run in part of the screen

    Run 'winecfg'
    Try some Graphics options (Allow the window manager to control the windows, and emulate a virtual desktop)

  5. #5
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Wine "fullscreen" programs run in part of the screen

    Here's a workaround i made for this problem :
    I create a script for every game I play with wine, that change resolution before loading the program.
    But first things first : type xrandr on a terminal and look for the number given before each resolution. For me :
    Code:
    xrandr
     SZ:    Pixels          Physical       Refresh
    *0   1440 x 900    ( 373mm x 230mm )  *50   51  //active resolution//
     1   1280 x 800    ( 331mm x 205mm )   52  
     2   1024 x 768    ( 265mm x 197mm )   53
    Then here's an example of the script for Baldur's Gate 2 with Geforce Go 7600 on HP laptop :
    Code:
    #!/bin/bash
        #
      killall -19 gnome-panel                                             // suspend gnome-panels       //
      xrandr -s 2                                                             // switch to 1024x768             //                            
      cd /media/DataLinux/games/BG2                             // browse to installation folder //
      wine BGMain.exe                                                    // load the game                    //
      killall -18 gnome-panel                                            // restart gnome-panels         //  
      xrandr -s 0                                                             // switch back to 1440x900    //
        exit
    I put the script on my BG2 folder, and create a launcher on my desktop that point to it...
    Et voilą !
    PS : please forgive my english, i could have made mistakes (French User)
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  6. #6
    Join Date
    Jan 2007
    Location
    NB, Canada
    Beans
    Hidden!

    Re: Wine "fullscreen" programs run in part of the screen

    Quote Originally Posted by didli View Post
    Here's a workaround i made for this problem :
    I create a script for every game I play with wine, that change resolution before loading the program.
    But first things first : type xrandr on a terminal and look for the number given before each resolution. For me :
    Code:
    xrandr
     SZ:    Pixels          Physical       Refresh
    *0   1440 x 900    ( 373mm x 230mm )  *50   51  //active resolution//
     1   1280 x 800    ( 331mm x 205mm )   52  
     2   1024 x 768    ( 265mm x 197mm )   53
    Then here's an example of the script for Baldur's Gate 2 with Geforce Go 7600 on HP laptop :
    Code:
    #!/bin/bash
        #
      killall -19 gnome-panel                                             // suspend gnome-panels       //
      xrandr -s 2                                                             // switch to 1024x768             //                            
      cd /media/DataLinux/games/BG2                             // browse to installation folder //
      wine BGMain.exe                                                    // load the game                    //
      killall -18 gnome-panel                                            // restart gnome-panels         //  
      xrandr -s 0                                                             // switch back to 1440x900    //
        exit
    I put the script on my BG2 folder, and create a launcher on my desktop that point to it...
    Et voilą !
    PS : please forgive my english, i could have made mistakes (French User)
    That's a great Idea, I've tried it though and it doesn't work. I want to switch to 640x480 for Starcraft then back.

    - Should I not have a virtual desktop in winecfg?

    This is the output of xrandr:

    Code:
    oem@ubuntu:~$ xrandr
     SZ:    Pixels          Physical       Refresh
     0   1280 x 1024   ( 322mm x 241mm )   60   47   43
     1   1152 x 864    ( 322mm x 241mm )   60   43
    *2   1024 x 768    ( 322mm x 241mm )  *85   75   72   70   60
     3   1024 x 480    ( 322mm x 241mm )   60
     4    848 x 480    ( 322mm x 241mm )   60
     5    800 x 600    ( 322mm x 241mm )   85   75   72   70   60   56   47   100  90
     6    720 x 576    ( 322mm x 241mm )   60
     7    720 x 480    ( 322mm x 241mm )   60
     8    640 x 480    ( 322mm x 241mm )   85   75   72   60   120  100  90
     9    640 x 400    ( 322mm x 241mm )   75   60
     10   512 x 384    ( 322mm x 241mm )   60
     11   400 x 300    ( 322mm x 241mm )   75   60
     12   320 x 240    ( 322mm x 241mm )   75   60
     13   320 x 200    ( 322mm x 241mm )   75   60
    Current rotation - normal
    Current reflection - none
    Rotations possible - normal
    Reflections possible - none
    Here is my script:

    Code:
    killall -19 gnome-panel                 // suspend gnome-panels -19//
    xrandr -s 8 -r 85              		 // switch to 640x480  //                            
    wine /media/cdrom/setup.exe                // load the game  //
    killall -18 gnome-panel                // restart gnome-panels -18//  
    xrandr -s 2 -r 85                            // switch back to 1024x768 //
    exit
    I tried without the virtual desktop and it almost works, however in Starcraft (actual game paly) I can't browse up on the map, only down, left and right. That is to say that my mouse doesn't reach the top of the screen, is there a way to set the panels to hide? Is that what the killall is supposed to do? I don't understand the numbers -19 and -18...

    - Scott

  7. #7
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Wine "fullscreen" programs run in part of the screen

    Quote Originally Posted by Mega_slayer View Post
    - Should I not have a virtual desktop in winecfg?
    No, actually this should not be needed (but you could it give a try )

    Here is my script:

    Code:
    killall -19 gnome-panel                 // suspend gnome-panels -19//
    xrandr -s 8 -r 85              		 // switch to 640x480  //                            
    wine /media/cdrom/setup.exe                // load the game  //
    killall -18 gnome-panel                // restart gnome-panels -18//  
    xrandr -s 2 -r 85                            // switch back to 1024x768 //
    exit
    (...) is there a way to set the panels to hide? Is that what the killall is supposed to do? I don't understand the numbers -19 and -18...

    - Scott
    Well, yes you can, and killall -19 gnome-panel was supposed to do it but I forgot, my mistake (sorry), that it worked for xubuntu (like this: killall -19 xfce4-panel)...
    For ubuntu, launch gnome-session-properties and set gnome-panel to mode normal (it should be in restart mode).
    Then in the script :
    Code:
    killall gnome-panel                 // suspend gnome-panels //
    xrandr -s 8 -r 85              		 // switch to 640x480  //                            
    wine /media/cdrom/setup.exe                // load the game  //  
    xrandr -s 2 -r 85                            // switch back to 1024x768 //
    gnome-panel &                // restart gnome-panels //
    exit
    Forget about the -18 and -19 numbers, there were killall "-signal" that worked with xubuntu.
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  8. #8
    Join Date
    Jan 2007
    Location
    NB, Canada
    Beans
    Hidden!

    Re: Wine "fullscreen" programs run in part of the screen

    Thanks that seems to work. However my panels are still visible... It's not really a problem because it works fine. Now I'm just curious lol.

    - Scott

  9. #9
    Join Date
    Jan 2007
    Location
    NB, Canada
    Beans
    Hidden!

    Re: Wine "fullscreen" programs run in part of the screen

    I forgot to mention that I am using Xgl/Beryl. I'm wondering if that is why the killall isn't working completely? Because the panels are still there when I play, but I did see them flash, maybe even restart when I ran the script.

  10. #10
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Wine "fullscreen" programs run in part of the screen

    Quote Originally Posted by Mega_slayer View Post
    (...) I'm wondering if that is why the killall isn't working completely
    Indeed, that's it. I think there is a way to avoid this problem, but I can't remember for sure.
    Sorry (if you find the solution let me know )
    There are 4 PC at home, 2 xubuntu, 1 ubuntu and huh ... 1 winxp. Strangely, the 3 ubuntu-like PC behave differently in killing panels.
    For ubuntu, I didn't find any command that could kill the panels without loading gnome-session-properties before (quite annoying) and set gnome-panel to normal mode.
    For the 2 xubuntu, it worked perfectly for one of them (with the first script) and for the other one, I must suspend xfce4-panels in order to get the script working.
    That is said, good luck to you !
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •