View previous topic :: View next topic |
Author |
Message |
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Fri Jun 01, 2007 1:18 am Post subject: Wine on 64 Bit Gentoo? |
|
|
Hi quick question,
I'm having a hell of a time getting Wine working on my 64bit (amd64) Gentoo install.
So the question is: Is it even possible to install a working version of Wine on a 64 bit Gentoo install?
By working I mean a version of wine that will run windows game like Warhammer 40K: Dawn of War.
If this is possible how would one do it? Or do I just have to reinstall Gentoo in 32 bit?
At the moment I am getting this error when running winecfg:
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
So can't even get to the point where I could test a game.
Any help would be much appreciated |
|
Back to top |
|
|
pandaxiongmao Guru
Joined: 29 Sep 2003 Posts: 478 Location: USA
|
Posted: Fri Jun 01, 2007 1:23 am Post subject: |
|
|
I successfully installed & ran wine on my amd64 system. You need "setarch i386 wine yourgame.exe" command in order to run 32-bit games. It works best if the game also supports opengl (add "opengl" after "yourgame.exe") such as Warcraft III. Be aware that what you do is very experimental, it is not officially supported, so don't expect a decent & smooth gameplay experience. _________________ CPU: Intel Core 2 Duo
GPU: nVidia GeForce 9800 GT
MB: Asus P5N-E SLI |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Jun 01, 2007 1:27 am Post subject: Re: Wine on 64 Bit Gentoo? |
|
|
PieRow wrote: | Hi quick question,
I'm having a hell of a time getting Wine working on my 64bit (amd64) Gentoo install.
So the question is: Is it even possible to install a working version of Wine on a 64 bit Gentoo install?
|
Sure, if you use the default profile (or any other profile that is multilib capable).
Quote: |
By working I mean a version of wine that will run windows game like Warhammer 40K: Dawn of War.
|
By working I mean that wine compiles, and runs. Whether that concrete game works or not, is another completely different story. Wine has never been a thing that works at the first shot for me.
Quote: |
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
|
First, have you a correctly configured X? There must be some problem, maybe your X11 video drivers are a bit messed. Another silly question, you are running wine with the same user that owns the current X session, aren't you? I assume you installed wine using portage (emerge wine). |
|
Back to top |
|
|
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Fri Jun 01, 2007 1:55 am Post subject: |
|
|
Ok I first tried to install the latest version of wine 0.9.37 by putting "app-emulation/wine ~amd64" into /etc/portage/package.keywords.
I then removed that and tried the latest stable version which had the same error when I tried to run winecfg.
I am also running winecfg from the user that owns the current X session. Though could this be a group permission problem?
I'll try it in a root user desktop and see if that makes a difference.
Edit: It's still bung for root as well :/
What might be wrong with my video driver? What would be worth reinstalling/changing?
Also thanks for the helps with this.
I am also installing wine useing portage. |
|
Back to top |
|
|
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Fri Jun 01, 2007 2:48 am Post subject: |
|
|
Ok I know Gentoo uses Xorg-x11 but for the hell of it I've decided to emerge x11 it's self to see if this works.
Will update on the progress soon.
Though another question in the mean time.
Is it possible to emerge a package and compile it for x86 under Gentoo 64 without chrooting? |
|
Back to top |
|
|
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Fri Jun 01, 2007 3:00 am Post subject: |
|
|
Oh man still the same error. This really sucks :/
Man I really want to use Gentoo but there's always something that just doesn't want to work.
I'm using the amd64 version of 2007.0 by the way. |
|
Back to top |
|
|
vputz Guru
Joined: 16 Mar 2005 Posts: 310 Location: Oxford, England
|
Posted: Fri Jun 01, 2007 4:05 am Post subject: |
|
|
Huh, weird. I've played World of Warcraft and Eve Online using Wine in AMD64. Wish I could give advice--it just works for me. |
|
Back to top |
|
|
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Fri Jun 01, 2007 4:17 am Post subject: |
|
|
vputz would you be able to post up your make.cong file please?
Is it possible to have maybe too much stuff in your make.conf? And could this cause problems? I've added quite a few things to my USE flag |
|
Back to top |
|
|
vputz Guru
Joined: 16 Mar 2005 Posts: 310 Location: Oxford, England
|
Posted: Fri Jun 01, 2007 1:20 pm Post subject: |
|
|
Er... sure, although it's a little crufty:
Code: |
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
#PORTDIR=/mnt/nfs_portage
PORTDIR=/var/portage
PKGDIR=${PORTDIR}/packages
#DISTDIR=${PORTDIR}/distfiles
DISTDIR=/tmp/portage/distfiles
RPMDIR=${PORTDIR}/rpm
PORTAGE_TMPDIR=/var/tmp
#PORTDIR_OVERLAY="/usr/local/sci /usr/local/portage"
PORTDIR_OVERLAY="/usr/local/portage"
FEATURES="ccache"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
USE="3dnow 3dnowext aac aalib acpi amr bacula-clientonly bash-completion blas
cddb cdparanoia cpudetection divx dts dvdread emacs exif fftw flac glitz
gnuplot gpgme idn imap jack lapack libcaca live lm_sensors matroska
mmxext mpi mplayer ntfs nvidia pdf samba silc tcltk tetex theora threads
tk xanim xscreensaver xvid xvmc -arts -eds -emboss -esd"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/ "
INPUT_DEVICES="keyboard mouse input_devices_keyboard input_devices_mouse"
VIDEO_CARDS="vesa nvidia video_cards_nvidia"
source /usr/portage/local/layman/make.conf
|
[/code] |
|
Back to top |
|
|
abecedarix n00b
Joined: 16 Apr 2007 Posts: 74
|
Posted: Fri Jun 01, 2007 5:23 pm Post subject: |
|
|
I've installed Wine 0.9.37 (~amd64) and now I can run Warcraft III smoothly. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Jun 01, 2007 5:35 pm Post subject: |
|
|
I think your problem is in Xorg, not wine. Sorry if this is too basic, but I must make sure.
1.- First, you are running this from inside Xorg, aren't you?
2.- Second, have you configured your Xorg correctly? What video driver are you using on Xorg?
3.- The user should not matter usually, at least to run winecfg. But it can matter sometimes if you
a. logged into X with username1
b. su'ed to username2 into a terminal window
c. username2 have no permissions to access the video card or any other vital resource
d. or username2 has not a correct setting on his/her DISPLAY variable
There are many more possible issues. But first let me know what would be your responses to 1. and 2.
EDIT: By the way, does it make any difference if you run it this way?
Code: | $ DISPLAY=":0" winecfg |
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Jun 02, 2007 9:14 am Post subject: |
|
|
Quote: | So the question is: Is it even possible to install a working version of Wine on a 64 bit Gentoo install? |
I have been using wine on amd64 on gentoo for at least 2 years with no amd64 related problems at all. xorg problems do happen from time to time but they happen on x86 as well. Usually I find the way to avoid these type of problems is to use the latest xorg and latest wine even if both are considered gentoo unstable. Also make sure your opengl drivers are current. Also not every windows app will work with wine and that future versions of wine do break current working apps. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Jun 02, 2007 9:15 am Post subject: |
|
|
Quote: | Is it possible to have maybe too much stuff in your make.conf? And could this cause problems? I've added quite a few things to my USE flag |
Unlikely to both questions. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
PieRow n00b
Joined: 20 Jun 2006 Posts: 13
|
Posted: Mon Jun 04, 2007 9:00 am Post subject: |
|
|
drescherjm I might do what you mentioned and grab the latest Xorg and see what that does.
To 6thpink:
1.- First, you are running this from inside Xorg, aren't you?
Yes I am running it from an xfce4 desktop.
2.- Second, have you configured your Xorg correctly? What video driver are you using on Xorg?
I am using the nvidia drivers not the nv that I emerged from portage.
I will also try that command for starting wine that you mentioned and see how it goes.
Thanks allot to you all for your help with this At the moment this is the only major hurdle and I am very determined to sort it
Lastly has any one else out there got wine working on the latest 2007.0 amd64 version of Gentoo? |
|
Back to top |
|
|
Timbers2k Apprentice
Joined: 03 Oct 2003 Posts: 215
|
Posted: Mon Jun 04, 2007 1:01 pm Post subject: |
|
|
Yes, I'm running wine 0.9.38 with no problems on an amd64 build. It sounds like you don't have the 32 bit emul libs for X installed. You will need at least app-emulation/emul-linux-x86-xlibs, I have version 10.0 installed. Have you tried running any native linux opengl games? |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon Jun 04, 2007 3:19 pm Post subject: |
|
|
Quote: | I am using the nvidia drivers not the nv that I emerged from portage. |
Same here. I do not have this problem with xorg and the nvidia drivers in amd64. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Jun 04, 2007 4:12 pm Post subject: |
|
|
PieRow wrote: |
Lastly has any one else out there got wine working on the latest 2007.0 amd64 version of Gentoo? |
It just works. I did nothing special to get it working under 2007.7 in amd64.
This is really strange. |
|
Back to top |
|
|
Alois54 n00b
Joined: 06 Jun 2007 Posts: 2
|
Posted: Wed Jun 06, 2007 6:22 pm Post subject: |
|
|
Hi!
I'm using gentoo x86 (32bits) and I've got exactly the same problem with wine!
I am running X with xfce4 and the latest proprietary nvidia drivers...
and when I'm trying to lauch winecfg (or wine notepad.exe for example) it gives me that :
Code: | err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
err:imagelist:ImageList_ReplaceIcon no color!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The X11 driver is missing. Check your build!
|
I merged wine while I used nvidia official installer, so I think it's a problem with nvidia drivers.
(Games like x-moto or sdl-doom are running very well on my gentoo...) |
|
Back to top |
|
|
Ken69267 Developer
Joined: 08 Apr 2007 Posts: 111 Location: #gentoo-pr0n
|
Posted: Wed Jun 06, 2007 6:56 pm Post subject: |
|
|
Do you have the X useflag enabled by chance? _________________ !snack |
|
Back to top |
|
|
Alois54 n00b
Joined: 06 Jun 2007 Posts: 2
|
Posted: Fri Jun 08, 2007 6:25 am Post subject: |
|
|
Ken69267 wrote: | Do you have the X useflag enabled by chance? |
I re-emerged wine with the X useflag enabled and it works very well!
Thank you! |
|
Back to top |
|
|
|