openasic-org / xkISP

xkISP:Xinkai ISP IP Core (HLS)
http://openasic.org/
Other
250 stars 105 forks source link

ISP executable not generating all test vectors #10

Open abdulrahman-10xe opened 2 months ago

abdulrahman-10xe commented 2 months ago

I am using Ubuntu 20.04 and when I run isp executable in tv folder through the following command, it runs for a few seconds and then gives a segmentation fault.

./isp -i input.raw -c hls_param.txt

The error is shown below.

frame_width = 640
frame_height = 480
image_pattern = 3
blc = 0
noise_es_enable = 0
Img_Format = 2
Noise_Mode = 0
dgain_enable = 1
dgain_rgain = 16384
dgain_grgain = 16384
dgain_gbgain = 16384
dgain_dgain = 16384
lsc_enable = 1
lsc_config = 4
dpc_enable = 1
dpc_threshod_w = 300
dpc_threshod_b = 300
rawdns_enable = 1
rawdns_sigma = 30
rawdns_filter = 50
rawdns_bitwidth = 12
rawdnsParam.invksigma2 = 119
awb_enable = 0
awb_mink = 1
wbc_enable = 1
wbc_rgain = 4821
wbc_ggain = 4096
wbc_bgain = 6486
gb_enable = 1
ee_enable = 1
ee_coeff = 30
cmc_enable = 1
histeq_enable = 0
gtm_enable = 1
gtm_gamma = 1.200000
ltm_enable = 1
ltm_contrast = 3401
ltm_ratio = 38
cac_enable = 1
cac_t_transient = 7000
cac_t_edge = 4000
yuvdns_enable = 1
yuv_ysigma = 60
yuv_invysigma2 = 4
yuv_uvsigma = 80
yuv_invuvsigma2 = 2
ldc_enable = 0
output_yuvpattern = 0
output_times = 1
output_up = 0
output_left = 0
output_right = 640
output_down = 480
Segmentation fault (core dumped)

What could be the issue? Are there any GCC libraries that I am missing?

SXW6666 commented 2 months ago

我也遇到同样的问题了,不知道咋回事