You are not logged in.

#1 2009-03-31 07:00:33

danvari
Member
Registered: 2007-08-14
Posts: 44

Wine and resolution issue

hello!
i have used archlinux for a year or so. everything went quite perfectly, but because archlinux is not multilib (i need it for my 32-bit blitzmax application) i installed gentoo last week. and because gentoo did not get me "that feeling" of arch, i went back and reinstalled arch...completely new. now i have got problems with 32bit-wine. i am using arch64 and never had such a problem. we are discussing that in the german forums without any solutions yet so i hope you could help me. i guess nobody else has this problem (because i did not read of it) so i must be an idiot and do sth. wrong big_smile.
ok, first, this issue does not appear when running native 64bit applications, like frozen-bubble iin fullscreen. so i guess it has sth to do with the lib32 packages...dont know. when i am running windows games iin wine (bin32-wine 1.1.17 or bin32-wine-suse 1.1.18 from aur) in fullscreen, wine changes the resolution as it has to be (640x480, 800x600 or whatever), but i can still use my mouse and move it to the right or bottom edge and can so navigate through the whole screen ( so i can see the rest of my gnome desktop for example). because of that my games are unplayable. it happens to morrowind, half-life (the old one, not the source-based) & half-life 2, so it not depends on one game. i tried running wine using xrandr resolution changer (changed in wine config) but the i cannot change the resolution from my native one (1680x1050), also not perfectly, because i want to play my games in 800x600 ^^.
but remember, it did work quite well two weeks ago :-\ (i will never change my distro again, i will never change my distro again... big_smile)

here is maybe stuff you will need:
my xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

but i also tried different other xorg.conf's. i had also this minimalistic one:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

but the i had problems changing my resolution in gnome (via gnome-display-properties).

my lib32-*:

[stephan@myhost ~]$ pacman -Qs lib32-
local/lib32-alsa-lib 1.0.19-1 (lib32)
    An alternative implementation of Linux sound support
local/lib32-e2fsprogs 1.41.4-1
    Ext2 filesystem utilities
local/lib32-expat 2.0.1-2 (lib32)
    An XML Parser library written in C
local/lib32-fontconfig 2.6.0-2 (lib32)
    A library for configuring and customizing font access
local/lib32-freetype2 2.3.9-1 (lib32)
    TrueType font rendering library
local/lib32-gcc-libs 4.3.3-1 (lib32)
    The GNU Compiler Collection
local/lib32-glibc 2.9-4 (lib32)
    GNU C Library (32 Bit)
local/lib32-libdrm 2.3.1-3 (lib32)
    Userspace interface to kernel DRM services
local/lib32-libice 1.0.5-1 (lib32)
    X11 Inter-Client Exchange library
local/lib32-libjpeg 6b-6 (lib32)
    Library of JPEG support functions
local/lib32-libsm 1.1.0-1.1 (lib32)
    X11 Session Management library
local/lib32-libx11 1.2-1 (lib32)
    X11 client-side library
local/lib32-libxau 1.0.4-1 (lib32)
    X11 authorisation library
local/lib32-libxcb 1.2-1 (lib32)
    X11 client-side library
local/lib32-libxcomposite 0.4.0-1 (lib32)
    X11 Composite extension library
local/lib32-libxdamage 1.1.1-1 (lib32)
    X11 damaged region extension library
local/lib32-libxdmcp 1.0.2-1 (lib32)
    X11 Display Manager Control Protocol library
local/lib32-libxext 1.0.5-1 (lib32)
    X11 miscellaneous extensions library
local/lib32-libxfixes 4.0.3-1 (lib32)
    X11 miscellaneous 'fixes' extension library
local/lib32-libxml2 2.7.3-1 (lib32)
    XML parsing library, version 2
local/lib32-libxrender 0.9.4-1 (lib32)
    X Rendering Extension client library
local/lib32-libxslt 1.1.24-2 (lib32)
    XML stylesheet transformation library
local/lib32-libxt 1.0.5-1 (lib32)
    X11 toolkit intrinsics library
local/lib32-libxxf86vm 1.0.2-1 (lib32)
    X11 XFree86 video mode extension library
local/lib32-mesa 7.2-1 (lib32)
    Mesa OpenGL library
local/lib32-nvidia-utils 180.29-3 (lib32)
    NVIDIA drivers utilities and libraries.
local/lib32-zlib 1.2.3.3-3 (lib32)
    A compression/decompression Library

i am using stable archlinux, no testing. as you can see i have got an nvidia-card.
i also tried removing .wine and also (!) .* and created a new user, but without any solution. everytime the same problem. i will try installing a 32bit chroot now, maybe it is working there.
i hope you can help me smile

Offline

#2 2009-03-31 08:26:13

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: Wine and resolution issue

ok, small update:

i installed a 32bit chroot with wine, alsa-lib and nvidia-utils and hey...it worked quite well, no resolution issue anymore...

maybe there is a bug in lib32-*?

