Nothing will run with Wine 1.4 on Mint 13

Questions about Wine on Linux
Locked
swingsoneto
Level 1
Level 1
Posts: 5
Joined: Mon Jan 14, 2013 10:20 am

Nothing will run with Wine 1.4 on Mint 13

Post by swingsoneto »

I'm running Wine 1.4 (from official repositories) on Mint 13 64-bit. Nothing will run, and very few programs actually install correctly. In general, I'm trying to install and use 32-bit apps. I've actually had a few of them run just fine before in Wine (I don't remember which version) on Ubuntu 12.04, but now that I've switched distros, nothing is working correctly.

I'll be happy to post terminal output or anything else, but I wasn't sure where to begin. Could someone help me begin troubleshooting this? What other info do I need to give?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Nothing will run with Wine 1.4 on Mint 13

Post by dimesio »

When you switched distros, did you also reinstall your apps to a clean wineprefix? If not, do that. If you still have problems, pick one app that used to work for you in Ubuntu and post terminal output. http://wiki.winehq.org/FAQ#get_log
swingsoneto
Level 1
Level 1
Posts: 5
Joined: Mon Jan 14, 2013 10:20 am

Re: Nothing will run with Wine 1.4 on Mint 13

Post by swingsoneto »

dimesio wrote:When you switched distros, did you also reinstall your apps to a clean wineprefix? If not, do that. If you still have problems, pick one app that used to work for you in Ubuntu and post terminal output. http://wiki.winehq.org/FAQ#get_log
hi there, thank you for answering! long story short - yep, everything was installed to a clean wineprefix :) i've also removed the wineprefix directory, uninstalled Wine, and reinstalled via Synaptic, just in case i'd messed up any of the defaults.

one of the applications that used to work was Sculptris (alpha 6) - here is the terminal output:
err:module:load_builtin_dll failed to load .so lib for builtin L"OPENGL32.dll": libGL.so.1: wrong ELF class: ELFCLASS64
err:module:import_dll Loading library OPENGL32.dll (which is needed by L"C:\\Program Files (x86)\\Pixologic\\Sculptris Alpha 6\\Sculptris.exe") failed (error c000007a).
err:module:load_builtin_dll failed to load .so lib for builtin L"GLU32.dll": libGL.so.1: wrong ELF class: ELFCLASS64
err:module:import_dll Loading library GLU32.dll (which is needed by L"C:\\Program Files (x86)\\Pixologic\\Sculptris Alpha 6\\Sculptris.exe") failed (error c000007a).
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files (x86)\\Pixologic\\Sculptris Alpha 6\\Sculptris.exe" failed, status c0000135
i think this is a different error than some of the other ones i'm trying to run, so i'll go ahead and post an error that seems to be more common. this is from Allegorithmic's SubstanceUtilities:
fixme:msvcr90:MSVCRT_type_info_name_internal_method type_info_node parameter ignored
fixme:system:SetProcessDPIAware stub!
fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000002
wine: Unhandled page fault on read access to 0x3c801e68 at address 0x1e06a9d9 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x3c801e68 in 32-bit code (0x1e06a9d9).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:1e06a9d9 ESP:0032ea0c EBP:0032ea30 EFLAGS:00010202( R- -- I - - - )
EAX:1ffffffc EBX:00000004 ECX:1c801e68 EDX:ffffffff
ESI:00000000 EDI:00000004
Stack dump:
0x0032ea0c: 0032eadc 0171aa30 00000000 1e0bc6f3
0x0032ea1c: 00000004 ffffffff 00000000 00000004
0x0032ea2c: 00512a6c 01722654 1e010ebe 00000000
0x0032ea3c: 016b26e8 0018a36c 0053cbd6 0032eb00
0x0032ea4c: 00000003 00139e48 016b26e8 00000001
0x0032ea5c: 001a4170 1e011722 016b26e8 00511b18
Backtrace:
=>0 0x1e06a9d9 in python27 (+0x6a9d9) (0x0032ea30)
1 0x1e010ebe in python27 (+0x10ebd) (0x01722654)
2 0x0018a33c (0x001a5cb0)
0x1e06a9d9: testb $0x1,0x4(%eax,%ecx,1)
Modules:
Module Address Debug info Name (128 modules)
PE 340000- 34c000 Deferred _socket.pyd
PE 350000- 358000 Deferred _multiprocessing.pyd
PE 3d0000- 3ee000 Deferred pyside-python2.7
PE 400000- 4f4000 Deferred b2s
PE 720000- 7d6000 Deferred _ssl.pyd
PE 7e0000- 99e000 Deferred pyside.qtcore.pyd
PE 9a0000- 9be000 Deferred shiboken-python2.7
...
etc., etc...

