Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Wine with SL

Angel Tokugawa
Registered User
Join date: 17 Mar 2005
Posts: 3
07-02-2006 23:06
Until Linden Lab has the Linux Preview up to par with the Windows version, I would like to use the Windows version under Linux. I have configured and installed Wine, and I have downloaded the latest windows snapshot from the SL site. I've followed a few threads on here about changing it to "Windows XP" for compatibility and I have done so. The problem I'm having now is, it just won't load to the login screen for me (it just brings up crash logger each time). The Linux Preview works fine, but I want to run it under wine so that I can take advantage of all that the windows version has to offer in the meantime. I know people have it running on wine, what's your secret?

Edit: It still doesn't go to the login screen, but instead of bring up the crash logger it now just loads a fullscreen black screen and it just sits there. :( The only thing I've done differently was restart the computer entirely.

Thanks! Please help!
Hello Toonie
Registered User
Join date: 25 Jul 2005
Posts: 212
07-03-2006 00:49
I have a similar problem. I find that SL starts fine about 1 in 100 times (so I start it in a 'while' loop o.O). I guess it's a race condition in WINE (or perhaps SL).

If you're on nVidia hardware, try this before starting SL, it may help:
setenv __GL_FORCE_INDIRECT 1

This is a pretty big speed hit but at least you'll have access to the win32-SL features if you need them.
Tangletwigs Fairymeadow
Registered User
Join date: 30 Apr 2006
Posts: 57
07-03-2006 01:24
Double check you x config file and make sure your default color depth is 24 or 32, if its set too 16 SL wont start and hangs at a black window/screen.
Hello Toonie
Registered User
Join date: 25 Jul 2005
Posts: 212
07-03-2006 02:51
Oh yeah, sorry, I totally leapfrogged the more well-known problems under maybe-mistaken assumptions. :)
Validus Bishop
Registered User
Join date: 24 Feb 2006
Posts: 81
07-03-2006 05:02
From: Hello Toonie
I have a similar problem. I find that SL starts fine about 1 in 100 times (so I start it in a 'while' loop o.O). I guess it's a race condition in WINE (or perhaps SL).

If you're on nVidia hardware, try this before starting SL, it may help:
setenv __GL_FORCE_INDIRECT 1

This is a pretty big speed hit but at least you'll have access to the win32-SL features if you need them.


Heya Hello,

I forgot to mention after that one rare appearance I made at a meeting before, but that above change didn't fix that alpha issue for me, though it did provide the warned performance hit, hehe. Aside from that SL via WINE starts up for me consistently.

--Val
Angel Tokugawa
Registered User
Join date: 17 Mar 2005
Posts: 3
07-03-2006 11:47
Ok checked, color depth is set at 24. I also tried again today, same thing, still black screen. I have an ATI Radeon X800, just so you know. All help is appreciated! Thanks for your time!
Angel Tokugawa
Registered User
Join date: 17 Mar 2005
Posts: 3
07-03-2006 11:51
Here's a tidbit from my xorg config.

Section "Monitor"
Identifier "DELL E173FP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. R423 UK [Radeon X800SE (PCIE)]"
Monitor "DELL E173FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "72$
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "72$
EndSubSection
SubSection "Display"
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
07-03-2006 15:55
From: Angel Tokugawa
Here's a tidbit from my xorg config.

Section "Monitor"
Identifier "DELL E173FP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. R423 UK [Radeon X800SE (PCIE)]"
Monitor "DELL E173FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "72$
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "72$
EndSubSection
SubSection "Display"


You need to change one of the lines after depth to 24 (I am not really sure _what_ depth 1 and depth 4 are, but they look pretty useless to me!).. Also make sure your monitor can really do 1280x1024 before trying this.. It seems quite a high resolution (me being stuck at 1024x768 for the last 6 years or so).

