Re: Installing and using wine on amd64

2011-08-15 Thread Robert Huff

Christian Barthel writes:
>  > Current system is 8.2-STABLE/amd64. Should I better re-install
>  > everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
>  > here, and 2 GB RAM, that's why the AMD64 choice) and use i386
>  > instead?
>  
>  I don't understand why you have chosen AMD64? You only have 2 GB
>  memory, which can be adressed under i386 too and you can avoid a
>  lot of problems.

Perhaps they think it will be easier to add more memory than to
reinstall FreeBSD and ports?


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-15 Thread C. P. Ghost
On Mon, Aug 15, 2011 at 9:37 AM, Christian Barthel  
wrote:
> On Sun, Aug 14, 2011 at 10:27:08PM +0200, Polytropon wrote:
>> Current system is 8.2-STABLE/amd64. Should I better re-install
>> everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
>> here, and 2 GB RAM, that's why the AMD64 choice) and use i386
>> instead?
>
> I don't understand why you have chosen AMD64? You only have 2 GB memory,
> which can be adressed under i386 too and you can avoid a lot of
> problems.
>
> Today, I am not quite sure about AMD64 because with PAE (
> http://en.wikipedia.org/wiki/Physical_Address_Extension#FreeBSD),
> you have a far better opportunity to address memory above 4 GB.

Some applications run faster in 64-bit mode, because they
make good use of the additional free registers... This is
particularly important for crypto-stuff (it's noticeable even
without benchmarking), and in some multimedia applications
as well.

And just to wit: some register-hungry applications run even
faster on an old UltraSparc IIIi 1500 Mhz despite its slow
memory than on a Phenom with 2.4 GHz and fast DDR 3
RAM. So it all depends on the particular applications.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-15 Thread Polytropon
On Mon, 15 Aug 2011 18:04:53 +1000, Ashley Williams wrote:
> >> I've done some research and found lots of posts several years
> >> old that suggest that using wine on AMD64 is not possible or
> >> requires binary packages that don't exist, and even if one can
> >> install it, it doesn't run.
> >>
> >> Has this situation improved meanwhile? Does anyone have a
> >> recipe on how to get wine running?
> 
> You can get wine running on AMD64, see the following wiki link:
> 
> http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

Thanks, I now got it working, the only remaining problems is
that the programs I intend to run (older than 5 years, maybe
even 10) have problems with "DirectX" stuff which I am supposed
to manually install...


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-15 Thread Polytropon
On Mon, 15 Aug 2011 09:37:06 +0200, Christian Barthel wrote:
> I don't understand why you have chosen AMD64? You only have 2 GB memory,
> which can be adressed under i386 too and you can avoid a lot of
> problems. 

Reason: The i386 platform is obsoleted, and there will be
less and less targets to install on. Furthermore, I though
it would be good to use AMD64 because if the CPU. I know
the ridiculous amount of 2 GB RAM is rather small. :-)



> Today, I am not quite sure about AMD64 because with PAE (
> http://en.wikipedia.org/wiki/Physical_Address_Extension#FreeBSD), 
> you have a far better opportunity to address memory above 4 GB. 

With the present and upcoming problems, I currently really
consider reinstalling the whole system. It's not _that_
problematic as it is sufficiently fast. It's also a nice
learning experience. You _can't_ imagine the amount of
things that stopped working. :-)



> All in all, your system, your rules ;)

My system, my mistakes. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-15 Thread Ashley Williams
>> I've done some research and found lots of posts several years
>> old that suggest that using wine on AMD64 is not possible or
>> requires binary packages that don't exist, and even if one can
>> install it, it doesn't run.
>>
>> Has this situation improved meanwhile? Does anyone have a
>> recipe on how to get wine running?

You can get wine running on AMD64, see the following wiki link:

http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-15 Thread Christian Barthel
On Sun, Aug 14, 2011 at 10:27:08PM +0200, Polytropon wrote:
> In order to restore functionality that my old system provided
> almost 10 years ago (I checked when I bought it!), I'm currently
> trying to get wine working. Sadly, its Makefile states:
> 
>   ONLY_FOR_ARCHS=i386
> 
> I've done some research and found lots of posts several years
> old that suggest that using wine on AMD64 is not possible or
> requires binary packages that don't exist, and even if one can
> install it, it doesn't run.
> 
> Has this situation improved meanwhile? Does anyone have a
> recipe on how to get wine running?
> 
> Current system is 8.2-STABLE/amd64. Should I better re-install
> everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
> here, and 2 GB RAM, that's why the AMD64 choice) and use i386
> instead?

