I tested SIPL sample on AGX device, I have saved output files to RAW,but I cannot replay it.
I noticed a sentence in document as below:
-i “file” Enables simulator mode testing and specify the RAW file to be used as input source for the SIPL library. If enabled, only one module must be enabled using -link-enable-masks. Simulator mode is disabled.
I forced db.isSimulatorModeEnabled to be assigned 0 but failed.
I want to change configuration in database to enable simolator mode, but I cannot find $PDK_INSTALL_DIR/samples/nvmedia/nvsipl/query/database on my host. Where is it? and how to enable Simulator mode?
The following information is my directories on host:
yangkm@yangkm-pc:~/nvidia/nvidia_sdk/DRIVE_Software_9.0_Linux_hyperion_E3550/DriveSDK/drive-t186ref-linux/samples/nvmedia/nvsipl/query$ ls
include
Yes,what I said is the example:nvsipl_camera.
I have saved the output file,but I cannot replay it using "./nvsipl_camera -c "SF3324_DPHY_x2" --link-enable-masks "0x0001 0x0000 0x0000 0x0000" -i <raw_file_name> -d 0 -w 1 ". Maybe it is because of Simulator Mode is disabled.
I tried to change configuration to enable Simulator Mode,but I cannot find $PDK_INSTALL_DIR/samples/nvmedia/nvsipl/query/database/.
Can you tell me how to enable Simulator Mode?
Thank you.
Can we get a log of the run with nvsipl_camera? Did the application exit with some error or the playback did not show good image?
Was the RAW file capture done with SF3324 or some custom module?
If it was done with SF3324, you can use the following command line (for PDK 5.1.0.2) Thanks.
./nvsipl_camera -c “SF3325_DPHY_x2” --link-enable-masks “0x0001 0x0000 0x0000 0x0000” -f “data/sipl” -d 0 -w 1
Then I found there are many raw files under the data directory.
Then I typed the following command to replay it.but I found it output real-time image instead of replay on the screen,
CNvMPlatform: board string is e3550_t194a
CNvMPlatform: platform is found with key = e3550_t194a
Setting up consumer descriptor for output: 1 of sensor: 0
Setting up consumer descriptor for output: 2 of sensor: 0
db.isSimulatorModeEnabled0
Initializing master interface
Init : 225: Initializing device blocks
nvmedia isc: IscPwrCtrlInit: 939: Camera power control library: NVCCP
MAX96712: Revision 2 detected
Init_1 : 55: in CNvMN24C64 NvMediaISCCheckPresence failed!. Warning: Image quality may not be correct
Init : 63: Creating 1 pipelines for block:0
Init : 98: sensorHandle:0x7f8c0011d0
Init : 100: Creating pipeline for first link
PipelineOutputInit : 104: PipelineOutputInit: index:0 output:1
PipelineOutputInit : 106: GetOutputSurfProperties
SetPostMethod : 327: Setting post method for pipeline 0, output:1
PipelineOutputInit : 104: PipelineOutputInit: index:0 output:2
PipelineOutputInit : 106: GetOutputSurfProperties
SetPostMethod : 327: Setting post method for pipeline 0, output:2
Initializing compositor
Created display - Display Info - Enabled:1 displayId:0 type:B306 size:1920x1080 refresh:60.000000 type:HDMI
Creating consumers
Creating consumer Sensor0_Out1
Creating INvSIPLClient
Init : 25: CNvMClient::Init
Creating consumer Sensor0_Out2
Creating INvSIPLClient
Init : 25: CNvMClient::Init
Starting compositor
Rect for Quad:0 Link:0 Out:0 is [(0,0):(640, 270)]
Rect for Quad:0 Link:0 Out:1 is [(640,0):(1280, 270)]
Starting master
Enter ‘ld’ to list display-able outputs.
Enter ‘e’ followed by ‘ID’ to enable display for specific Quad
Enter ‘q’ to quit the application
CNvMPlatform: board string is e3550_t194a
CNvMPlatform: platform is found with key = e3550_t194a
Setting up consumer descriptor for output: 1 of sensor: 0
Setting up consumer descriptor for output: 2 of sensor: 0
db.isSimulatorModeEnabled0
Initializing master interface
Init : 225: Initializing device blocks
nvmedia isc: IscPwrCtrlInit: 939: Camera power control library: NVCCP
MAX96712: Revision 2 detected
Init_1 : 55: in CNvMN24C64 NvMediaISCCheckPresence failed!. Warning: Image quality may not be correct
Init : 63: Creating 1 pipelines for block:0
Init : 98: sensorHandle:0x7f840011d0
Init : 100: Creating pipeline for first link
PipelineOutputInit : 104: PipelineOutputInit: index:0 output:1
PipelineOutputInit : 106: GetOutputSurfProperties
SetPostMethod : 327: Setting post method for pipeline 0, output:1
PipelineOutputInit : 104: PipelineOutputInit: index:0 output:2
PipelineOutputInit : 106: GetOutputSurfProperties
SetPostMethod : 327: Setting post method for pipeline 0, output:2
Initializing compositor
Created display - Display Info - Enabled:1 displayId:0 type:B306 size:1920x1080 refresh:60.000000 type:HDMI
Creating consumers
Creating consumer Sensor0_Out1
Creating INvSIPLClient
Init : 25: CNvMClient::Init
Creating consumer Sensor0_Out2
Creating INvSIPLClient
Init : 25: CNvMClient::Init
Starting compositor
Rect for Quad:0 Link:0 Out:0 is [(0,0):(640, 270)]
Rect for Quad:0 Link:0 Out:1 is [(640,0):(1280, 270)]
Starting master
Enter ‘ld’ to list display-able outputs.
Enter ‘e’ followed by ‘ID’ to enable display for specific Quad
Enter ‘q’ to quit the application
Have you found out the reason why nvsipl_camera sample cannot replay?
I can’t find anywhere to call FillRawBuffer, why is it so? I look forward to getting the result.
Can you please file a bug for this topic?
Please share bug ID, we will look into this issue.
Please login to https://developer.nvidia.com/drive with your credentials. Please check MyAccount->MyBugs->Submit a new bug to file bug. Thanks.
Could you try to reply the recorded file with below command?
$./nvsipl_camera -c “SF3325_file_mode” --showfps --disableISP1Output --disableRawOutput -i “data2/” -d 0 -w 1