1.5.1 fixes graphical glitches on ATI machines on Mac!!!!!

Questions about Wine on macOS.
Locked
paulthetall
Level 2
Level 2
Posts: 41
Joined: Wed Oct 20, 2010 5:36 am

1.5.1 fixes graphical glitches on ATI machines on Mac!!!!!

Post by paulthetall »

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.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Re: 1.5.1 fixes graphical glitches on ATI machines on Mac!!!

Post by jjmckenzie »

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....
No. Do not open any more graphic card driver related bugs. They will just get closed.
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
paulthetall
Level 2
Level 2
Posts: 41
Joined: Wed Oct 20, 2010 5:36 am

Post by paulthetall »

It is a ATI/AMD related issue. Nvidia games don't suffer under the bug.
I have an AMD Radeon 6770M.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

I've noticed this too...

my ATI (6750m 1gb) runs like it always did on 1.5.0, but on 1.5.1 its HORRID on everything... very very low frame rates, and its not just on games that used to have problems, its on games that used to work perfectly as well.
paulthetall
Level 2
Level 2
Posts: 41
Joined: Wed Oct 20, 2010 5:36 am

Post by paulthetall »

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
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

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.
Locked