Wine & ATI

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
HailandKill
Newbie
Newbie
Posts: 2
Joined: Thu Aug 21, 2008 6:30 am

Wine & ATI

Post by HailandKill »

I'm suing an Aspire 5050 laptop with and AMD Turion64 and Radeon X1100

Running Kubuntu Hardy, Wine-1.0, latest version of Xorg

Code: Select all

:~$  apt-cache showpkg xorg-driver-fglrx
Package: xorg-driver-fglrx
Versions:
1:7.1.0-8-3+2.6.24.13-19.45
Running with the fglrx drivers generally doesn't seem to bode well... video playback is slow and any attempt to run wine with d3d crashes. For example, with Diablo II

Code: Select all

:~$ wine Diablo\ II.exe
fixme:advapi:SetSecurityInfo stub
fixme:win:EnumDisplayDevi!
fixme:d3d:test_pbo_functionality >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from Lo @ directx.c / 3554
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
err:ddraw:IDirectDrawSurfaceImpl_Flip Can't find a flip target
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
wine: Unhandled page fault on read access to 0x041c0048 at address 0x6f9b7859 (thread 0025), starting debugger...
Can't attach process 001c: error 5
glxgears works, and glxinfo reports direct rendering working. I have read a bug about fglrx but I can't find the bugzilla page anymore to see if there is a fix. Getting anywhere with this might be a no go, the only reason I'm mentioning fglrx is I'm wondering if it's meant to give me better performance beacause....

Using the open source ati drivers from the guide https://help.ubuntu.com/community/RadeonDriver

libgl1-mesa-glx
libgl1-mesa-dri

Code: Select all

:~$ apt-cache showpkg libgl1-mesa-glx
Package: libgl1-mesa-glx
Versions:
7.0.3-1ubuntu3~ppa1

Code: Select all

:~$ apt-cache showpkg libgl1-mesa-dri
Package: libgl1-mesa-dri
Versions:
7.0.3-1ubuntu3~ppa1
enabling dri - https://wiki.ubuntu.com/X/RadeonXpress

This on the whole has better performance. Videos work brilliant and wine doesn't crash, hazaa!

But, should Diablo II have unplayable framerates on this laptop when using D3D?

So, as summary I have two questions:

1) fglrx - seeing the problems I'm coming across is it actually worth trying to get it to work for a performance increase over the open source drivers. If so do I have to downgrade some software versions?

2) If I'm going to use the open source drivers are there any general performance tips for wine, I can only find tips on how to make WoW run better....

Thanks in advance.

P.S. I should probably mention Diablo II runs wonderfully rusing DirectDraw.
Daniel Kasak

Wine & ATI

Post by Daniel Kasak »

On Thu, 2008-08-21 at 07:01 -0500, HailandKill wrote:

enabling dri - https://wiki.ubuntu.com/X/RadeonXpress

This on the whole has better performance. Videos work brilliant and wine doesn't crash, hazaa!

But, should Diablo II have unplayable framerates on this laptop when using D3D?

So, as summary I have two questions:

1) fglrx - seeing the problems I'm coming across is it actually worth trying to get it to work for a performance increase over the open source drivers. If so do I have to downgrade some software versions?

2) If I'm going to use the open source drivers are there any general performance tips for wine, I can only find tips on how to make WoW run better....
I'm having trouble finding time to play with wine & games recently, and
also I haven't bothered with fglrx for over a year, but I can tell you
that if you want to use the open-source drivers, you should closely
track the latest driver developments. I would personally build
xf86-video-ati and mesa from the latest git sources. Alternatively you
can try to find someone's binary packages if they update them recently.
In particular, there is some discussion in the mesa list:
Also, if I can finish my work in the next few days, we'll have
GL_EXT_fog_coord in the r300 driver, which means we can bump its
GL_VERSION to 1.4, which is a big step in Wine compatibility.
So you'd want to watch for when this lands.

I can't help you with uninstalling Ubuntu's ATI drivers and building
your own. I use Gentoo and I don't want to help you break your Ubuntu.

As for performance, there are some options that you can set with driconf
that can improve performance, but you'll have to search around somewhat
to find exactly what option for what app. You can also use sysprof to
profile your system and hassle wine / mesa devs with pretty output
graphs :) This approach actually did wonders for me with an integrated
Intel video chip on my old PC - Intel devs did a simple patch that
doubled 2D performance. Cool.

Lastly, if you try to run Cedega or Crossover ( but not native wine ),
keep in mind that you'll need 32-bit binaries of your drivers, otherwise
you'll get software rendering. fglrx includes 32-bit binaries, but I
haven't yet figured out how to build 32-bit binaries on my
( non-multilib ) 64-bit Gentoo system.

Dan


Daniel Kasak / DNA
Application Developer
T: +61.2.8968.4056 / F:
+61.2.9904.5055
[email protected]
24/7 Real Media
15-19 Parraween Street
Cremorne, NSW 2090
Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
Locked