Xavier NX HDMI out color issue

Hi,

We test our board using xavier nx with jetpack 4.6.3 and find the output color is not good as original in this topic

And we tried in jetpack 5.1.5, but the result is the same, the red color is still bad is low and high area.

Hi,
Please share the steps to replicate the issue. We will set up developer kit and check.

we use this in matlab to get the oringinal image. and output it in DRM

img = zeros(2160,3840,3);
model = 2;

        for j = 1:3840
            if  model ==1% 模式1
             t = floor(j/ 12); % 列条判断
             if t > 255  % 截位
                 t = t-256; 
             end
             img(:,j,:) = t; % 三通道赋值
           else 
                % r通道赋值
                tr =  floor(j/ 12); % 列条判断
             if tr > 255  % 截位
                 tr1 = tr-256; 
             else 
                 tr1 = tr;
             end
             img(:,j,1) = tr1; % r通道赋值
             % G通道赋值
             img(:,j,2) = 255- tr1; % r通道赋值
             % B通道赋值
             tb =  floor(j/ 12) + 128; % 列条判断
             if tb > 255  % 截位
                 tb1 = tb-256; 
             else 
                 tb1 = tb;
             end
             img(:,j,3) = tb1;
            end
        end
figure;imshow(uint8(img));
imwrite(uint8(img),'dor_start.png');

Hi,
Sine we don’t use Matlab, it’s difficult for us to check further. Please try to replicate it on developer kit, and share us the full steps. So that we can set up the same. 08 sample is the reference sample and please base on it to reproduce the issue.

Hi,
Please check if we can generate test file through gst-launch-1.0 command. For example:

$ gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,format=I420,width=1920,height=1080 ! nvvidconv ! nvv4l2h264enc profile=Main ! video/x-h264 !  h264parse ! video/x-h264,stream-format=byte-stream ! filesink location=~/FHD.h264

And can reproduce it by decoding the test file through 08 sample:

08_video_dec_drm$ ./video_dec_drm ~/FHD.h264 H264 --disable-ui

We need a method to replicate it on developer kit and check. Would need your help on this.