Hello,
Since few days i’m having this issue with differents programs and i don’t know how to repair it. I have this issue when i try to record a CANbus or take a screenshot of a camera. Please fin the logs below:
nvidia@nvidia:/usr/local/driveworks/bin$ sudo ./sample_record --write-file-can=/home/nvidia/Desktop/recordings/ --can-params=device=can0
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.9.2 from v0.6.0-rc7-0-g51bd3aa against Vibrante PDK v5.0.5.0
TimeSource: monotonic epoch time offset is 1462513202045187
TimeSource: PTP ioctl returned error. Synchronized time will not be available.
TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
nvrm_gpu: Bug 200215060 workaround enabled.
SDK: Create NvMediaDevice
egl::Display: found 2 EGL devices
egl::Display: use drm device: drm-nvdc
SDK: number of GPU devices detected 2
SDK: currently selected GPU device discrete ID 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> can.socket, device=can0,serialize=true
CANSocket: ioctl(SIOCSHWTSTAMP, can0) failed -> Bad address. Cannot enable HW timestamps, try with root user.
CANSocket: use SW based timestamps for can0
CANSocket: started can0
0 ERROR DW_NOT_READY
0 ERROR DW_NOT_READY
Driveworks exception thrown: DW_NOT_AVAILABLE: SerializerByte: Cannot call serializeDataAsync because cannot write to sink /home/nvidia/Desktop/recordings/
1462513620711112 [0x1] -> 0x0 0x0 0x0 0x10 0x0 0x0 0x0 0x0
Driveworks exception thrown: DW_NOT_AVAILABLE: SerializerByte: Cannot call serializeDataAsync because cannot write to sink /home/nvidia/Desktop/recordings/
nvidia@nvidia:/usr/local/driveworks/bin$ sudo ./sample_camera_gmsl --write-file=/home/nvidia/Desktop/
Program Arguments:
--camera-type=ar0231-rccb
--csi-port=ab
--fifo-size=3
--serialize-bitrate=8000000
--serialize-framerate=30
--serialize-type=h264
--slave=0
--write-file=/home/nvidia/Desktop/
nvrm_gpu: Bug 200215060 workaround enabled.
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.9.2 from v0.6.0-rc7-0-g51bd3aa against Vibrante PDK v5.0.5.0
TimeSource: monotonic epoch time offset is 1462513202045187
TimeSource: PTP ioctl returned error. Synchronized time will not be available.
TimeSource: Could not detect valid PTP time source at 'eth0'. Fallback to CLOCK_MONOTONIC.
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
SDK: Create NvMediaDevice
SDK: use EGL display as provided
SDK: number of GPU devices detected 2
SDK: currently selected GPU device discrete ID 0
SAL: identified board as DrivePX2-TegraA
SensorFactory::createSensor() -> camera.gmsl, camera-type=ar0231-rccb,csi-port=ab,fifo-size=3,serialize-bitrate=8000000,serialize-framerate=30,serialize-type=h264,slave=0,write-file=/home/nvidia/Desktop/,output-format=yuv
CameraGMSL: required FPS = 30, resolution = 1920x1208
***** aurix state *****
CAM_PWR_ON: 0x0
TEGRA_GMSL: TEGRA B
TEGRA_FPDL: TEGRA B
TEGRA_A_HDMI: MXM
TEGRA_B_HDMI: MXM
TEGRA_PCI: TEGRA B
FAN_STATE: UNKNOWN
***********************
***** aurix state *****
CAM_PWR_ON: 0x1
TEGRA_GMSL: UNKNOWN
TEGRA_FPDL: UNKNOWN
TEGRA_A_HDMI: UNKNOWN
TEGRA_B_HDMI: UNKNOWN
TEGRA_PCI: UNKNOWN
FAN_STATE: UNKNOWN
***********************
Sensor AR0231 RCCB Rev7 detected!
Camera image with 1920x1208 at 30 FPS
nvmEglStProducerCreateCommon: Entered
Driveworks exception thrown: DW_NOT_AVAILABLE: EncoderNvMedia: Cannot call serializeDataAsync because cannot write to sink /home/nvidia/Desktop/
Driveworks exception thrown: DW_NOT_AVAILABLE: EncoderNvMedia: Cannot call serializeDataAsync because cannot write to sink /home/nvidia/Desktop/
I need to take screenshot of my camera in order to calibrate it but the sample_camera_gmsl cannot write to sink as mentionned before. With the sample_camera_multiple_gmsl i’m not able to choose the directory used to save the pictures and i can’t find where i need to specify it in the code.
As i was having this issue i reflashed my Drive PX2 but i still have this error.
Thanks in advance,
Adrien