Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Performance issue of Radeon HD4xxx serie on windows xp x64  (Read 6971 times)

0 Members and 1 Guest are viewing this topic.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Performance issue of Radeon HD4xxx serie on windows xp x64
« on: January 01, 2015, 03:00:27 pm »
Some time ago I decided to switch some games from D3D to ddraw but those games synced to 50% in interlaced and no interlaced resolutions. I've started examing ddraw mode by doing some test and I soon realized that HD4350 was much slower on windows xp x64 when I compare to windows 7 x64 but not only with ddraw but also d3d.

Here are some results on overclocked G3258 to 4,2 GHz with 5 different tests with just one game Muchi Muchi Pork:
-bench 250 ; pure cpu check
-str 240 -nothrottle -nosleep -prescale 4 -resolution 1024x768@60 -switchres -mt ; d3d with multithreading
-str 240 -nothrottle -nosleep -prescale 4 -resolution 1024x768@60 -switchres ; the same but on single core
-str 240 -nothrottle -nosleep -resolution 640x480 -switchres -video ddraw -nohwstretch -mt ; ddraw with multithreading
-str 240 -nothrottle -nosleep -resolution 640x480 -switchres -video ddraw -nohwstretch ; the same but on single core

Here are some results:

Windows7x64; Windows XP x64
bench
333%       ; 331%
d3d mt
322%       ; 292% (XP is slightly slower here)
d3d without mt
287%       ; 179 % (difference is horrible)
ddraw mt
322%       ; 276% (faster than d3d without mt)
ddraw without mt
306          ; 182% (again horrible difference)

but that's not enough because with ddraw without mt and even without any drivers installed (yeah, just as standard VGA card) mmpork can speed up to 227% (very bizarre). Even more bizarre behaviour can be observed when I use higher resolution than 640x480 using ddraw without mt. With 640x480 is 182 % but with 1024x768 it's just 75%  !!!

What's going on here???
I've replaced HD4350 with GForce7200GS just to compare results on windows xp x64 and GForce7200GS works great, just like HD4350 on windows 7.
Problem is only on windows XP x64 using driver 9.3 (doesn't matter it's official or Calamity mod).
« Last Edit: January 11, 2015, 09:20:09 am by haynor666 »

lamouettasse

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 06, 2015, 11:36:58 am
  • I want to build my own arcade controls!
Re: Performance issue of HD4350 on windows xp x64
« Reply #1 on: January 02, 2015, 02:44:45 pm »
Hi Haynor, your 5 benchmarks seem quite logical to me win7 being more modern and robust it gets the lead in all the scenarios.

The fact that MAME runs good without driver is no surprise as the video card is only used for "post process", that is stretching , bilinear filtering, HLSL,etc... The video card is not used to process graphics, that is done by the CPU only. At 640x480 there is minimal driver functionality but enough power to stretch an output. Double the res and the vc starts struggling. It's logical.

Note that ddraw is the old "legacy" video system and d3d is the modern one. All in all d3d will always work better than ddraw because it uses your video card power so much better. 

The only thing that can be really extracted from your datas is that your Gforce vc works better in a marginal scenario but I can't see a performance issue. Those two are low end video cards but are quite sufficient to run MAME, the real working power in this scenario is your CPU. Your Geforce is slightly better than the other to run MAME and that's about it.

You should get a look at Aaron Giles's blog as it contains tons of technical datas regarding MAME video system, especialy one regarding the difference between ddraw and d3d, this might enlight you.
« Last Edit: January 02, 2015, 02:51:16 pm by lamouettasse »

lamouettasse

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:January 06, 2015, 11:36:58 am
  • I want to build my own arcade controls!
Re: Performance issue of HD4350 on windows xp x64
« Reply #2 on: January 02, 2015, 03:11:34 pm »
Hi Haynor, your 5 benchmarks seem quite logical to me win7 being more modern, robust and better at managing ressources it gets the lead in all the scenarios. The same for d3d versus ddraw.

The fact that MAME runs good without driver is no surprise as the video card is only used for "post process", that is stretching , bilinear filtering, HLSL,etc... The video card is not used to process graphics, that is done by the CPU only. At 640x480 there is minimal driver functionality but enough power to stretch an output. Double the res and the vc starts struggling. It's logical and not a performance issue. In fact that's the only test where you don't run games at more than the designed game speed.
 
The only thing that can be really extracted from your datas is that your Gforce vc works better in a particulary marginal scenario but I can't see any performance issue. Those two are low end video cards but are quite sufficient to run MAME, the real working power in this regard is your CPU.