I don't understand why you have chosen AMD64? You only have 2 GB memory,
which can be adressed under i386 too and you can avoid a lot of
problems. 

Today, I am not quite sure about AMD64 because with PAE (
http://en.wikipedia.org/wiki/Physical_Address_Extension#FreeBSD), 
you have a far better opportunity to address memory above 4 GB. 

All in all, your system, your rules ;)

> 
> And maybe fix Gtk+ triggered GPU trouble that way? :-)
> 
> 
> 
> -- 
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
Christian Barthel 
Public-Key: http://bc.user-mode.org/bc.asc 
Mail: b...@nyx.user-mode.org
Web: http://bc.user-mode.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-14 Thread Polytropon
On Sun, 14 Aug 2011 23:42:04 +0200, Roland Smith wrote:
> There is someone who makes packages for wine on amd64. See
> http://people.freebsd.org/~ivoras/wine/

Thanks, this did help. I was able to install this package,
but then had to manually install wine-gecko. After changing
$PACKAGESITE to the i386 location for latest 8-STABLE, it
was possible, and wine is running.

I'll now see if it fits my simple needs.



> Otherwise, with only 2 GB RAM [...]

Oh ONLY! :-)



> [...] I don't think there is much gained by using
> amd64. Unless your particular applications are faster on amd64.

I'm not sure, this is a simple home desktop, doing web browsing,
hopefully some gaming later on, a bit of multimedia and of
course application development, so I'm not depending on
anything AMD64-specific, if I see this correctly.



> > And maybe fix Gtk+ triggered GPU trouble that way? :-)
> 
> Could be.

Even though my new system feels much faster, fine-tuning and
repeated repeatative repeatition problem, i. e. re-installing
from scratch is a always something I try to avoid. But maybe
it's worth doing so - I'll keep it in mind.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-14 Thread Polytropon
On Sun, 14 Aug 2011 15:32:54 -0500, Andre Goree wrote:
> This worked out for me when I was in the same predicament a few days 
> ago:  http://www.mediafire.com/wine_fbsd64

Thank you, I've just rriet it. Pre-installation tasks are easy
(implied that I did everything correctly), but then, make and
python are in the state "pfault" and the system becomes very
sluggish.

Here some of the messages, repeated many times:

# make

[...]

"/usr/ports/Mk/bsd.port.mk", line 5439: warning: duplicate script for target 
"package-depends" ignored
"/usr/ports/Mk/bsd.port.mk", line 5442: warning: duplicate script for target 
"actual-package-depends" ignored
"/usr/ports/Mk/bsd.port.mk", line 5449: warning: duplicate script for target 
"package-recursive" ignored
"/usr/ports/Mk/bsd.port.mk", line 5459: warning: duplicate script for target 
"missing" ignored
"/usr/ports/Mk/bsd.port.mk", line 5513: warning: duplicate script for target 
"www-site" ignored
"/usr/ports/Mk/bsd.port.mk", line 5529: warning: duplicate script for target 
"/usr/ports/emulators/wine/README.html" ignored
"/usr/ports/Mk/bsd.port.mk", line 5545: warning: duplicate script for target 
"/usr/ports/emulators/wine/README.html" ignored
"/usr/ports/Mk/bsd.port.mk", line 5672: warning: duplicate script for target 
"/usr/ports/emulators/wine/work/.PLIST.mktmp" ignored
"/usr/ports/Mk/bsd.port.mk", line 6159: warning: duplicate script for target 
"desktop-categories" ignored
"/usr/ports/Mk/bsd.port.mk", line 6231: warning: duplicate script for target 
"check-desktop-entries" ignored
"/usr/ports/emulators/wine/../wine/Makefile", line 181: warning: duplicate 
script for target "pre-build" ignored
"/usr/ports/emulators/wine/../wine/Makefile", line 190: warning: duplicate 
script for target "post-install" ignored
"/usr/ports/Mk/bsd.port.mk", line 2796: warning: duplicate script for target 
"master-sites-ALL" ignored
"/usr/ports/Mk/bsd.port.mk", line 2798: warning: duplicate script for target 
"patch-sites-ALL" ignored
"/usr/ports/Mk/bsd.port.mk", line 2801: warning: duplicate script for target 
"master-sites-DEFAULT" ignored
"/usr/ports/Mk/bsd.port.mk", line 2803: warning: duplicate script for target 
"patch-sites-DEFAULT" ignored
"/usr/ports/Mk/bsd.port.mk", line 3220: warning: duplicate script for target 
"ignorelist-verbose" ignored

