English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 November 2022, 08:39   #1
MattD
Registered User
 
Join Date: Nov 2022
Location: Sweden
Posts: 6
Direct3D 11 and two graphics cards

Hello,

First post, long time WinUAE user. It just keeps bringing joy to my life.

I have two displays. Display 1 is an LCD connected to Intel UHD Graphics 630. Display 2 is a CRT connected to an AMD Radeon 200 Series. I use the LCD for RTG and the CRT for native graphics.

This works fine when using Direct3D 9. But when I select Direct3D 11 the native graphics is shown on display 1 instead of on display 2.

I have attached a couple of log files, one for d3d11 and one for d3d9. Also a couple of screenshots from dxdiag, just in case. All WinUAE settings default except for the display on the AMD Radeon being selected for native graphics, fullscreen. And for testing purposes it just boots to the Kickstart 1.3 hand.

Windows 10. WinUAE 4.9.1 (also tried 4.9.2 beta 5).
Attached Thumbnails
Click image for larger version

Name:	dxdiag_display1.png
Views:	71
Size:	29.3 KB
ID:	77035   Click image for larger version

Name:	dxdiag_display2.png
Views:	60
Size:	30.8 KB
ID:	77036  
Attached Files
File Type: txt winuaelog_d3d11.txt (9.0 KB, 37 views)
File Type: txt winuaelog_d3d9.txt (5.6 KB, 32 views)
MattD is offline  
Old 10 November 2022, 20:26   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Logs look fine.

Are you sure correct display is selected in display panel? There is also no guarantee displays have same ordering in D3D9 vs D3D11 modes.
Toni Wilen is offline  
Old 10 November 2022, 23:05   #3
MattD
Registered User
 
Join Date: Nov 2022
Location: Sweden
Posts: 6
Thanks for your reply, Toni.

I have double checked that the correct display is selected in the display panel.

In fact, just after clicking start the correct display goes black for a second, but then the output is moved to the other display (in a window that has the same size as the full-screen resolution specified for the other display).

When looking in the log file I notice two "D3D11 Device" entries, first for the AMD Radeon (the correct display), but then further down for the Intel UHD Graphics. Could the first entry be when the correct display goes black for a brief moment and the second entry be when the output appears on the other display?

Thanks again.
MattD is offline  
Old 10 November 2022, 23:25   #4
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
Does it happen in full-window mode?
Also I'd connect both monitors to Radeon and disable Intel UHD in BIOS, not much point using it...
rutra80 is offline  
Old 11 November 2022, 15:18   #5
MattD
Registered User
 
Join Date: Nov 2022
Location: Sweden
Posts: 6
Hi rutra80,

Good question. No, full-window mode does not have the same problem.

I have an elegant setup, If I may say so myself. A single USB-C cable from the computer gives me everything (lcd monitor, keyboard, mouse, speakers, lan) and when I want to connect a Commodore 1084 for beautiful 1:1 native chipset display I use analogue out from a Radeon R7. And it works perfectly with Direct3D 9.

Btw, I was browsing through WinUAE version history and noticed this for 4.0.0: "Direct3D11 fullscreen mode didn’t open if monitor was connected to non-default GPU." Could that be similar to the issue here?
MattD is offline  
Old 13 November 2022, 15:54   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
SetFullscreenState(TRUE) failed 887A0001

887A0001 means invalid call (usually means bad parameters). Driver probably not accepting "something". Possibly some later Windows version introduced "swap effect" parameters (how buffers are swapped)

You can try changing buffering to double buffer but it probably won't help.

Quote:
AMD Radeon R7 200 Series (CRT Emudriver)
Is that some official driver? Sounds suspicious
Toni Wilen is offline  
Old 13 November 2022, 18:04   #7
MattD
Registered User
 
Join Date: Nov 2022
Location: Sweden
Posts: 6
Hi Toni,

No, changing buffer didn't make a difference.

Yes, you got me. CRT Emudriver is a patched AMD driver that (re-)enables the ability to output 15kHz modes. It is widely used in the retro arcade business. But no, it's not official and I realise if I'm on my own here.

I will continue to try different resolutions, refresh rates, etc. and report back if I get it to work with Direct3D 11. Otherwise I just stay with Direct3D 9, which serves me pretty well.

Thanks for your time.
MattD is offline  
Old 19 November 2022, 22:49   #8
MattD
Registered User
 
Join Date: Nov 2022
Location: Sweden
Posts: 6
Follow up. I can get Direct3D 11 fullscreen to work on my CRT by setting it to the "main display" in Windows' display settings. As long as my LCD is the main display there's a "SetFullscreenState(TRUE) failed 887A0001" when WinUAE tries to open in fullscreen mode on the CRT.
MattD is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga Graphics Cards SuperPlay support.WinUAE 9 02 January 2017 20:19
Graphics Cards - What Are They Good For? Fingerlickin_B support.Hardware 86 08 October 2010 12:13
Graphics cards brett71 support.Hardware 41 27 July 2010 17:23
Disabling Graphics Cards CU_AMiGA support.Hardware 22 25 February 2007 21:24
Amiga Graphics cards DDNI support.Hardware 15 29 September 2006 20:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:15.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13175 seconds with 16 queries