Oh.. also can you confirm you have the proprietary ati drivers installed?
Drake Bacon
Linux is Furry
Join date: 13 Jul 2005
Posts: 443
07-03-2006 16:19
From: Theora Aquitaine
You need to change one of the lines after depth to 24 (I am not really sure _what_ depth 1 and depth 4 are, but they look pretty useless to me!).. Also make sure your monitor can really do 1280x1024 before trying this.. It seems quite a high resolution (me being stuck at 1024x768 for the last 6 years or so).


Just to note: 1 bit is monocrome (black/white only), 4 bit is 16 color, 8 is 256 color, 16 is ether 65536 color or 565-Truecolor.
Tangletwigs Fairymeadow
Registered User
Join date: 30 Apr 2006
Posts: 57
07-04-2006 00:46
Yep you need a pair of lines like :

CODE


Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "72$



after the Depth 4 pair-weird as this would normally be part of a default config file I think ?
Jacob Shaftoe
Registered User
Join date: 20 Apr 2005
Posts: 22
07-04-2006 01:02
Sorry, it does have depth 24 as well, could someone copy their depth 24 to me entirely so I can compare?

P.S. I'm Angel's boyfriend, I'm helping her out
LordJason Kiesler
imperfection inventor.
Join date: 30 May 2004
Posts: 215
07-04-2006 18:08
CODE

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor "EV700"
DefaultDepth 24
<..snip..>
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Edit:
By the way, if you have not already tried this, you need to get a "settings.ini" (I'm assuming its a new sl install) so that you can set "FullScreen FALSE". For me anyway, Sl will never work if it is trying to run fullscreen. If your settings.ini exists it will be in,
";(wineroot)/drive_c/windows/profiles/(username)/Application Data/SecondLife/user_settings/".
Another way to fix the fullscreen problem on a new install...
Set wine to use the "desktop" mode, and set the res to 640X480. When you log in, SL will say "Failed to set resolution to 1024X768", and then it will finish loading in windowd mode. Now if you log out your settings.ini will be created and set to NOT use fullscreen.
_____________________
"no, my alt is clean on crashing any sims"
CarNinja Poultry
Registered User
Join date: 19 Jun 2006
Posts: 2
07-05-2006 17:10
That didn't work for me. I set it to destop mode, it warned me about not being able to find directx 9b, i clicked continue, then it gave me the crash logger.
LordJason Kiesler
imperfection inventor.
Join date: 30 May 2004
Posts: 215
07-05-2006 17:22
CarNinja, can you give us some specs on your setup?
Version of X, Video card, Driver version, Wine version. etc.
And what does it say in the terminal when it crashes?
_____________________
"no, my alt is clean on crashing any sims"
CarNinja Poultry
Registered User
Join date: 19 Jun 2006
Posts: 2
07-05-2006 17:39
# emerge info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.14
ACCEPT_KEYWORDS="x86"

USE="X a52 aac alsa apache2 apm audiofile avi berkdb bidi bitmap-fonts bzip2 cdr cli crypt cups curl dlloader dri dvd eds emboss encode exif expat faad fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib isdnlog java joystick jpeg lcms libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg mtrr mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 qtreal quicktime readline real recode reflection ruby samba sdl session silc slang spell spl sqlite sse ssl svgampeg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wxwindows x86 xfce xine xinerama xml xml2 xmms xorg xv xvid zlib video_cards_nvidia input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc"

* x11-base/xorg-x11 Installed: 6.8.2-r7
* media-video/nvidia-glx Installed: 1.0.8762
* media-video/nvidia-kernel Installed: 1.0.8762
* app-emulation/wine Installed: 0.9.16

Console Output

I'm considering downgrading because it worked right out of the box with 0.9.12, it only had some graphical errors.
Edit: and some painful sound glitches which is why I upgraded.
LordJason Kiesler
imperfection inventor.
Join date: 30 May 2004
Posts: 215
07-05-2006 18:54
Theres that error again, "wgl:wglGetPixelFormatAttribivARB..."
Every time I see that something different fixes the problem.
Once it was simply the wine version, another time I had to skip a SL version.
And sometimes I have no clue whatsoever how it gets fixed.
Anyone else want to tackle this one?
_____________________
"no, my alt is clean on crashing any sims"