Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SL and wine

Naedo Goff
Registered User
Join date: 11 Mar 2006
Posts: 10
03-15-2006 17:05
Ok, having been sucked into SL via the linux client, I'm now left waiting anxiously for the 1.9 update to be posted. In the meantime, I've been trying to get the windows client to work in wine. For some strange reason, it only worked the first time or two that I ran it. Since then, nothing. This happened with the pre-1.9 version, but I've now uninstalled the old version and installed the new, but it still won't run. I get the error dialog that tells me that SL couldn't get a secure connection, and advises me to check the date/time on my PC. According to the support site, this error can also occur due to firewall settings. Now, obviously, the time and date are correct on my PC, and I've been messing around with the firewall, although I really doubt it's the problem, since the linux client worked fine. I did dig this error out of the console output:

ALERT: LLXMLRPCTransaction CURL error 35: select on SSL socket, errno: 10004
ALERT: LLXMLRPCTransaction request URI: https://login.agni.lindenlab.com/cgi-bin/login.cgi
INFO: Processed response: 35

Anybody else run into this? Anybody fixed it?

(I'm running wine 0.9.9 on Ubuntu Dapper)
MaryJane Lowell
Registered User
Join date: 16 Feb 2006
Posts: 16
03-15-2006 17:14
I've had a similar problem with wine 0.99; I managed to solve it by running winecfg and selecting OSS audio driver in the Audio tab.
Right now I had to turn audio off because i had extreme jitter and static with it, but 1.9 runs good.
Hope this helps :)
Validus Bishop
Registered User
Join date: 24 Feb 2006
Posts: 81
03-15-2006 17:29
I am fortunate. Running SL through the Crossover Office version of WINE and everything works near perfectly and getting great FPS. Would still rather have the native client back, but this isn't the end of the world at least.

--Val
Psyke Phaeton
Psyke's Defense Systems
Join date: 12 Oct 2003
Posts: 197
03-15-2006 18:13
OMG ty ty ty ty .... umm why does non-OSS make CURL SSL fail??? :eek:
Naedo Goff
Registered User
Join date: 11 Mar 2006
Posts: 10
03-15-2006 18:51
Well, that doesn't make a lot of sense, but it does work. Thanks MaryJane.
MaryJane Lowell
Registered User
Join date: 16 Feb 2006
Posts: 16
03-15-2006 19:09
I really don't know why; I suspect it has to do with my integrated sound chipset though, since I always have DSOUND underruns with wine... glad it worked for you!
Now lets hope the linux client gets out of alpha and get some sound too :)
Ciao
MJ
Psyke Phaeton
Psyke's Defense Systems
Join date: 12 Oct 2003
Posts: 197
03-15-2006 20:28
sound was best for me when "emulating" (dont start! :P) Windows 2003 and with OSS and Emulation/Emulation in winecfg. :) woot sound, floating text all normal and that new fandangled thing called "cut n paste" OMG :D
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
03-15-2006 21:29
Did you have to install Quicktime too in Wine for sound to work?
Naedo Goff
Registered User
Join date: 11 Mar 2006
Posts: 10
03-15-2006 21:49
Quicktime is just for the streaming audio. I haven't tried installing it in wine yet.

MaryJane: I get the underruns as well, with a SBLive card. My sound is generally ok, but it has little pops now and then.
LordJason Kiesler
imperfection inventor.
Join date: 30 May 2004
Posts: 215
Kinda stuck now.
03-15-2006 22:41
No update for the Linux alpha, and it seems an update is required for the win32 one as well. The link on the download page gives you 1-9-0-15 , and as usual, the 'auto updater' does not work under wine.

If the url or 'pointer' to the most up to date version of second life is always correct through the auto updater program, I can only assume it is connecting to one specific place controlled by ll that holds the pointer to the proper file(s).

If so, why on "http://secondlife.com/community/downloads.php" does it not also connect to the same place, instead of being a manually maintained (and sometimes forgotten about) url?

Or, why isn't the filename just “SecondLifeInstall.exe”, and simply replaced with the most recent version?

I guess what I'm trying to say is, I understand that people forget, but that wouldn't be an issue if the download url were automatic.
Guess I'll just go use my free time on some random googlevids, sigh.
_____________________
"no, my alt is clean on crashing any sims"
LordJason Kiesler
imperfection inventor.
Join date: 30 May 2004
Posts: 215
03-16-2006 00:03
My bad, somehow I was running an old 1.8.* install of sl.
Yet again a lesson in assumptions.
_____________________
"no, my alt is clean on crashing any sims"
Mack Echegaray
Registered Snoozer
Join date: 15 Dec 2005
Posts: 145
03-16-2006 03:25
Wines DirectSound code is quite, quite baroque. It's being improved as time goes by but it's still very dependent on your audio drivers and the way the app uses DirectSound.

Best results will probably be obtained with the Wine OSS driver, not ALSA. At least for now.
Mack Echegaray
Registered Snoozer
Join date: 15 Dec 2005
Posts: 145
03-16-2006 03:28
Oh, and for those who are using the latest Wine release and see a lower framerate than on Windows, I posted a patch to wine-devel here:

