Good news, Mathew wilson notified that in 1.5.1 the graphical glitches are Gone on his Imac with AMD radeon graphicscard with the Game Tombraider Underground, but had instead 1fps with the game, stuttering. So hey I thought lets try the other same glitchy games for AMD Radeon on the Mac like Assasins Creed...I was stunned...here too it was fixed!! (This somehow confirms that its also a wine thing which caused it.) However the same 1fps was on this game too! So at first...amazing work!! Now only that 1fps thingy has te get fixed.
What do you guys need to look into it? The bugs I created were closed with reason, that wine couldnt do a thing about it....
File a new bug? let me know.
1.5.1 fixes graphical glitches on ATI machines on Mac!!!!!
-
- Level 2
- Posts: 41
- Joined: Wed Oct 20, 2010 5:36 am
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Re: 1.5.1 fixes graphical glitches on ATI machines on Mac!!!
No. Do not open any more graphic card driver related bugs. They will just get closed.paulthetall wrote:What do you guys need to look into it? The bugs I created were closed with reason, that wine couldnt do a thing about it....
I will ask which graphics card your iMac has in it (Apple -> About this Mac. Press More Information button -> Graphics/Displays). I do have both an ATI video and nVidia video system here.
James
-
- Level 2
- Posts: 41
- Joined: Wed Oct 20, 2010 5:36 am
-
- Level 2
- Posts: 41
- Joined: Wed Oct 20, 2010 5:36 am
Hi Doh,
This conversation explains it a bit. Had a conversation with stefan this afternoon.
[15:10] <stefand> I believe we removed a hack for OSX in 1.5.1
[15:10] <paulthetall> what kinda extension i should take for the debugrun?
[15:11] <paulthetall> okeee...
[15:11] <paulthetall> intersting
[15:11] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30168
[15:12] <stefand> we thought that hack was needed on dx9 cards only
[15:12] <stefand> but it turns out the drivers are broken
[15:12] <stefand> on dx9 cards OSX blatantly lies about the hardware capabilities
[15:12] <stefand> it claims it supports 4096 shader constants when the HW does only 256
[15:13] <stefand> so we hardwired them to 256 on ati macs
[15:13] <stefand> hardcoded
[15:13] <paulthetall> ok
[15:13] <stefand> unfortunately the driver needs some uniforms on its own, so we can't even use the 256. On OSX we limit it to 240. the game is supposed to have all 256 available
[15:13] <stefand> so many new games don't work
[15:13] <paulthetall> now what to fix the 1fps issue. Its with all the games, but graphics are fine now.
[15:14] <stefand> wait, it doesn't stop there
[15:14] <stefand> dx10 cards are supposed to support 4096 constants(aka uniforms), so henri removed the hack
[15:14] <stefand> the hack was obviously broken for dx10 cards
[15:14] <stefand> that fixed the graphics
[15:15] <stefand> unfortunately, dx10 cards on macos are still limited to 256 constants
[15:15] <stefand> that's a driver bug, ***BLAME APPLE FOR IT***
[15:15] <stefand> works fine on linux and windows, fwiw
[15:15] <stefand> so we use like 260 constants(256 game, 1 wine uniform, and whatever the driver feels like doing)
[15:16] <stefand> and osx decides to fall back to software -> slow
[15:16] <stefand> so you have to bug apple to support more than 256 uniforms
[15:16] <stefand> without the apple side fixed you can choose between the broken graphics or the slowness. can't fix both at the same time
[15:17] <paulthetall> I will copy and paste this conversation and sent it to Chris Bentley
[15:17] <stefand> well, refer him to the wine bug
[15:17] <stefand> and I'll try to look for the follow-up bug
[15:17] <paulthetall> ok thanks man
[15:17] <stefand> I don't think he'll like a crappy chat log
[15:18] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30232
[15:18] <paulthetall> I know, i have a earlier mail conversation with him
[15:18] <stefand> I guess I should contact him as well
[15:18] <stefand> but I am mostly busy at school, not really doing wine work atm
[15:19] <paulthetall> shall i trow him an email or you will?
[15:20] <stefand> I'll talk to henri
[15:20] <stefand> maybe he already sent one
[15:20] <paulthetall> ok
[15:20] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30232#c14
[15:20] <stefand> this is a pretty good summary of why things are slow
This conversation explains it a bit. Had a conversation with stefan this afternoon.
[15:10] <stefand> I believe we removed a hack for OSX in 1.5.1
[15:10] <paulthetall> what kinda extension i should take for the debugrun?
[15:11] <paulthetall> okeee...
[15:11] <paulthetall> intersting
[15:11] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30168
[15:12] <stefand> we thought that hack was needed on dx9 cards only
[15:12] <stefand> but it turns out the drivers are broken
[15:12] <stefand> on dx9 cards OSX blatantly lies about the hardware capabilities
[15:12] <stefand> it claims it supports 4096 shader constants when the HW does only 256
[15:13] <stefand> so we hardwired them to 256 on ati macs
[15:13] <stefand> hardcoded
[15:13] <paulthetall> ok
[15:13] <stefand> unfortunately the driver needs some uniforms on its own, so we can't even use the 256. On OSX we limit it to 240. the game is supposed to have all 256 available
[15:13] <stefand> so many new games don't work
[15:13] <paulthetall> now what to fix the 1fps issue. Its with all the games, but graphics are fine now.
[15:14] <stefand> wait, it doesn't stop there
[15:14] <stefand> dx10 cards are supposed to support 4096 constants(aka uniforms), so henri removed the hack
[15:14] <stefand> the hack was obviously broken for dx10 cards
[15:14] <stefand> that fixed the graphics
[15:15] <stefand> unfortunately, dx10 cards on macos are still limited to 256 constants
[15:15] <stefand> that's a driver bug, ***BLAME APPLE FOR IT***
[15:15] <stefand> works fine on linux and windows, fwiw
[15:15] <stefand> so we use like 260 constants(256 game, 1 wine uniform, and whatever the driver feels like doing)
[15:16] <stefand> and osx decides to fall back to software -> slow
[15:16] <stefand> so you have to bug apple to support more than 256 uniforms
[15:16] <stefand> without the apple side fixed you can choose between the broken graphics or the slowness. can't fix both at the same time
[15:17] <paulthetall> I will copy and paste this conversation and sent it to Chris Bentley
[15:17] <stefand> well, refer him to the wine bug
[15:17] <stefand> and I'll try to look for the follow-up bug
[15:17] <paulthetall> ok thanks man
[15:17] <stefand> I don't think he'll like a crappy chat log
[15:18] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30232
[15:18] <paulthetall> I know, i have a earlier mail conversation with him
[15:18] <stefand> I guess I should contact him as well
[15:18] <stefand> but I am mostly busy at school, not really doing wine work atm
[15:19] <paulthetall> shall i trow him an email or you will?
[15:20] <stefand> I'll talk to henri
[15:20] <stefand> maybe he already sent one
[15:20] <paulthetall> ok
[15:20] <stefand> http://bugs.winehq.org/show_bug.cgi?id=30232#c14
[15:20] <stefand> this is a pretty good summary of why things are slow
thats bad news... a fix from Apple is not only unlikely, but it would only be on the latest OS, they just don't do graphics updates on older OSes.
It seems like it wouldn't be that hard to code in Wine to use the old way hack if its OSX and ATI. Sure the 1.5.1 way fixes issues, but when your frame rate is running 5% to 10% of what it used to, its still unplayable.
It seems like it wouldn't be that hard to code in Wine to use the old way hack if its OSX and ATI. Sure the 1.5.1 way fixes issues, but when your frame rate is running 5% to 10% of what it used to, its still unplayable.