Hello,
I am trying to run the H265 encoder demo in MCSDK Video but am running into a few problems.
I am using software versions:
Desktop Linux - 01.00.03.00
MCSDK Video - 2.2.0.45
I am using a DSPC-8681 card.
I have ran the following:
From Desktop Linux:
./install_grub.sh 1200 104
./install_cmem_autoload.sh
reboot
From MCSDK Video H265 Encode:
source setDemoEnv.sh
./init_dsp.sh 1250
./reset_dsp.sh 1250
./dnld_dsp.sh 4
./demoSave2File.sh
This works for me. I then edit the demoSave2File.sh so that it will run on 9 cores instead of 8. I get the following error when I run the script:
pciedrv: ERROR: pciedrv_bar_cfg: Size to be mapped to BAR is too large! (0x2000000 > 0x1000000)
[1441985065.080240044] (ERROR) device2deviceMapping() : Could only configure 0 out of 2 BAR registers.
I also get the following error sometimes when running the reset_dsp.sh script:
scripts$ ./reset_dsp.sh 1250
Num of devices 4
setPscState: dsp_id 0: Current transition in progress pid 2 mid 7 state: 0
setPscState: dsp_id 0: MD stat for pid 2 mid 7 expected state: 0 state: 10 timeout
setPDState: dsp_id 0: Previous transition in progress pid 2 state: 0
setPDState: dsp_id 0: Current transition in progress pid 2 state: 0
Iterations waited for entry point to clear 2
Dsp 0: DSP Reset success !
If I then try to run the reset script again after getting the above error I get the following error and the server hangs:
scripts$ ./reset_dsp.sh 1250
Num of devices 4
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_read: Setup Bar register fail
do_reg_read: ERROR Reading Address 2350a24
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_read: Setup Bar register fail
do_reg_read: ERROR Reading Address 2350308
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_read: Setup Bar register fail
do_reg_read: ERROR Reading Address 2350128
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_write: Setup Bar register fail
do_reg_write: ERROR Writing to Address 2350308
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_write: Setup Bar register fail
do_reg_write: ERROR Writing to Address 2350a24
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_read: Setup Bar register fail
do_reg_read: ERROR Reading Address 2350120
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
pciedrv: Found: IB_BAR = FFFFFFFF, IB_OFFSET = FFFFFFFF.
pciedrv: Expected: IB_BAR = 00000001, IB_OFFSET = 02300000.
pciedrv: ERROR: pciedrv_dsp_write: Setup Bar register fail
do_reg_write: ERROR Writing to Address 2350120
pciedrv: Error in ti667x_ep_setup_bar, ib trans num 0!, ret = -1
Because of this, I am restarting the server anytime I get the first error in order to avoid the server hang.
What do I need to do to resolve these issues?
Regards,
Chris Johnson