[...]

"/usr/ports/Mk/bsd.licenses.mk", line 563: warning: duplicate script for target 
"check-license" ignored
"/usr/ports/Mk/bsd.licenses.mk", line 724: warning: duplicate script for target 
"/usr/ports/emulators/wine/work/.license_done.wine._usr_local" ignored
"/usr/ports/Mk/bsd.licenses.mk", line 756: warning: duplicate script for target 
"install-license" ignored

[...]

swap_pager_getswapspace(16): failed

[...]

Aug 14 23:44:37 r56 kernel: pid 62075 (make), uid 0, was killed: out of swap 
space
Killed


There are many of the "swap_pager_getswapspace(16): failed" messages
before the whole process stops. Any idea what could be wrong here,
or is this expected?

My system has 2 GB RAM and a 2 GB swap partition.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Installing and using wine on amd64

2011-08-14 Thread Roland Smith
On Sun, Aug 14, 2011 at 10:27:08PM +0200, Polytropon wrote:
> In order to restore functionality that my old system provided
> almost 10 years ago (I checked when I bought it!), I'm currently
> trying to get wine working. Sadly, its Makefile states:
> 
>   ONLY_FOR_ARCHS=i386
> 
> I've done some research and found lots of posts several years
> old that suggest that using wine on AMD64 is not possible or
> requires binary packages that don't exist, and even if one can
> install it, it doesn't run.
> 
> Has this situation improved meanwhile? Does anyone have a
> recipe on how to get wine running?

There is someone who makes packages for wine on amd64. See
http://people.freebsd.org/~ivoras/wine/

If these packages don't work, see http://wiki.freebsd.org/Wine and
http://149.20.54.209/showthread.php?t=13982

> Current system is 8.2-STABLE/amd64. Should I better re-install
> everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
> here, and 2 GB RAM, that's why the AMD64 choice) and use i386
> instead?

Try if the available packages work first; that is probably significantly less
work. 

Otherwise, with only 2 GB RAM I don't think there is much gained by using
amd64. Unless your particular applications are faster on amd64.

> And maybe fix Gtk+ triggered GPU trouble that way? :-)

Could be.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpATB7twwDN7.pgp
Description: PGP signature


Re: Installing and using wine on amd64

2011-08-14 Thread Andre Goree

On 08/14/2011 15:27, Polytropon wrote:

In order to restore functionality that my old system provided
almost 10 years ago (I checked when I bought it!), I'm currently
trying to get wine working. Sadly, its Makefile states:

ONLY_FOR_ARCHS=i386

I've done some research and found lots of posts several years
old that suggest that using wine on AMD64 is not possible or
requires binary packages that don't exist, and even if one can
install it, it doesn't run.

Has this situation improved meanwhile? Does anyone have a
recipe on how to get wine running?

Current system is 8.2-STABLE/amd64. Should I better re-install
everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
here, and 2 GB RAM, that's why the AMD64 choice) and use i386
instead?

And maybe fix Gtk+ triggered GPU trouble that way? :-)



This worked out for me when I was in the same predicament a few days 
ago:  http://www.mediafire.com/wine_fbsd64


--
Andre Goree
an...@drenet.info

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Installing and using wine on amd64

2011-08-14 Thread Polytropon
In order to restore functionality that my old system provided
almost 10 years ago (I checked when I bought it!), I'm currently
trying to get wine working. Sadly, its Makefile states:

ONLY_FOR_ARCHS=i386

I've done some research and found lots of posts several years
old that suggest that using wine on AMD64 is not possible or
requires binary packages that don't exist, and even if one can
install it, it doesn't run.

Has this situation improved meanwhile? Does anyone have a
recipe on how to get wine running?

