You are not logged in.

#1 2008-12-11 16:04:21

ammon
Member
Registered: 2008-12-11
Posts: 413

[Solved] Play on linux, wine problem

I cant make wine to work on Arch linux. I user Ubuntu before and it was working fine. I really like arch but i found myself fixing the problems all the time. It is annoying. Please help me fix this:
I use wine 1.1.7 + winetricks 20081201-1 and playonlinux 3.2.1-1. I have installed gecko, directx9c and copied some dll-s from ubuntu instalation. But i cant make Call Of Duty 2 to work. It just starts, and then crashes... Any ideas?

This is what it says:

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
err:module:load_builtin_dll failed to load .so lib for builtin L"opengl32.dll": libXdamage.so.1: wrong ELF class: ELFCLASS64
err:d3d:InitAdapters Can't load opengl32.dll!
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
wine: Unhandled page fault on read access to 0x00000014 at address 0x42f434 (thread 0009), starting debugger...
err:seh:setup_exception_record stack overflow 240 bytes in thread 0018 eip 7ef94a51 esp 00241240 stack 0x240000-0x241000-0x340000

I copied opengl32.dll from ubuntu installation myself. And it is there, in system32 on fake windows instalation
Why wine cant find it?

Last edited by ammon (2008-12-19 13:33:29)

Offline

#2 2008-12-11 21:00:17

Statix
Member
From: Hangzhou, China
Registered: 2008-02-16
Posts: 240

Re: [Solved] Play on linux, wine problem

There's something about libxdamage there. Do you have libxdamage installed in pacman?


Also, Call of Duty 2? Wine's appdb says it works natively.
Does it work from a new prefix?
Try:
WINEPREFIX=~/.winetest wine cod2.exe

Obviously replace cod2.exe with the proper filename.


Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.

Offline

#3 2008-12-11 22:30:44

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [Solved] Play on linux, wine problem

You screwed your .wine with all those dlls, that you do not need.
1) Don't install DirectX under wine - It won't add aditional d3d support, only dlls, which you can add manually
2) Obviously you're running on 64 bit system and trying to install the 32bit wine... That's impossible... - get bin32-wine from aur...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#4 2008-12-11 22:35:37

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: [Solved] Play on linux, wine problem

I installed directx after i realised that it wont work normally. And wine is 32, it must be.

Offline

#5 2008-12-12 07:14:38

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [Solved] Play on linux, wine problem

Yes, wine must be 32bit, but the error you're getting is wrong ELF class. This means you're trying to run a 32bit app in 64 bit environment WITHOUT (all the necessary) compatibility libs.
pacman -S lib32-libxdamage


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#6 2008-12-12 14:35:00

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: [Solved] Play on linux, wine problem

I have removed both wine and playonlinux, and recompiled it all over from aur, latest versions. I have instaled libxdamage and lib32-libxdamage
And still...

wine CoD2SP_s.exe
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
err:d3d:WineDirect3DCreate Direct3D9 is not available without opengl
wine: Unhandled page fault on read access to 0x00000014 at address 0x42f434 (thread 0009), starting debugger...
err:seh:setup_exception_record stack overflow 240 bytes in thread 0018 eip 7ef920c1 esp 00241240 stack 0x240000-0x241000-0x340000

Is trouble with OpenGL?
Should I install libgl-dri? It conflicts with nvidia-utils package. That means nvidia-utils contains OpengGL libs, right?

Offline

#7 2008-12-12 17:55:56

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [Solved] Play on linux, wine problem


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#8 2008-12-13 01:36:55

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: [Solved] Play on linux, wine problem

Thanks, it works now. smile

Offline

Board footer

Powered by FluxBB