i'm pretty sure i've gotten that
"wine: Unhandled page fault on read access to 0x3c801e68 at address 0x1e06a9d9 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x3c801e68 in 32-bit code (0x1e06a9d9)"
error on a few other apps i've tried running, but i went ahead and uninstalled them already.
swingsoneto
Level 1
Level 1
Posts: 5
Joined: Mon Jan 14, 2013 10:20 am

Re: Nothing will run with Wine 1.4 on Mint 13

Post by swingsoneto »

the error message for Sculptris looks like it's maybe just looking in the wrong directory for the libs (?). i have libGL.so.1 in both /usr/lib/ and /usr/lib32/. where do i check to see where it's looking for libs?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Nothing will run with Wine 1.4 on Mint 13

Post by dimesio »

It's trying to load the 64 bit libraries but needs the 32 bit ones.

Try installing to a pure 32 bit wineprefix. Create one with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(substitute the actual path to the wineprefix), then install Sculptris to that wineprefix. If it still doesn't work, post terminal output.

You should also upgrade to the latest development release; 1.4 is old.
swingsoneto
Level 1
Level 1
Posts: 5
Joined: Mon Jan 14, 2013 10:20 am

Re: Nothing will run with Wine 1.4 on Mint 13

Post by swingsoneto »

dimesio wrote:It's trying to load the 64 bit libraries but needs the 32 bit ones.

Try installing to a pure 32 bit wineprefix. Create one with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(substitute the actual path to the wineprefix), then install Sculptris to that wineprefix. If it still doesn't work, post terminal output.

You should also upgrade to the latest development release; 1.4 is old.
OK, I've upgraded to 1.5 via the ubuntu-wine ppa. I also created a new wineprefix, and installed two apps there. Upgrading to 1.5 took care of a few errors, but I was still getting the libGL error, so I did some more googling.

I found a few threads in various places talking about this very issue. The solution in one thread was to uninstall proprietary Nvidia drivers, and reinstall the Nvidia drivers from the repositories. I've installed the nvidia-current driver, and that seems to have done the trick (FOR NOW, anyway. I'm really hoping everything continues to work properly after a reboot...) Both apps are working properly as of now :)

Thank you for your help! I'll report back if the problem persists.
swingsoneto
Level 1
Level 1
Posts: 5
Joined: Mon Jan 14, 2013 10:20 am

Re: Nothing will run with Wine 1.4 on Mint 13

Post by swingsoneto »

Dang. It's always something.

A reboot and now I'm getting this:

Code: Select all

wine ./MaPZone2.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x32f71c,0x00000000), stub!
fixme:imm:ImmReleaseContext (0x20036, 0x1d0ed0): stub
wine: Unhandled exception 0xc0000417 in thread 25 at address 0x78b2af3e (thread 0025), starting debugger...
Process of pid=0008 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001f    0
	0000001e    0
	00000019    0
	00000017    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000018    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001d    0
	0000001b    0
00000021 explorer.exe
	00000022    0
winedbg: Internal crash at 0x7ed3be1a
Sculptris works just fine now. But this app was working great before I rebooted.
Locked