No Panadapter Display after 21k9 Update

edtyler
Posts: 9
Joined: Sun Mar 13, 2022 5:39 am

No Panadapter Display after 21k9 Update

Postby edtyler » Fri Mar 25, 2022 7:06 pm

Hi,

Thanks for all of the hard work on Thetis by everyone, especially MW0LGE.

The waterfall display on the initial version of 2.8.11 worked fine with my new 7000DLE MKII, although it issued a warning about DirectX problems and noted thatit was going to use GDI+.

However, when I loaded the update and restarted with CTRL held down, the waterfall was all black. No directx warning was issued at startup.

Is there any way to force the use of GDI+ with 21k9? I am using a virtualbox VM host run Thetis and it appears that DirectX support is not working well with Virtualbox 6.1 on a Linux host.

One other question - is there a way to display the temprature of the PA heatsink?

Any help will be greatly appreciated.

Dale (W6EDT)
Dale (W6EDT)
User avatar
ramdor
Posts: 1468
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: No Panadapter Display after 21k9 Update

Postby ramdor » Fri Mar 25, 2022 7:27 pm

gdi+ was totally removed in 21g on 20th Aug 2021. If/when I get back to working on Thetis then there may be a need to add adaptor selection support, where Microsoft Basic Render Driver can be selected. In the mean time, run dxdiag.exe and attach screen shots of info related to primary display. Also, any screen shots of Thetis error messages and a copy of ErrorLog.txt.

Richie.
User avatar
w-u-2-o
Posts: 5578
Joined: Fri Mar 10, 2017 1:47 pm

Re: No Panadapter Display after 21k9 Update

Postby w-u-2-o » Fri Mar 25, 2022 7:55 pm

AFAIK, there is no way to display internal temperatures.
edtyler
Posts: 9
Joined: Sun Mar 13, 2022 5:39 am

Re: No Panadapter Display after 21k9 Update

Postby edtyler » Mon Mar 28, 2022 2:24 am

Hi,

Thetis displays no errors - just a blank waterfall.

Thanks for any help!
Dale (W6EDT)

As requested:

ErrorLog.txt: (last entry)

Entry : 4:57:25 PM Friday, March 25, 2022
HRESULT: [0x8899000C], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_RECREATE_TARGET/RecreateTarget], Message: Unknown
---------stacktrace------------
at SharpDX.Result.CheckError()
at SharpDX.Direct2D1.RenderTarget.CreateBitmap(Size2 size, IntPtr srcData, Int32 pitch, BitmapProperties bitmapProperties, Bitmap bitmap)
at SharpDX.Direct2D1.Bitmap..ctor(RenderTarget renderTarget, Size2 size, DataPointer dataPointer, Int32 pitch, BitmapProperties bitmapProperties)
at SharpDX.Direct2D1.Bitmap..ctor(RenderTarget renderTarget, Size2 size, BitmapProperties bitmapProperties)
at Thetis.Display.ResetWaterfallBmp()
at Thetis.Display.set_CurrentDisplayMode(DisplayMode value)
at Thetis.Console.comboDisplayMode_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
-------------------------------

First Page of dxdig (64 bit) output. The screen display shows
DirectDraw Acceleration : Enabled
Direct3d Acceleration : Enabled
AGP Texture Acceleration: Not Available

============
------------------
System Information
------------------
Time of this report: 3/27/2022, 19:16:32
Machine name: WIN7RADIO
Operating System: Windows 7 Professional 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_ldr_escrow.200102-1707)
Language: English (Regional Setting: English)
System Manufacturer: innotek GmbH
System Model: VirtualBox
BIOS: Default System BIOS
Processor: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz (4 CPUs), ~3.4GHz
Memory: 12880MB RAM
Available OS Memory: 12880MB RAM
Page File: 1310MB used, 24446MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 11
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
DxDiag Version: 6.01.7601.17514 64bit Unicode

------------
DxDiag Notes
------------
Display Tab 1: No problems found.
Sound Tab 1: No problems found.
Sound Tab 2: No problems found.
Sound Tab 3: No problems found.
Sound Tab 4: No problems found.
Sound Tab 5: No problems found.
Sound Tab 6: No problems found.
Sound Tab 7: No problems found.
Sound Tab 8: No problems found.
Sound Tab 9: No problems found.
Sound Tab 10: No problems found.
Sound Tab 11: No problems found.
Sound Tab 12: No problems found.
Sound Tab 13: No problems found.
Sound Tab 14: No problems found.
Sound Tab 15: No problems found.
Sound Tab 16: No problems found.
Input Tab: No problems found.

--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (retail)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)

---------------
Display Devices
---------------
Card name: VirtualBox Graphics Adapter (WDDM)
Manufacturer: Oracle Corporation
Chip type:
DAC type:
Device Key: Enum\PCI\VEN_80EE&DEV_BEEF&SUBSYS_040515AD&REV_00
Display Memory: 383 MB
Dedicated Memory: 383 MB
Shared Memory: 0 MB
Current Mode: 1600 x 1200 (32 bit) (60Hz)
Monitor Name: Generic Non-PnP Monitor
Monitor Model: unknown
Monitor Id:
Native Mode: unknown
Output Type: HD15
Driver Name: VBoxDispD3D.dll
Driver File Version: 6.01.0032.49290 (English)
Driver Version: 6.1.32.49290
DDI Version: 9Ex
Driver Model: WDDM 1.0
Driver Attributes: Final Retail
Driver Date/Size: 1/13/2022 12:14:34, 2374352 bytes
WHQL Logo'd: n/a
WHQL Date Stamp: n/a
Device Identifier: {D7B78E0E-FDAF-11CF-97B6-2524AEC2CB35}
Vendor ID: 0x80EE
Device ID: 0xBEEF
SubSys ID: 0x040515AD
Revision ID: 0x0000
Driver Strong Name: oem17.inf:Model.NTamd64.6.0:VBoxVideo:6.1.32.49290:pci\ven_80ee&dev_beef
Rank Of Driver: 00F82001
Video Accel:
Deinterlace Caps: {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,X8R8G8B8) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,X8R8G8B8) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
{335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
D3D9 Overlay: Not Supported
DXVA-HD: Not Supported
DDraw Status: Enabled
D3D Status: Enabled
AGP Status: Not Available
Dale (W6EDT)
User avatar
ramdor
Posts: 1468
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: No Panadapter Display after 21k9 Update

Postby ramdor » Mon Mar 28, 2022 11:02 am

I have zero experience of VirtualBox, and I am not entirely sure if the software VirtualBox video driver supports enough features. However, after a quick read around, do you have Guest Additions added, and 3d + 2d acceleration enabled? I expect this will need a hardware gpu, quote from the manual : 'Technically, Oracle VM VirtualBox implements this by exposing video overlay DirectDraw capabilities in the Guest Additions video driver. The driver sends all overlay commands to the host through a special communication tunnel implemented by Oracle VM VirtualBox.'

https://www.virtualbox.org/manual/ch04. ... tadd-video

and the VirtualBox manual mentions the following, which does not instil confidence

- Because 3D support is still experimental at this time
- Because 2D support is still experimental at this time

Richie.
edtyler
Posts: 9
Joined: Sun Mar 13, 2022 5:39 am

Re: No Panadapter Display after 21k9 Update

Postby edtyler » Wed Mar 30, 2022 2:38 am

Hi Richie,

Thanks for your reply. Yes, Guest Additions are enabled, using Safe Mode and the 3D extensions are installed. Many things in Virtualbox are labelled "experimental" but work just fine.

That said, the primary difference between the Virtualbox VM dxdiag output is: AGP Texture Acceleration: Not Available

I can't make much sense of the stack trace from Errorlog.txt, but maybe someone can chime in on what it means. For now, I can run 2.8.11 without the updates in the VM or use a physical machine running Win7 to access the radio.

At some point, I want to update to Protocol 2 firmware, but until I better understand what I will gain by doing so, I'll just try and understand basic operations.

Thanks,
Dale (W6EDT)
Dale (W6EDT)
User avatar
ramdor
Posts: 1468
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: No Panadapter Display after 21k9 Update

Postby ramdor » Wed Mar 30, 2022 10:21 am

I have done some testing, and the vitrualbox 3d driver (which is experimental) is ok with the vector/line stuff, but is failing with the bitmap creation used for the waterfall. It might be because I use a premultiplied alpha, not sure. Another issue is that using the directX debug flags also cause the virtualbox driver to to error possibly because they have not implemented it yet, who knows.

Richie.
User avatar
ramdor
Posts: 1468
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: No Panadapter Display after 21k9 Update

Postby ramdor » Wed Mar 30, 2022 3:04 pm

Thanks for your reply. Yes, Guest Additions are enabled, using Safe Mode and the 3D extensions are installed. Many things in Virtualbox are labelled "experimental" but work just fine.

That said, the primary difference between the Virtualbox VM dxdiag output is: AGP Texture Acceleration: Not Available


It looks like the experimental part of this, is non working experimental :D The lack of AGP Texture Acceleration will not matter.

After many hours of looking into this, it seems that DirectX function ID2D1Bitmap::CopyFromBitmap is either not supported or is broken in the VirtualBox video driver. CopyFromMemory works which is used for the new row in the waterfall as can be seen in the image.

In other words, this is not going to work until they get around to fixing/completing their graphics driver.

Richie.

notGood.png
notGood.png (266.58 KiB) Viewed 2578 times
User avatar
DL2XY
Posts: 116
Joined: Sun Jul 30, 2017 9:47 am

Re: No Panadapter Display after 21k9 Update

Postby DL2XY » Wed Mar 30, 2022 7:51 pm

ramdor wrote:I have done some testing, and the vitrualbox 3d driver (which is experimental) is ok with the vector/line stuff, but is failing with the bitmap creation used for the waterfall. It might be because I use a premultiplied alpha, not sure. Another issue is that using the directX debug flags also cause the virtualbox driver to to error possibly because they have not implemented it yet, who knows.

Richie.


I had tried your DirectX-Profiler via Installer, it won't start on WIN7 SP1.

So i downloaded the source and compiled it - with target Any CPU or X86 it runs flawlessly.
But for X64 i had to remove the debug flag at _device = new Device() to get it working.

73 Walter
User avatar
ramdor
Posts: 1468
Joined: Wed Jul 03, 2019 3:07 pm
Contact:

Re: No Panadapter Display after 21k9 Update

Postby ramdor » Wed Mar 30, 2022 10:08 pm

DL2XY wrote:I had tried your DirectX-Profiler via Installer, it won't start on WIN7 SP1.

So i downloaded the source and compiled it - with target Any CPU or X86 it runs flawlessly.
But for X64 i had to remove the debug flag at _device = new Device() to get it working.

73 Walter


yes, but that profiler makes no use of the CopyFromBitmap function. I too have run it here which is why I posted 'is ok with the vector/line stuff' previously. VBox directX support It is just far to experimental it seems and not being able to use the debug flag is :shock:

Richie.
Last edited by ramdor on Thu Mar 31, 2022 12:29 am, edited 1 time in total.
edtyler
Posts: 9
Joined: Sun Mar 13, 2022 5:39 am

Re: No Panadapter Display after 21k9 Update [SOLVED]

Postby edtyler » Wed Mar 30, 2022 10:27 pm

Hi Richie,

Thank you so much for investigating this. Understanding the deficits in the Virtualbox 3D driver will help drive improvements in that area (i hope).

For now, it looks like using a Win7 physical machine is my best choice. I can also use unpatched 2.8.11, but that is not a good path forward.

Dale (W6EDT)

Return to “Thetis”