Current system is 8.2-STABLE/amd64. Should I better re-install
everything (Intel Core2 4300 1.80GHz / 1799.81-MHz K8-class CPU
here, and 2 GB RAM, that's why the AMD64 choice) and use i386
instead?

And maybe fix Gtk+ triggered GPU trouble that way? :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-03 Thread xorquewasp
On 2010-07-03 19:30:36, Jonathan Chen wrote:
> I'm got (unjailed) wine/i386 on amd64, and it plays DirectX 9 games
> with no problems; eg EVE-Online. I'm using the nvidia-drivers, which
> have to be installed on the 32-bit base, as well as the 64-bit driver
> on the /usr/local

Have noticed that everybody that has said it works is using the nvidia
drivers (whilst I'm using the open ATI drivers)...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-03 Thread Jonathan Chen
On Fri, Jul 02, 2010 at 09:04:43AM +0200, David Naylor wrote:
> On Friday 02 July 2010 01:35:05 xorquew...@googlemail.com wrote:
> > On 2010-07-01 22:16:26, David Naylor wrote:
> > > Have you tried the packages from http://people.freebsd.org/~ivoras/wine/
> > > 
> > > They worked for me with nvidia and intel.
> > 
> > Thanks, but as I mentioned in the hackers@ thread (and possibly this one),
> > it's actually DRI that's the problem. I can't even run 32-bit glxinfo
> > reliably in the chroot. libGL often receives EFAULT when doing various
> > ioctls on /dev/dri/card0 and sometimes crashes outright.
> 
> That is interesting as I am able to play Warcraft 3 on an intel laptop.  I 
> don't think it is using software rendering.  Wine runs without crashing and 
> does require libGL to launch the game.
> 
> I have also played Command and Conquer 3 on nvidia (but the proprietry nvidia 
> driver does not use dri).  

I'm got (unjailed) wine/i386 on amd64, and it plays DirectX 9 games
with no problems; eg EVE-Online. I'm using the nvidia-drivers, which
have to be installed on the 32-bit base, as well as the 64-bit driver
on the /usr/local
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
 |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-02 Thread David Naylor
On Friday 02 July 2010 01:35:05 xorquew...@googlemail.com wrote:
> On 2010-07-01 22:16:26, David Naylor wrote:
> > Have you tried the packages from http://people.freebsd.org/~ivoras/wine/
> > 
> > They worked for me with nvidia and intel.
> 
> Thanks, but as I mentioned in the hackers@ thread (and possibly this one),
> it's actually DRI that's the problem. I can't even run 32-bit glxinfo
> reliably in the chroot. libGL often receives EFAULT when doing various
> ioctls on /dev/dri/card0 and sometimes crashes outright.

That is interesting as I am able to play Warcraft 3 on an intel laptop.  I 
don't think it is using software rendering.  Wine runs without crashing and 
does require libGL to launch the game.

I have also played Command and Conquer 3 on nvidia (but the proprietry nvidia 
driver does not use dri).  

Good luck


signature.asc
Description: This is a digitally signed message part.


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread xorquewasp
On 2010-07-01 22:16:26, David Naylor wrote:
> 
> Have you tried the packages from http://people.freebsd.org/~ivoras/wine/
> 
> They worked for me with nvidia and intel.  

Thanks, but as I mentioned in the hackers@ thread (and possibly this one),
it's actually DRI that's the problem. I can't even run 32-bit glxinfo
reliably in the chroot. libGL often receives EFAULT when doing various
ioctls on /dev/dri/card0 and sometimes crashes outright.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread David Naylor
On Thursday 01 July 2010 14:00:06 xorquew...@googlemail.com wrote:
> On 2010-07-01 15:28:00, Mikle Krutov wrote:
> > Sorry for late-answer, but why are you running wine in jail?
> > May be that's the source of the problem.
> > For me, it was just installed into /usr/local/ as some other
> > 
> >  program, some 32bit libs were in lib32, and so on.
> 
> As mentioned, I've tried it in a jail, a plain chroot and also completely
> unchrooted and unjailed.
> 
> Wine itself works fine but DRI doesn't.
> 
> I recently wrote to freebsd-hackers@ and the response wasn't exactly
> positive. Seems 32-bit DRI is basically expected to fail when talking
> to a 64-bit kernel. Wine's not the one at fault here.

Have you tried the packages from http://people.freebsd.org/~ivoras/wine/

They worked for me with nvidia and intel.  

Regards,

David


signature.asc
Description: This is a digitally signed message part.


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread xorquewasp
On 2010-07-01 23:37:37, Mikle Krutov wrote:
> Well, then i do not get why i was albe to play
> some 3d games on wine with fbsd 8.0 amd64
> about when 8.0 was released.
> Also 
> http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

I don't either. I've tried every possible combination including the contents
of that wiki page. I've spoken to people who should know and I get generally
disinterested replies along the lines of "it probably doesn't work".

It's extremely frustrating.

Thanks for the responses, anyway. I've pretty much given up at this point.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread Mikle Krutov
Well, then i do not get why i was albe to play
some 3d games on wine with fbsd 8.0 amd64
about when 8.0 was released.
Also http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d

2010/7/1, xorquew...@googlemail.com :
> On 2010-07-01 15:28:00, Mikle Krutov wrote:
>> Sorry for late-answer, but why are you running wine in jail?
>> May be that's the source of the problem.
>> For me, it was just installed into /usr/local/ as some other
>>  program, some 32bit libs were in lib32, and so on.
>
> As mentioned, I've tried it in a jail, a plain chroot and also completely
> unchrooted and unjailed.
>
> Wine itself works fine but DRI doesn't.
>
> I recently wrote to freebsd-hackers@ and the response wasn't exactly
> positive. Seems 32-bit DRI is basically expected to fail when talking
> to a 64-bit kernel. Wine's not the one at fault here.
>
> Regards,
> xw
>


-- 
with best regards, Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread Mikle Krutov
Sorry for late-answer, but why are you running wine in jail?
May be that's the source of the problem.
For me, it was just installed into /usr/local/ as some other
 program, some 32bit libs were in lib32, and so on.

2010/6/25, xorquew...@googlemail.com :
> On 2010-06-24 18:57:35, Mikle Krutov wrote:
>> You need 32bit libGL and all mesa stuff to have
>> dri with i386 apps on amd64 system. Also i've used
>> http://msnp.ru/file/wine-fbsd64.zip port, not the
>> by-hand-way while using amd64.
>> Worked for me on both radeon and nvidia card.
>
> Yes, I have those. Here's a list of all ports installed in the i386
> jail (they were built in the jail itself so are definitely 32 bit):
>
> bash-4.0.35 The GNU Project's Bourne Again SHell
> damageproto-1.1.0_2 Damage extension headers
> dri-7.4.4,2 OpenGL hardware acceleration drivers for the DRI
> dri2proto-2.1   DRI2 prototype headers
> expat-2.0.1_1   XML 1.0 parser written in C
> fixesproto-4.0  Fixes extension headers
> fontconfig-2.8.0,1  An XML-based font configuration API for X Windows
> freetype2-2.3.11A free and portable TrueType font rendering engine
> gettext-0.17_1  GNU gettext package
> inputproto-1.5.0Input extension headers
> jpeg-8_1IJG's jpeg compression utilities
> kbproto-1.0.3   KB extension headers
> lcms-1.19_1,1   Light Color Management System -- a color management
> library
> libGL-7.4.4 OpenGL library that renders using GLX or DRI
> libGLU-7.4.4OpenGL utility library
> libICE-1.0.4_1,1Inter Client Exchange library for X11
> libSM-1.1.0_1,1 Session Management library for X11
> libX11-1.2.1_1,1X11 library
> libXau-1.0.4Authentication Protocol library for X11
> libXdamage-1.1.1X Damage extension library
> libXdmcp-1.0.2_1X Display Manager Control Protocol library
> libXext-1.0.5,1 X11 Extension library
> libXfixes-4.0.3_1   X Fixes extension library
> libXi-1.2.1,1   X Input extension library
> libXmu-1.0.4,1  X Miscellaneous Utilities libraries
> libXpm-3.5.7X Pixmap library
> libXrender-0.9.4_1  X Render extension library
> libXt-1.0.5_1   X Toolkit library
> libXxf86vm-1.0.2X Vidmode Extension
> libdrm-2.4.12   Userspace interface to kernel Direct Rendering Module
> servi
> libglut-7.4.4   OpenGL utility toolkit
> libiconv-1.13.1_1   A character set conversion library
> libpthread-stubs-0.3_3 This library provides weak aliases for pthread
> functions
> libxcb-1.5  The X protocol C-language Binding (XCB) library
> libxml2-2.7.6_1 XML parser library for GNOME
> mesa-demos-7.4.4OpenGL demos distributed with Mesa
> pkg-config-0.23_1   A utility to retrieve information about installed
> libraries
> png-1.2.43  Library for manipulating PNG images
> renderproto-0.9.3   RenderProto protocol headers
> wine-1.1.40,1   Microsoft Windows compatibility layer for Unix-like
> systems
> xextproto-7.0.5 XExt extension headers
> xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers
> xproto-7.0.15   X11 protocol headers
>
> This is sort of worrying then: Why am I seeing segfaults? I'd expect to see
> executable format errors if there were 64 bit binaries being used somewhere
> rather than straight crashes.
>
> Regards,
> xw
>


-- 
with best regards, Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-07-01 Thread xorquewasp
On 2010-07-01 15:28:00, Mikle Krutov wrote:
> Sorry for late-answer, but why are you running wine in jail?
> May be that's the source of the problem.
> For me, it was just installed into /usr/local/ as some other
>  program, some 32bit libs were in lib32, and so on.

As mentioned, I've tried it in a jail, a plain chroot and also completely
unchrooted and unjailed.

Wine itself works fine but DRI doesn't.

I recently wrote to freebsd-hackers@ and the response wasn't exactly
positive. Seems 32-bit DRI is basically expected to fail when talking
to a 64-bit kernel. Wine's not the one at fault here.

Regards,
xw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-06-24 Thread xorquewasp
On 2010-06-24 18:57:35, Mikle Krutov wrote:
> You need 32bit libGL and all mesa stuff to have
> dri with i386 apps on amd64 system. Also i've used
> http://msnp.ru/file/wine-fbsd64.zip port, not the
> by-hand-way while using amd64.
> Worked for me on both radeon and nvidia card.

Yes, I have those. Here's a list of all ports installed in the i386
jail (they were built in the jail itself so are definitely 32 bit):

bash-4.0.35 The GNU Project's Bourne Again SHell
damageproto-1.1.0_2 Damage extension headers
dri-7.4.4,2 OpenGL hardware acceleration drivers for the DRI
dri2proto-2.1   DRI2 prototype headers
expat-2.0.1_1   XML 1.0 parser written in C
fixesproto-4.0  Fixes extension headers
fontconfig-2.8.0,1  An XML-based font configuration API for X Windows
freetype2-2.3.11A free and portable TrueType font rendering engine
gettext-0.17_1  GNU gettext package
inputproto-1.5.0Input extension headers
jpeg-8_1IJG's jpeg compression utilities
kbproto-1.0.3   KB extension headers
lcms-1.19_1,1   Light Color Management System -- a color management library
libGL-7.4.4 OpenGL library that renders using GLX or DRI
libGLU-7.4.4OpenGL utility library
libICE-1.0.4_1,1Inter Client Exchange library for X11
libSM-1.1.0_1,1 Session Management library for X11
libX11-1.2.1_1,1X11 library
libXau-1.0.4Authentication Protocol library for X11
libXdamage-1.1.1X Damage extension library
libXdmcp-1.0.2_1X Display Manager Control Protocol library
libXext-1.0.5,1 X11 Extension library
libXfixes-4.0.3_1   X Fixes extension library
libXi-1.2.1,1   X Input extension library
libXmu-1.0.4,1  X Miscellaneous Utilities libraries
libXpm-3.5.7X Pixmap library
libXrender-0.9.4_1  X Render extension library
libXt-1.0.5_1   X Toolkit library
libXxf86vm-1.0.2X Vidmode Extension
libdrm-2.4.12   Userspace interface to kernel Direct Rendering Module servi
libglut-7.4.4   OpenGL utility toolkit
libiconv-1.13.1_1   A character set conversion library
libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions
libxcb-1.5  The X protocol C-language Binding (XCB) library
libxml2-2.7.6_1 XML parser library for GNOME
mesa-demos-7.4.4OpenGL demos distributed with Mesa
pkg-config-0.23_1   A utility to retrieve information about installed libraries
png-1.2.43  Library for manipulating PNG images
renderproto-0.9.3   RenderProto protocol headers
wine-1.1.40,1   Microsoft Windows compatibility layer for Unix-like systems
xextproto-7.0.5 XExt extension headers
xf86vidmodeproto-2.2.2 XFree86-VidModeExtension extension headers
xproto-7.0.15   X11 protocol headers

This is sort of worrying then: Why am I seeing segfaults? I'd expect to see
executable format errors if there were 64 bit binaries being used somewhere
rather than straight crashes.

Regards,
xw
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: i386 wine on amd64 - DRI a lost cause?

2010-06-24 Thread Mikle Krutov
You need 32bit libGL and all mesa stuff to have
dri with i386 apps on amd64 system. Also i've used
http://msnp.ru/file/wine-fbsd64.zip port, not the
by-hand-way while using amd64.
Worked for me on both radeon and nvidia card.

2010/6/24, xorquew...@googlemail.com :
> I have a full i386 tree installed at /jail/wine (ignore the 'jail' in
> the name, I'll run it as a plain chroot if necessary) created with 'make
> buildworld TARGET=i386'.
>
> I've built and installed wine into the jail/chroot and it works fine.
> The problem: I can't get any kind of DRI to work in the jail/chroot. DRI
> is working fine on the host system. Any program that attempts to use DRI
> in the chroot/jail immediately segfaults.
>
> I built and installed a 32 bit version of graphics/dri into the
> jail/chroot as glxinfo reported that direct rendering was disabled due
> to missing files. I then made /dev/dri visible in the jail/chroot.
>
> Can an i386 version of DRI not talk to an amd64 kernel? Is there some
> other way I should be doing this?
>
> I'm using a radeon card that uses r300_dri.so, if that's at all
> significant.
>
> Regards, xw
>
> PS: Please CC as I'm not subscribed.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>


-- 
with best regards, Krutov Mikle
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


i386 wine on amd64 - DRI a lost cause?

2010-06-24 Thread xorquewasp
I have a full i386 tree installed at /jail/wine (ignore the 'jail' in
the name, I'll run it as a plain chroot if necessary) created with 'make
buildworld TARGET=i386'.

I've built and installed wine into the jail/chroot and it works fine.
The problem: I can't get any kind of DRI to work in the jail/chroot. DRI
is working fine on the host system. Any program that attempts to use DRI
in the chroot/jail immediately segfaults.

I built and installed a 32 bit version of graphics/dri into the
jail/chroot as glxinfo reported that direct rendering was disabled due
to missing files. I then made /dev/dri visible in the jail/chroot.

Can an i386 version of DRI not talk to an amd64 kernel? Is there some
other way I should be doing this?

I'm using a radeon card that uses r300_dri.so, if that's at all
significant.

Regards, xw

PS: Please CC as I'm not subscribed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: wine on amd64

2007-04-11 Thread Kris Kennaway
On Wed, Apr 11, 2007 at 10:37:03AM -0700, Steve Franks wrote:
> On 4/10/07, Kris Kennaway <[EMAIL PROTECTED]> wrote:
> >
> >On Tue, Apr 10, 2007 at 02:42:35PM +0200, Tijl Coosemans wrote:
> >> On Monday 09 April 2007 19:28:50 Kris Kennaway wrote:
> >> > On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> >> > > Why does the wine port complain that it will not build on my
> >> > > 6.2/amd64 machine?  A quick search around winehq.com seems to
> >> > > indicate that the linux (kubuntu, debian) guys compile wine on
> >> > > their 64-bit platforms???  And you know how we *hate* to let them
> >> > > think they have something we bsd-ites do not ;)
> >> >
> >> > Extra patches, I guess.  Why not look into it and see what needs to
> >> > be added to our port?
> >>
> >> Wine runs win32 programs. It needs to be built as a 32bit program
> >> linked with 32bit libraries. The ports/package system can't handle
> >> 32bit code on amd64.
> >
> >Well it can, you just need to also have 32-bit versions of all the
> >other ports too.  It is true that no-one has really worked on this,
> >but it's not technically difficult.
> >
> >Kris
> >
> >
> Is there already a means for building a particular port as 32 bits on a
> 64-bit machine?

Not really, this is what I mean by work needed.

Kris


pgpos33L4RQUp.pgp
Description: PGP signature


Re: wine on amd64

2007-04-11 Thread Steve Franks

On 4/10/07, Kris Kennaway <[EMAIL PROTECTED]> wrote:


On Tue, Apr 10, 2007 at 02:42:35PM +0200, Tijl Coosemans wrote:
> On Monday 09 April 2007 19:28:50 Kris Kennaway wrote:
> > On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> > > Why does the wine port complain that it will not build on my
> > > 6.2/amd64 machine?  A quick search around winehq.com seems to
> > > indicate that the linux (kubuntu, debian) guys compile wine on
> > > their 64-bit platforms???  And you know how we *hate* to let them
> > > think they have something we bsd-ites do not ;)
> >
> > Extra patches, I guess.  Why not look into it and see what needs to
> > be added to our port?
>
> Wine runs win32 programs. It needs to be built as a 32bit program
> linked with 32bit libraries. The ports/package system can't handle
> 32bit code on amd64.

Well it can, you just need to also have 32-bit versions of all the
other ports too.  It is true that no-one has really worked on this,
but it's not technically difficult.

Kris



Is there already a means for building a particular port as 32 bits on a
64-bit machine?  It seems that the infrastructure for having multiple
versions of a particular port installed is already there.  I know
6.2-64already has some 32-bit compatilibity infrastructure of some
sort.  As you
say, it certainly doesn't seem beyond the realm of technical possibility.
Since all my machines (even my crappy $400usd laptop) all have amd64
processors, why should I be locked into installing the x86 version just to
run my CAD packages on wine?  The qemu option sounds easy enough, but I
moved to fbsd so I could ditch MS's unethical business practices and bugs -
don't like the thought of installing it again on my pristine bsd server ;)

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wine on amd64

2007-04-10 Thread Kris Kennaway
On Tue, Apr 10, 2007 at 02:42:35PM +0200, Tijl Coosemans wrote:
> On Monday 09 April 2007 19:28:50 Kris Kennaway wrote:
> > On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> > > Why does the wine port complain that it will not build on my
> > > 6.2/amd64 machine?  A quick search around winehq.com seems to
> > > indicate that the linux (kubuntu, debian) guys compile wine on
> > > their 64-bit platforms???  And you know how we *hate* to let them
> > > think they have something we bsd-ites do not ;)
> > 
> > Extra patches, I guess.  Why not look into it and see what needs to
> > be added to our port?
> 
> Wine runs win32 programs. It needs to be built as a 32bit program
> linked with 32bit libraries. The ports/package system can't handle
> 32bit code on amd64.

Well it can, you just need to also have 32-bit versions of all the
other ports too.  It is true that no-one has really worked on this,
but it's not technically difficult.

Kris


pgpa3but838rT.pgp
Description: PGP signature


Re: wine on amd64

2007-04-10 Thread Tijl Coosemans
On Monday 09 April 2007 19:28:50 Kris Kennaway wrote:
> On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> > Why does the wine port complain that it will not build on my
> > 6.2/amd64 machine?  A quick search around winehq.com seems to
> > indicate that the linux (kubuntu, debian) guys compile wine on
> > their 64-bit platforms???  And you know how we *hate* to let them
> > think they have something we bsd-ites do not ;)
> 
> Extra patches, I guess.  Why not look into it and see what needs to
> be added to our port?

