Closed rinigus closed 3 years ago
When running with HYBRIS_LD_DEBUG=5 pulseaudio -n --file=/etc/pulse/arm_droid_default.pa
:
FOUND acdb_loader_init_ACDB in /odm/lib64/libacdbloader.so (0xb858) 104
Diag_LSM_Init: Failed to open handle to diag driver, error = 13diag: In diagpkt_tbl_reg, service not initialized.
SEARCH acdb_loader_get_calibration in /odm/lib64/libacdbloader.so@0x7f58e0c000 (gnu)
FOUND acdb_loader_get_calibration in /odm/lib64/libacdbloader.so (0x11088) 160
[ "/vendor/lib/soundfx/libqcomvisualizer.so" find_loaded_library_by_soname failed (*candidate=n/a@(nil)). Trying harder... ]
[ opening /vendor/lib/soundfx/libqcomvisualizer.so from namespace (default) ]
name /vendor/lib/soundfx/libqcomvisualizer.so: allocating soinfo for ns=0x7f59fa3010
name /vendor/lib/soundfx/libqcomvisualizer.so: allocated soinfo @ 0x7f59f447f0
"/vendor/lib/soundfx/libqcomvisualizer.so" is 32-bit instead of 64-bit
name /vendor/lib/soundfx/libqcomvisualizer.so: freeing soinfo @ 0x7f59f447f0
[ "/vendor/lib/libqtigef.so" find_loaded_library_by_soname failed (*candidate=n/a@(nil)). Trying harder... ]
[ opening /vendor/lib/libqtigef.so from namespace (default) ]
library "/vendor/lib/libqtigef.so" not found
[ "/vendor/lib/soundfx/libqcompostprocbundle.so" find_loaded_library_by_soname failed (*candidate=n/a@(nil)). Trying harder... ]
[ opening /vendor/lib/soundfx/libqcompostprocbundle.so from namespace (default) ]
name /vendor/lib/soundfx/libqcompostprocbundle.so: allocating soinfo for ns=0x7f59fa3010
name /vendor/lib/soundfx/libqcompostprocbundle.so: allocated soinfo @ 0x7f59f447f0
"/vendor/lib/soundfx/libqcompostprocbundle.so" is 32-bit instead of 64-bit
name /vendor/lib/soundfx/libqcompostprocbundle.so: freeing soinfo @ 0x7f59f447f0
[ "/vendor/lib/hw/sound_trigger.primary.sdm845.so" find_loaded_library_by_soname failed (*candidate=n/a@(nil)). Trying harder... ]
[ opening /vendor/lib/hw/sound_trigger.primary.sdm845.so from namespace (default) ]
name /vendor/lib/hw/sound_trigger.primary.sdm845.so: allocating soinfo for ns=0x7f59fa3010
name /vendor/lib/hw/sound_trigger.primary.sdm845.so: allocated soinfo @ 0x7f59f447f0
"/vendor/lib/hw/sound_trigger.primary.sdm845.so" is 32-bit instead of 64-bit
name /vendor/lib/hw/sound_trigger.primary.sdm845.so: freeing soinfo @ 0x7f59f447f0
E: [pulseaudio] droid-util.c: Audio calibration file generation failed! (/data/vendor/audio/cirrus_sony.cal doesn't exist)
E: [pulseaudio] droid-util.c: Audio calibration file generation failed! (/data/vendor/audio/cirrus_sony.cal doesn't exist)
Some libs are not loaded as 32-bit versions were found first. As a result, 64-bit version is not checked. Not sure if it matters, but logging here anyway.
Extract from strace (see below for more)
strace for PA attached
HYBRIS_LD_LIBRARY_PATH=/vendor/lib64:/vendor/lib64/hw strace -f pulseaudio -n --file=/etc/pulse/arm_droid_default.pa > logs/pa.strace 2>&1
shows that HYBRIS path was not effective
pa_strace.txt
Originally posted by @rinigus in https://github.com/sailfishos-sony-tama/main/issues/107#issuecomment-785037503