You should get a look at Aaron Giles's blog as it contains tons of technical datas regarding MAME video system, especialy one regarding the difference between ddraw and d3d, this might enlight you.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #3 on: January 02, 2015, 03:30:32 pm »
Not at all, ddraw should be faster on XP not slower.

But there one funny thing. After many tests over and over again sometimes when I start computer ddraw works fast but sometimes not.

Here are results from recent benchmark:
ddraw mt 640x480: 299 % (that's a big difference)
ddraw 640x480: (also a big difference)

So problem appears to be random or disabling EIST, C states helped. ups it's not the case :/
« Last Edit: January 02, 2015, 03:33:08 pm by haynor666 »

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Performance issue of HD4350 on windows xp x64
« Reply #4 on: January 02, 2015, 04:40:49 pm »
Did you check in dxdiag if you have both DDraw & D3D hardware acceleration enabled? Sometimes it's disabled due to driver installation issues.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #5 on: January 03, 2015, 08:50:30 am »
It was enabled all time, even when I have those slowdowns. There is funny thing - when I have enabled ddraw hw accel white square move slowly on full screen but when I disable ddraw hw accel this square is moving fast on full screen.

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Performance issue of HD4350 on windows xp x64
« Reply #6 on: January 03, 2015, 09:59:43 am »
It was enabled all time, even when I have those slowdowns. There is funny thing - when I have enabled ddraw hw accel white square move slowly on full screen but when I disable ddraw hw accel this square is moving fast on full screen.

Don't quite get what you mean by white square. Anyway, how did you enable/disable DDraw/D3D hardware acceleration? That's not something that can be done by the user in Windows, as far as I know.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #7 on: January 03, 2015, 02:32:59 pm »
I'm talking about ddraw tests in dxdiag app :)

In Windows XP x64 it can be disabled in dxdiag but in windows 7 it cannot be.

Here is example that I've found on net

but on windows 7

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Performance issue of HD4350 on windows xp x64
« Reply #8 on: January 03, 2015, 05:20:50 pm »
In Windows XP x64 it can be disabled in dxdiag but in windows 7 it cannot be.

You're totally right, I forgot about that.

It looks like there's a problem with your system, at least with the video card.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #9 on: January 03, 2015, 05:38:04 pm »
Windows XP x64 and Asus 4350 (I have three cards and I tested two - one low profile and one normal) Because under Windows 7 performance is fine. But why sometimes when I power on PC everything is fine, then after reboot I have again slow ddraw ???

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Performance issue of HD4350 on windows xp x64
« Reply #10 on: January 03, 2015, 05:45:01 pm »
But why sometimes when I power on PC everything is fine, then after reboot I have again slow ddraw ???

That's the point. Software issues tend to be more deterministic. You won't be using any remote control software?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #11 on: January 03, 2015, 05:51:15 pm »
No, that a clean, fresh XP x64 install just like on second disk clean, fresh install of 7 x64.

I tried disabling power saving, EIST and many other options but still there is problem. Maybe Haswell compability with XP is not so good after all.
It's time to power on my previous arcade PC with E8500 overclocked and also Asus Radeon 4350.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #12 on: January 07, 2015, 06:17:02 am »
Today I've received Gigabyte HD4550 with exactly the same driver problems still remains. Updating to 13.1 didn't help as well.
« Last Edit: January 07, 2015, 06:50:21 am by haynor666 »

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Re: Performance issue of HD4350 on windows xp x64
« Reply #13 on: January 07, 2015, 04:32:17 pm »
Are you use the stock drivers?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #14 on: January 07, 2015, 04:36:21 pm »
I used both, stock and yours. No difference. I'll get X300 next week and see if it's make difference.

Calamity

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7463
  • Last login:July 01, 2025, 01:29:14 pm
  • Quote me with care
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of HD4350 on windows xp x64
« Reply #16 on: January 08, 2015, 05:33:18 am »
Yeah, somehow related but I have problem on XP x64 and he has problem on 7 x64 which is strange because on my 7 x64 ddraw works ok.

Some tests from my main PC with 4670k and GTX770.
-bench 240:
304%
-str 240 -nothrottle -nosleep -prescale 4 -resolution 1024x768 -switchres -mt:
291%
-str 240 -nothrottle -nosleep -prescale 4 -resolution 1024x768 -switchres:
291,6%
-str 240 -nothrottle -nosleep -resolution 1024x768 -switchres -video ddraw -nohwstretch -mt
294.87%
-str 240 -nothrottle -nosleep -resolution 1024x768 -switchres -video ddraw -nohwstretch
270,4%

Basically I get normal and expected mesurements only with NVidia cards. With Radeon strange things happens. Sometimes works fine, sometimes not.

EDIT. I've found option responsible for slowdowns -nohwstretch. With hardware stretching speeds are much better but without hardware stretching everything is slow again which is very strange.
« Last Edit: January 09, 2015, 09:05:11 am by haynor666 »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #17 on: January 11, 2015, 09:21:31 am »
Last test which proves that something is wrong with ATI HD4xxx serie (might be others) on windows xp x64.



First batch of tests was on G3258 oveclocked, second batch was on E8500 overclocked. Two totally different PCs.
The last thing to do is test X300 on my hardware.

On the side note - model2 emu sound problems are only on Xp x64, 7 x64 but on XP x32 everything is fine.
« Last Edit: January 11, 2015, 09:39:30 am by haynor666 »

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #18 on: January 23, 2015, 03:09:20 pm »
hey Haynor did u get a chance to test the X300 yet?
im starting to lose faith in xp64 after reading around the forum and noticing the various posts about unpredictable/odd results with xp64 ::)

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #19 on: January 23, 2015, 03:29:44 pm »
Yes, I tested X300 and problem is the same.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #20 on: January 23, 2015, 04:01:24 pm »
When you tried the X300 card, did you try both sets of x64 ATI drivers 6.5 and 9.3 ?
I'm curious if the issue is driver version related.