Wine runs win32 programs. It needs to be built as a 32bit program
linked with 32bit libraries. The ports/package system can't handle
32bit code on amd64.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wine on amd64

2007-04-09 Thread Roland Smith
On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> Hi, question of the day:
> 
> Why does the wine port complain that it will not build on my 6.2/amd64
> machine?  A quick search around winehq.com seems to indicate that the linux
> (kubuntu, debian) guys compile wine on their 64-bit platforms???  And you
> know how we *hate* to let them think they have something we bsd-ites do not
> ;)

This has been covered on the mailing list several times. In short:
install FreeBSD x86 if you want wine.

Depending on the app that you need you might be better off running
windows in an emulator like qemu.

Wine is a desktop app, and the benefit of 64-bit on a typical desktop
system is not that large (I'm running an amd64 desktop system, but
that's more a "because I can" thing that that I really need it). Since
it's much easier to install the x86 version of FreeBSD, nobody has
bothered to port wine to amd64 (which would be decidedly non-trivial, if
even possible).

The way linux does it, AFAICT is to run a 32-bit chroot
environment. This means that you have to install 32-bit versions of
_all_ the libraries that wine depends on in the chroot. Which has
significant consequences for the ports environment (again non-trivial),
unless you want to install everything by hand.

Both approaches would soak up a lot of resources that nobody has been
willing to spend on it.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpcq5sDlavpR.pgp
Description: PGP signature


Re: wine on amd64

2007-04-09 Thread Kris Kennaway
On Mon, Apr 09, 2007 at 09:37:00AM -0700, Steve Franks wrote:
> Hi, question of the day:
> 
> Why does the wine port complain that it will not build on my 6.2/amd64
> machine?  A quick search around winehq.com seems to indicate that the linux
> (kubuntu, debian) guys compile wine on their 64-bit platforms???  And you
> know how we *hate* to let them think they have something we bsd-ites do not
> ;)

Extra patches, I guess.  Why not look into it and see what needs to be
added to our port?

Kris


pgpzht99dvNXx.pgp
Description: PGP signature


wine on amd64

2007-04-09 Thread Steve Franks

Hi, question of the day:

Why does the wine port complain that it will not build on my 6.2/amd64
machine?  A quick search around winehq.com seems to indicate that the linux
(kubuntu, debian) guys compile wine on their 64-bit platforms???  And you
know how we *hate* to let them think they have something we bsd-ites do not
;)

Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"