Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05236 Graphics Major Always Jul 24, 2013, 04:25 Dec 16, 2013, 16:09
Tester abelenki View Status Public Platform MAME (Official Binary)
Assigned To Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.149u1 Fixed in Version 0.152 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 05236: multiple monitor support doesn't work with d3d
Description multiple monitor support doesn't work with these options:

video d3d
numscreens 2

with these options, i get only one screen, sound shuttering and many d3d errors on exit.

when using these options, everything works fine:

video gdi
numscreens 2

or:

video ddraw
numscreens 2
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
has duplicate 05319Closed  bzone: D3D error and crash 
Notes
6
User avatar
No.09683
Firewave
Senior Tester
Jul 29, 2013, 14:41
Works fine with a laptop with an additional display connected. I get a lot of memory leaks when using -numscreens 2 with full screen - the amount of leaks differs every time. I also get a lot of refreshes when exiting MAME with multiple screens and once even the gfx driver died.

--- memory leak warning ---
#008027, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#005965, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008033, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007975, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007115, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008029, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008039, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007527, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#002669, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008045, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008005, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007949, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#005971, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#005847, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007955, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007119, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007981, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007531, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008035, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007961, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007953, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007959, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007965, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007967, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007957, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008011, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007971, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007977, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007973, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007983, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007989, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007979, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#005823, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007987, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007529, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007995, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008001, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008041, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007985, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008007, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008013, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#005967, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007963, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008019, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007991, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008017, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008025, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008031, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007997, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007117, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008037, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#007993, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#007951, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008003, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008043, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008047, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008049, nofree 156 bytes (src/osd/windows/drawd3d.c:964)
#008009, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007969, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008023, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#002665, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#008015, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#002667, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
#008021, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#005817, nofree 352 bytes (src/osd/windows/drawd3d.c:1189)
#007999, nofree 1352 bytes (src/osd/windows/d3dhlsl.c:754)
a total of 40920 bytes were not freed
User avatar
No.09691
NekoEd
Senior Tester
Jul 30, 2013, 23:50
This one may need more input. Acknowledging.
User avatar
No.09868
abelenki
Tester
Oct 5, 2013, 00:27
the problem remains in 0.150.
User avatar
No.10070
abelenki
Tester
Dec 15, 2013, 06:11
and 0.151.

these options work:

video gdi
numscreens 3

these don't:

video d3d
numscreens 3
User avatar
No.10073
abelenki
Tester
Dec 16, 2013, 04:40
maybe this can help:

http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=318771&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
User avatar
No.10074
hap
Developer
Dec 16, 2013, 16:09
yes