Is it possible that there's a windows update that's interfering with ATI drivers?
Can you try doing a clean XP x64 install with no updates?

You might also want to try starting with a clean factory XP x64 image, and use nLite to slipstream 5eraph's Windows XP x64 post-SP2 Update Pack
http://www.ryanvm.net/forum/viewtopic.php?t=6400
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #21 on: January 23, 2015, 04:11:52 pm »
My XP x64 image was clean/official - en_win_xp_pro_x64_with_sp2_vl_x13-41611. I didn't find any updates that could fix this or might be related to graphics cards.

Yes, I tried different drivers. Doesn't matter if are used official or Calamity.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #22 on: January 23, 2015, 04:21:43 pm »
Yes, I tried different drivers. Doesn't matter if are used official or Calamity.

I was specifically addressing the drivers you used to test the X300 card.

There are two versions of Calamity's driver for x64 that will work with the X300...  6.5 and 9.3

I was just curious if the issue exists in the older 6.5 driver as well.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #23 on: January 23, 2015, 04:30:25 pm »
Haynor i have windows xp64 installed here on my mame pc and currently an ati X300 card installed (i have a hd4550 also which i havnt got around to trying out yet).  my pc has an E8400 3ghz core 2 duo in it.. crt_emudriver 9.3
do u want me to do any speed tests at all?  .. let me know
« Last Edit: January 23, 2015, 04:34:46 pm by jadder »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #24 on: January 23, 2015, 04:55:58 pm »
I already tested mmpork on E8500 but feel free to test mmpork with commands mentioned couple posts above.

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #25 on: January 23, 2015, 05:56:29 pm »
ok i did some tests but unfortunately i couldnt use all of your command line parameters due to my current setup.
but here's the results anyway:
setup:
Groovymame x64
E8400 intel core 2 duo 3ghz
ati X300
crt_emudriver 9.3
WinXP 64bit
mame game  MMPORK - (vertical) - run in native res (320x240)
-nothrottle and -nosleep used in all tests

Results:

-bench 250       --- 199%

Direct 3D:
-str 240 -mt      --- 158%
-str 240            --- 98%

DDraw:
-str 240 -mt      --- 189%
-str 240            --- 146%

i would be interested to hear from anyone their thoughts on my test results :)

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #26 on: January 24, 2015, 07:49:01 am »
Using native or generally low resolutions will make difference smaller though still noticable, also you didn't use nohwstretch and that's also makes difference. The real test are on higher resolutions because mamy groovymame users are actually on 2560xX resolutions.

EDIT.

I've installed all updates on XP x64 but problem remain.
« Last Edit: January 24, 2015, 02:12:53 pm by haynor666 »

adder

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 640
  • Last login:February 04, 2021, 10:51:51 am
  • Location: Easy St.
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #27 on: July 19, 2015, 09:24:33 am »
Hey Haynor I am using an ATI 4550 now, and XP64
I can do some tests if you like? if so, let me know what tests you would like me to do

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1537
  • Last login:July 04, 2025, 11:02:43 am
  • retro maniac
Re: Performance issue of Radeon HD4xxx serie on windows xp x64
« Reply #28 on: July 19, 2015, 10:19:22 am »
adder, everything You need is in this topic but I think it does not makes sense. Nobody believes me and blaim my specific configurations. Problem was not resolved and I was forced to switch to XP x32. At least that way I still have decent configuration that can run 99 % of my games at 100% and Taito Type X/X2 games works as expected.
« Last Edit: December 27, 2015, 05:53:10 pm by haynor666 »