RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

Artifacts in HEVC 720p playback on Intel Atom X5-Z8300 / Windows 10 platform #118

Closed wanders78746 closed 7 years ago

wanders78746 commented 8 years ago

Description:

When I attempt to direct play an HEVC 720p video on the client, various visual artifacts are seen on the video (e.g. green bar at top, color mis-registration, block artifacts, etc.)

When I direct play an HEVC 1080p video on the client, the video is perfect. No artifacts, no lag, rock solid, etc. No artifacts with other scaled media, like 480p material (scaled to full screen) and no artifacts with wide-format movies (e.g. 1920x800p).

My steps to reproduce are simple: play an HEVC 720p and it fails, play another format, and it plays fine.

I suspect that the video driver set-up for the integrated Intel HD Graphics system on the Atom is somehow not quite correct.

Since the client is Windows and not Un*x, determining actual free memory at run time is dicey. With 2GB total memory, there is not a lot left over. However, OpenPHT is the only application running from the desktop.

Please see video link for examples. The submitted log file below is from this exact session: OpenPHT.log.txt

Here is a link to the video: https://drive.google.com/file/d/0B4Z6PbMOcEolU0RzTlI1aklNMXc/view?usp=sharing

Software: OpenPHT 1.6.2 for Windows 32-bit, installed using Windows 32-bit installer. Default skin.

Notes:      I also have the Windows 10 Plex client installed on
            this system, and its playback is perfect. However, I
            much prefer the OpenPHT GUI, so I hope you can fix
            this issue.

OpenPHT Client System: Wintel Pro CX-W8 "TV box"

CPU:        Intel Atom Cherry Trail X5-Z8300
GPU:        Intel HD Graphics, 12 XU (integrated on SOC)
RAM:        2 GB
Flash:      32 GB (main fileysstem)
LAN:        Realtek 8152B 10/100 Ethernet Controller for USB
WiFi:       Broadcom BCM43438-based Ampak AP6212 module (not used)
OS:         Microsoft Windows 10 Home Edition (64-bit)
Screen:     LG 47LM7800 HDTV, via HDMI
Notes:      Hardware acceleration of HEVC up to 4K supported

Plex Media Server System: Homebuilt FreeNAS System

CPU:        Intel Skylake i5-6500
GPU:        Intel HD Graphics 530, 24 XU (integrated on SOC)
RAM:        16 GB
Flash:      24 GB (root FreeNAS filesystem)
HD:         9.1 TiB (5x2TB ZFS Volume with 2 jails embedded)
MBoard:     Gigabyte GA-B150N-GSM with Intel B150 Chipset
LAN:        Integrated 10/100/1000 Realtek Controller
WiFi:       None
OS:         FreeNAS-9.10-STABLE (variant of FreeBSD Un*x OS),
            running Plex Server Version 1.0.0.2261
Notes:      This system is an excellent transcoding platform.
            In particular, no other Plex clients show issues.

Typical Video Media Info for Files

Format                      : Matroska
Format version              : Version 4 / Version 2
Overall bit rate            : 781 Kbps                  //  720p video
Overall bit rate            : 980 Kbps                  // 1080p video
Writing application         : Lavf57.37.101
Writing library             : Lavf57.37.101 / Lavf57.37.101

Video
    Format                  : HEVC
    Format profile          : Main@L3.1@Main            //  720p video
    Format profile          : Main@L4@Main              // 1080p video
    Codec ID                : V_MPEGH/ISO/HEVC
    Width                   : 1 280 pixels              //  720p video
    Height                  : 718 pixels                //  720p video
    Width                   : 1 920 pixels              // 1080p video
    Height                  : 1 080 pixels              // 1080p video
    Display aspect ratio    : 16:9
    Frame rate mode         : Variable
    Original frame rate     : 23.976 fps
    Color space             : YUV
    Chroma subsampling      : 4:2:0
    Bit depth               : 8 bits
    Writing library         : x265 1.9:[Unk-OS][GCC 5.4.0][64 bit] 8bit
wanders78746 commented 8 years ago

Additional Information:

I was concerned that the media file that I played was 718p, not true 720p, so I tried with another file, which was true 720p. The results were different: a green bar came up on the screen (see video above), then the Intel HD Graphics display driver crashed, and OpenPHT aborted. I've included the log from that crash here:

new OpenPHT.log.txt

This may be a relevant entry in that log:

11:21:51 T:7984   DEBUG: CRenderSystemDX::PresentRenderImpl - Present failed.
88760874 - D3DERR_DEVICEHUNG (Hardware adapter reset by OS)

Thanks for any help, and I am certainly willing to test builds on this Atom X5-Z8300 platform. Due to its ability to decode HEVC, and its inclusion in some Microsoft Surface tablets, and many low-cost tablets and "TV boxes", it is an important platform for OpenPHT, I believe.

wanders78746 commented 7 years ago

This issue is not present in OpenPHT 1.7.1. I'm marking this as closed.