http://www.winehq.org/pipermail/wine-devel/2006-March/045577.html

As part of the work to make apps that embed GL into standard windows work properly post-WM-rewrite Huw accidentally slowed down the GL thunk codepath considerably - that patch is _very_ rough and untested etc, all the usual disclaimers apply, but if it helps anybody then I'll fix it to use Win32 TLS and submit it to AJ.
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
03-16-2006 04:54
Wow! This is great stuff! Fixing Wine because SL is so demanding :D

Any chance of getting wine to use a display type with alpha channels? The SL client doesn't demand it directly, and it has been patched for the native Linux Client, but under wine there is as yet neither a fix nor a workaround.

I stopped using wine to play SL for that reason; transparent skins, and lots of clothing items with transparency look really strange :p
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
03-16-2006 05:53
So ... what was that about Open Source development and bug fixing? This is a brilliant example of what we were trying to say :)
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
03-16-2006 06:21
No kidding!!!
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
KittyFox Mistral
Registered User
Join date: 17 Oct 2005
Posts: 51
03-16-2006 06:21
From: Mack Echegaray
Oh, and for those who are using the latest Wine release and see a lower framerate than on Windows, I posted a patch to wine-devel here:

I tried applying the patch to Wine, and building failed when trying to link the opengl32 "dll". Something about undefined references to some tls stuff. wgl.c itself compiled fine with no warnings or errors, though.
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
03-16-2006 07:29
I must say for me the speed of SL under WINE is rediculous. You all have power computers? Its about 1/20 as fast as on Windows XP and 1/30 of the Linux Client.

I need about 15 minutes to rezz my environment (about 1 minute with Linux Client)
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
03-16-2006 07:40
Hi Vinci. It runs a touch slower than native Windows for me. Probably fixed by the above patch. It ran really funny before I told wine to emulate XP, though, in winecfg.
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
MaryJane Lowell
Registered User
Join date: 16 Feb 2006
Posts: 16
Managed to get sound work under wine!
03-16-2006 07:59
Ok, I've managed to get sound work under wine :D
-Without DSOUND underruns
--edit: :( Incorrect, I still have underruns, even if a lot less than before.
-Without the SL client spitting out that it's "unable to establish a secure connection" and "computer's clock is set incorrectly" (pfff)
-With some minor jitter only if using some other application besides wine (like Firefox):

$ winecfg

"Audio" tab-->
"Driver Selection" section-->"Sound Drivers"-->"ALSA Driver" -only- box checked.
"DirectSound" section-->"Hardware Acceleration"--> "Emulation" menu selected and "Driver Emulation" box checked.

The same configuration but with "OSS Driver" -only- checked in "Driver Selection" gets me tons of INCREDIBLY LOUD static and jitter, which becomes really unhealthy for my amplifier even if set at minimum volume.

Mind that this configuration has been tried in optimal conditions, in low-lag areas and with very few avatars in the sim.
Mack Echegaray
Registered Snoozer
Join date: 15 Dec 2005
Posts: 145
03-16-2006 16:09
Sorry about that, seems some peoples systems don't like ELF TLS in Wine DLLs. Here's a patch that should at least link!

http://plan99.net/~mike/files/glteb.patch

For me Second Life comes up to the start screen at any rate.
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
03-17-2006 01:22
From: Angel Sunset
Wow! This is great stuff! Fixing Wine because SL is so demanding :D

Any chance of getting wine to use a display type with alpha channels? The SL client doesn't demand it directly, and it has been patched for the native Linux Client, but under wine there is as yet neither a fix nor a workaround.

I stopped using wine to play SL for that reason; transparent skins, and lots of clothing items with transparency look really strange :p


Could you give a screenshot as an example? I cannot see any problem with alpha channels using Wine.

Edit: Oh it's okay, I've reproduced it now!! (yuck)
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
03-17-2006 02:03
Thanks for the reply! I will get some examples together when I get on again, in aboout 6 hours :)

What I remember is, a skin with transparency, where moving the sliders for Lipstick Colour made no difference under wine, but worked OK on the (patched) SL Linux client, and Windows native. Also some skirts showed Long White extensions, after the skirt ended; the same with trousers.

Since I recognised this behaviour from the unpatched linux client, I stopped using wine and went back to the native windows client, after spending some time trying to get the Default Visual of X to be 24 + 8 :(

However, take all this with a pinch of salt: this is from memory, I will get exact real time observations when I go online tonight.

--- Edit ---

Looks like we got crossed in our posts :)

Sorry u also see it now, but glad I am not alone :D
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
03-17-2006 10:09
From: Angel Sunset
Hi Vinci. It runs a touch slower than native Windows for me. Probably fixed by the above patch. It ran really funny before I told wine to emulate XP, though, in winecfg.


yep switching to winxp as setting made things better.

I do get encryption error. (no secure connection) if I enable audio. LOL.
Claude Desmoulins
Registered User
Join date: 1 Nov 2005
Posts: 388
03-17-2006 12:06
Anyone have advice on how to install WINE on a 64 bit kernel?
1 2