maybe i am switching to 32bit as i need arch multilib (as i said for 32bit compiling), though it does not feel right for me using 32bit when my pc is 64bit...

Offline

#3 2009-04-03 08:27:15

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: Wine and resolution issue

*push*

does nobody (specifically nvidia users) problems with wine & resolution in games? i am running a 32bit arch install at the moment and have no problems at all, although i would like to change back to arch64. it is the same configuration as on my latest arch64 install, so i guess there has to be a bug in lib32* :-\.

Offline

#4 2009-04-08 11:19:26

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: Wine and resolution issue

*push*

Offline

#5 2009-05-22 14:33:30

gerryAU
Member
From: Australia
Registered: 2007-04-08
Posts: 37

Re: Wine and resolution issue

G`Day I had the same problem also (x64), I managed to get it working by installing all of lib32* without chroot

# pacman -S lib32

resolving dependencies...
looking for inter-conflicts...
warning: removing 'lib32-libgl' from target list because it conflicts with 'lib32-nvidia-utils'
Targets (69): lib32-glibc-2.9-4  lib32-alsa-lib-1.0.19-1  lib32-glib2-2.20.1-1  lib32-atk-1.26.0-1  lib32-expat-2.0.1-2  lib32-zlib-1.2.3.3-3  lib32-freetype2-2.3.9-2  
              lib32-fontconfig-2.6.0-2  lib32-libpng-1.2.35-1  lib32-libxau-1.0.4-1  lib32-libxcb-1.2-1  lib32-libxcomposite-0.4.0-2  lib32-libxdmcp-1.0.2-2  
              lib32-libx11-1.2.1-1  lib32-libxrender-0.9.4-2  lib32-pixman-0.14.0-2  lib32-xcb-util-0.3.4-2  lib32-cairo-1.8.6-1  lib32-openssl-0.9.8k-2  
              lib32-curl-7.19.4-1  lib32-gcc-libs-4.3.3-1  lib32-db-4.7.25-2  lib32-libtasn1-2.1-1  lib32-lzo2-2.02-3.1  lib32-libgpg-error-1.6-1.1  
              lib32-libgcrypt-1.4.4-1  lib32-opencdk-0.6.6-1.1  lib32-ncurses-5.7-2  lib32-readline-5.2.013-2  lib32-gnutls-2.6.6-1  lib32-heimdal-1.2.1-3  
              lib32-libjpeg-6b-6  lib32-libtiff-3.8.2-4  lib32-libcups-1.3.10-2  lib32-libxfixes-4.0.3-2  lib32-libxcursor-1.1.9-2  lib32-libxext-1.0.5-2  
              lib32-libxi-1.2.1-1  lib32-libxinerama-1.0.3-2  lib32-libxrandr-1.3.0-1  lib32-libxft-2.1.13-1  lib32-pango-1.24.1-1  lib32-pcre-7.9-1  lib32-gtk2-2.16.1-1  
              lib32-libart-lgpl-2.3.20-1  lib32-libdrm-2.4.9-1  lib32-libxxf86vm-1.0.2-1  lib32-libice-1.0.5-1  lib32-libsm-1.1.0-1.1  lib32-libstdc++5-3.3.6-3  
              lib32-libxdamage-1.1.1-2  lib32-libxml2-2.7.3-1  lib32-libxt-1.0.5-2  lib32-libxmu-1.0.4-2  lib32-libxslt-1.1.24-2  lib32-libxss-1.1.3-1  
              lib32-libxtst-1.0.3-2  lib32-libxv-1.0.4-1  lib32-nvidia-utils-180.51-1  lib32-mesa-7.4.1-1  lib32-nas-1.9.2-1  lib32-nspr-4.7.4-1  lib32-sqlite3-3.6.13-1  
              lib32-nss-3.12.3-1  lib32-openal-1.7.411-1  lib32-pciutils-3.1.2-1  lib32-qt-4.5.0-5  lib32-qt3-3.3.8-10  lib32-sdl-1.2.13-3

Offline

#6 2009-05-22 22:28:17

lzs
Member
Registered: 2008-01-23
Posts: 39

Re: Wine and resolution issue

Try lib32-libxrandr.

Offline

#7 2009-07-02 05:11:07

JDOz
Member
Registered: 2009-04-23
Posts: 8

Re: Wine and resolution issue

I actually had this exact same problem with wine.  I have an nvidia card, and am using the 64 bit version of archlinux.  What fixed it for me was installing lib32-nvidia-utils

pacman -S lib32-nvidia-utils

Offline

#8 2009-07-02 08:06:35

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Wine and resolution issue

you might want to remove your InputDevice sections too and let HAL handle it.. Just don't forget to startup HAL in rc.conf(and no dbus!) another tip would be to specify exactly all the resolutions you want to be able to show like:

"
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480" "320x240"
"

as for example, i can't get 320x240 resolutions unless i specifically specify it.

Last edited by test1000 (2009-07-02 08:07:10)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB