google / sagetv

SageTV is a cross-platform networked DVR and media management system
http://forums.sagetv.com/
Apache License 2.0
267 stars 173 forks source link

DirectX9 Texture error spamming Sagetv_ logs completely full #306

Open CptKirk1701 opened 7 years ago

CptKirk1701 commented 7 years ago

Adding this issue due to comment from EnterNoEscape in relation to this posting of the SageTV forum:

https://forums.sagetv.com/forums/showthread.php?t=64502

This was a v7 upgrade to v9 server. This never happened in v7.

Non-stop error generated:

Cleaning up DirectX9 Doing full DX9 cleanup. Done cleaning up DirectX9 Initializing DirectX9 Creating the D3D device manager Creating D3D Device DX9Renderer NATIVE WARNING (non-FAILURE) line 589 hr=0x8876086a DX9Renderer creation failed. Wait and then try again, it worked before...size 1920x1080

EnterNoEscape comment:

I do however think this is a common enough message in the logs that maybe it would be prudent to cap it and just have it log a count of how many times it was reported instead of flooding the logs. Logging is somewhat expensive because it's a narrow synchronized tube that flushes on every write and if something like this is constantly writing the same information over and over again, it will impact performance in other places.