iequalshane / MiSTerCast

A general-purpose tool for streaming your Windows PC screen to your MiSTer through the Groovy_MiSTer core.
102 stars 1 forks source link

MiSTerCast with wine (work in progress) #4

Open Saroumane opened 7 months ago

Saroumane commented 7 months ago

Hello, as Groovy_MiSTer (mame) is working perfectly with wine, I have big hopes for MiSTerCast running on linux !

I used winetricks to install https://aka.ms/vs/17/release/vc_redist.x86.exe in my prefix, but when I start $ wine MiSTerCast.exe I only get a black window, without UI : image

Do you have any idea of others DLL / packages I need to install ?

musha68k commented 7 months ago

Steam Deck + MiSTer is the Linux dream team already. We need to make this work, yes! 🤘😎🔥

Saroumane commented 6 months ago

Some progress, using Lutris (default provided runner wine-ge-8-25 or Proton Next) Now I see the GUI !

image

But I have this error at start, or when pressing "Start Stream" :

Dxgi Output1 -> DuplicateOutput failed
Failed to initialize video capture 

I tried different wine runners / flags without improvement. Meanwhile, Groovy_MiSTer (mame) still working with wine (system wine 9.3, don't even need Lutris) Alas, can't stream Steam games with it...

Edit : log

Start monitoring process.
wineserver: using server-side synchronization.
wine: Using setpriority to control niceness in the [-10,10] range
008c:err:hid:udev_bus_init UDEV monitor creation failed
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0124:fixme:thread:NtSetInformationThread Can't set other thread's platform description
0024:fixme:msg:ChangeWindowMessageFilter c039 00000001
0024:fixme:dwmapi:DwmAttachMilContent (0001005E) stub
0128:fixme:gdi:GdiEntry13 stub
0128:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (00000001): monitor setting ignored
0128:fixme:d3d:wined3d_check_device_format_conversion output 0x7bd00b0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0024:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032C948, 005A0FF0, 0032C94C, 0032C940
0024:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032C948, 005A0FF0, 0032C94C, 0032C940
0024:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032C948, 005A0FF0, 0032C94C, 0032C940
0024:fixme:dxgi:dxgi_output_DuplicateOutput iface 0x8d6f430, device 0x6c32b18, output_duplication 0xa1ab508 stub!
0118:fixme:oleacc:find_class_data unhandled window class: L"Static"
0024:fixme:wtsapi:WTSQuerySessionInformationW Unimplemented class 8
0024:fixme:win:RegisterPowerSettingNotification (00010076,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 00020072 0x00000000
0024:fixme:msg:ChangeWindowMessageFilterEx 00020072 c033 1 0032E9CC
0024:fixme:msg:ChangeWindowMessageFilterEx 00020072 111 1 0032E9CC
0128:fixme:d3d:wined3d_check_device_format_conversion output 0x7bd00b0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0128:fixme:seh:WerRegisterMemoryBlock (07A5D934 6144) stub
0128:fixme:seh:WerRegisterMemoryBlock (07A5B340 4) stub
0024:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (08F95BB0 0 8 08F968B0): stub
0080:fixme:imm:ImeSetActiveContext (0x4803d0, 0): stub
0080:fixme:imm:ImmReleaseContext (0000000000010020, 00000000004803D0): stub
0024:fixme:imm:ImeSetActiveContext (0x672430, 1): stub
0024:fixme:imm:ImmReleaseContext (00020072, 00672430): stub
0024:fixme:uiautomation:UiaReturnRawElementProvider Unsupported object id -4
0024:fixme:uiautomation:UiaReturnRawElementProvider Unsupported object id -12