Speech Recognition on ODROID
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
server on N2 works fine; I was able to decode max 3 processes in parallel in real time.
Last edited by n2fan on Tue Jan 12, 2021 7:21 pm, edited 1 time in total.
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
> thanks, will try the server today. did you make some tests how many channels can be processed in parallel on Intel hardware or any other devices/processors?
Modern i7 server 8 cores processes up to 20 processes in parallel, Odroid will process less of course.
> vosk-server/client-samples/python/tts-test.py is it a text to speech engine included?
It is not fully functional, you can try https://github.com/TensorSpeech/TensorFlowTTS instead
Modern i7 server 8 cores processes up to 20 processes in parallel, Odroid will process less of course.
> vosk-server/client-samples/python/tts-test.py is it a text to speech engine included?
It is not fully functional, you can try https://github.com/TensorSpeech/TensorFlowTTS instead
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
must revise.
It's not that simple with the server;
current state: if the system is constantly running, Odroid can't even process one channel in real time. I have the impression that the processing speed depends on the audio. If there is a lot of noise or music in the background, performance goes down. It works faster if there is only speech without background noise. All cores are not 100% utilised with the server.
it may also be that other processes have an impact, so that processing is not uniform. Would be very grateful for other opinions/impressions. If TTS is added, Odroid is overloaded (current state).
It's not that simple with the server;
current state: if the system is constantly running, Odroid can't even process one channel in real time. I have the impression that the processing speed depends on the audio. If there is a lot of noise or music in the background, performance goes down. It works faster if there is only speech without background noise. All cores are not 100% utilised with the server.
it may also be that other processes have an impact, so that processing is not uniform. Would be very grateful for other opinions/impressions. If TTS is added, Odroid is overloaded (current state).
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
Which model is that? With lightweight model it should be realtime.n2fan wrote: ↑Tue Jan 12, 2021 8:28 pmcurrent state: if the system is constantly running, Odroid can't even process one channel in real time. I have the impression that the processing speed depends on the audio. If there is a lot of noise or music in the background, performance goes down. It works faster if there is only speech without background noise. All cores are not 100% utilised with the server.
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
I tested with the bigger model (vosk-model-small-en-us-0.15, vosk-model-en-us-daanzu-20200905-lgraph) because smaller model has not worked;
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$ python3 ./asr_server.py /home/odroid/vosk/vosk-api/python/example/model
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:194) Decoding params beam=10 max-active=3000 lattice-beam=2
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:197) Silence phones 1:2:3:4:5:6:7:8:9:10
LOG (VoskAPI:RemoveOrphanNodes():nnet-nnet.cc:948) Removed 0 orphan nodes.
LOG (VoskAPI:RemoveOrphanComponents():nnet-nnet.cc:847) Removing 0 orphan components.
LOG (VoskAPI:CompileLooped():nnet-compile-looped.cc:345) Spent 0.0968211 seconds in looped compilation.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:221) Loading i-vector extractor from /home/odroid/vosk/vosk-api/python/example/model/ivector/final.ie
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:204) Done.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:251) Loading HCL and G from /home/odroid/vosk/vosk-api/python/example/model/graph/HCLr.fst /home/odroid/vosk/vosk-api/python/example/model/graph/Gr.fst
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:273) Loading winfo /home/odroid/vosk/vosk-api/python/example/model/graph/phones/word_boundary.int
ERROR (VoskAPI:MaybeCreateResampler():online-feature.cc:99) Sampling frequency mismatch, expected 16000, got 8000
Perhaps you want to use the options --allow_{upsample,downsample}
terminate called after throwing an instance of 'kaldi::KaldiFatalError'
what(): kaldi::KaldiFatalError
Aborted (core dumped)
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$
ffmpeg provides 16000 samples
Output #0, wav, to '/tmp/voice.wav':
Metadata:
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Metadata:
encoder : Lavc58.35.100 pcm_s16le
av_interleaved_write_frame(): Broken pipe
the same result was with the included test file - python3 ./test.py ./test16k.wav
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$ python3 ./asr_server.py /home/odroid/vosk/vosk-api/python/example/model
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:194) Decoding params beam=10 max-active=3000 lattice-beam=2
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:197) Silence phones 1:2:3:4:5:6:7:8:9:10
LOG (VoskAPI:RemoveOrphanNodes():nnet-nnet.cc:948) Removed 0 orphan nodes.
LOG (VoskAPI:RemoveOrphanComponents():nnet-nnet.cc:847) Removing 0 orphan components.
LOG (VoskAPI:CompileLooped():nnet-compile-looped.cc:345) Spent 0.0968211 seconds in looped compilation.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:221) Loading i-vector extractor from /home/odroid/vosk/vosk-api/python/example/model/ivector/final.ie
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (VoskAPI:ComputeDerivedVars():ivector-extractor.cc:204) Done.
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:251) Loading HCL and G from /home/odroid/vosk/vosk-api/python/example/model/graph/HCLr.fst /home/odroid/vosk/vosk-api/python/example/model/graph/Gr.fst
LOG (VoskAPI:ReadDataFiles():vosk/model.cc:273) Loading winfo /home/odroid/vosk/vosk-api/python/example/model/graph/phones/word_boundary.int
ERROR (VoskAPI:MaybeCreateResampler():online-feature.cc:99) Sampling frequency mismatch, expected 16000, got 8000
Perhaps you want to use the options --allow_{upsample,downsample}
terminate called after throwing an instance of 'kaldi::KaldiFatalError'
what(): kaldi::KaldiFatalError
Aborted (core dumped)
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$
ffmpeg provides 16000 samples
Output #0, wav, to '/tmp/voice.wav':
Metadata:
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Metadata:
encoder : Lavc58.35.100 pcm_s16le
av_interleaved_write_frame(): Broken pipe
the same result was with the included test file - python3 ./test.py ./test16k.wav
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
Run like this:n2fan wrote: ↑Tue Jan 12, 2021 9:55 pmI tested with the bigger model (vosk-model-small-en-us-0.15, vosk-model-en-us-daanzu-20200905-lgraph) because smaller model has not worked;
ERROR (VoskAPI:MaybeCreateResampler():online-feature.cc:99) Sampling frequency mismatch, expected 16000, got 8000
Perhaps you want to use the options --allow_{upsample,downsample}
terminate called after throwing an instance of 'kaldi::KaldiFatalError'
what(): kaldi::KaldiFatalError
Aborted (core dumped)
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$
Code: Select all
VOSK_SAMPLE_RATE=16000 ./asr_server.py
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
I used VOSK_SAMPLE_RATE=16000 and it works fine. Many thanks for the support.
Still courious:
- how big is a difference by recognition between smaller and bigger model? May be you can point me to a publiction that is understandable for not voice recognition experts?
- is it true that the processor load is dependent on the sound environment, e.g. by music or noisy background it requires more resources/processor power
- is it possible to recognize not voice recognition events, e.g. dog in appartment, bell or telephone ring, music/speech from radio or tv (differentiation to external sounds), working of wash machine in the kitchen etc?
Still courious:
- how big is a difference by recognition between smaller and bigger model? May be you can point me to a publiction that is understandable for not voice recognition experts?
- is it true that the processor load is dependent on the sound environment, e.g. by music or noisy background it requires more resources/processor power
- is it possible to recognize not voice recognition events, e.g. dog in appartment, bell or telephone ring, music/speech from radio or tv (differentiation to external sounds), working of wash machine in the kitchen etc?
nshmyrev wrote: ↑Wed Jan 13, 2021 2:10 amRun like this:n2fan wrote: ↑Tue Jan 12, 2021 9:55 pmI tested with the bigger model (vosk-model-small-en-us-0.15, vosk-model-en-us-daanzu-20200905-lgraph) because smaller model has not worked;
ERROR (VoskAPI:MaybeCreateResampler():online-feature.cc:99) Sampling frequency mismatch, expected 16000, got 8000
Perhaps you want to use the options --allow_{upsample,downsample}
terminate called after throwing an instance of 'kaldi::KaldiFatalError'
what(): kaldi::KaldiFatalError
Aborted (core dumped)
odroid@odroid:~/vosk/vosk-server/vosk-server/websocket$
Or edit default value of VOSK_SAMPLE_RATE from 8000 to 16000 inside asr_server.pyCode: Select all
VOSK_SAMPLE_RATE=16000 ./asr_server.py
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
Error rates for the models are listed on model page https://alphacephei.com/vosk/models:- how big is a difference by recognition between smaller and bigger model? May be you can point me to a publication that is understandable for not voice recognition experts?
For relatively clean but complex speech small model error rate is 10.38% means about 1 of 10 words is not recognized properly, big Daanzu model error rate is 9.28%, not very different to be honest but should be more in more complex conditions.
To get idea of the accuracy for your particular usecase you need to record test database.
Yes, noise takes more time to analyze accurately.- is it true that the processor load is dependent on the sound environment, e.g. by music or noisy background it requires more resources/processor power
In theory it is possible, in practice it is a long way till it will be practical. There are competitions and specialized software doing that right now, very far from integration with Vosk or any other speech recognition toolkit- is it possible to recognize not voice recognition events, e.g. dog in apartment, bell or telephone ring, music/speech from radio or tv (differentiation to external sounds), working of wash machine in the kitchen etc?
-
- Posts: 9373
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 599 times
- Been thanked: 659 times
- Contact:
Re: Speech Recognition on ODROID
Do you think such recognition tasks could benefit from local NPUs? I think that NPUs will be the next big thing for SBCs, but without a standardized and accesible API, they may not be as useful...
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
Yes, NPU will help a lot. Yes, standard API and integrations are big issues here. Most NPUs are not easily accessible.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Can't a voice model be trained by the user to increase accuracy for a given dialect?nshmyrev wrote: ↑Wed Jan 13, 2021 8:42 pmError rates for the models are listed on model page https://alphacephei.com/vosk/models:- how big is a difference by recognition between smaller and bigger model? May be you can point me to a publication that is understandable for not voice recognition experts?
For relatively clean but complex speech small model error rate is 10.38% means about 1 of 10 words is not recognized properly, big Daanzu model error rate is 9.28%, not very different to be honest but should be more in more complex conditions.
To get idea of the accuracy for your particular usecase you need to record test database.
Yes, noise takes more time to analyze accurately.- is it true that the processor load is dependent on the sound environment, e.g. by music or noisy background it requires more resources/processor power
In theory it is possible, in practice it is a long way till it will be practical. There are competitions and specialized software doing that right now, very far from integration with Vosk or any other speech recognition toolkit- is it possible to recognize not voice recognition events, e.g. dog in apartment, bell or telephone ring, music/speech from radio or tv (differentiation to external sounds), working of wash machine in the kitchen etc?
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
I have the PS3 Eye Cam now and dismounted the pcb.
The good thing is that the C1 kernel starts the driver:
And with arecord I can record my voice:
Note that it must be given the channel count
I get a file with 1 stereo and 2 mono channels: The quality of audio is much better than with regular webcam I used before.
I have only small background noises here where I sit. I can't publicate my terrible voice here world hearable.
Now I have to learn, how to bring all together to have a speech recognition connected to homeassistant.
The good thing is that the C1 kernel starts the driver:
Code: Select all
[112790.073860] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[112790.250242] gspca_main: v2.14.0 registered
[112790.260711] gspca_main: ov534-2.14.0 probing 1415:2000
[112792.224838] usbcore: registered new interface driver ov534
[112792.309699] usbcore: registered new interface driver snd-usb-audio
Code: Select all
sudo arecord -D hw:1,0 -f S16_LE -c 4 -r 16000 -d 15 test.wav
-c 4
. If not, arecord gives error arecord: set_params:1349: Channels count non available
.I get a file with 1 stereo and 2 mono channels: The quality of audio is much better than with regular webcam I used before.

I have only small background noises here where I sit. I can't publicate my terrible voice here world hearable.

Now I have to learn, how to bring all together to have a speech recognition connected to homeassistant.
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
We do not support it right now. In theory again it is possible but probably outside of the project scope. Actually it should be accurate with good voice quality for any voice without any training (just like Alexa)
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Mine arrived today and I tested them both (Cheese on a desktop) and dismantled one. I like that those microphones will be easy to desolder and pull back closer to the board.joerg wrote: ↑Fri Jan 15, 2021 2:48 amI have the PS3 Eye Cam now and dismounted the pcb.
The good thing is that the C1 kernel starts the driver:And with arecord I can record my voice:Code: Select all
[112790.073860] usb 1-1.2: new high-speed USB device number 4 using dwc_otg [112790.250242] gspca_main: v2.14.0 registered [112790.260711] gspca_main: ov534-2.14.0 probing 1415:2000 [112792.224838] usbcore: registered new interface driver ov534 [112792.309699] usbcore: registered new interface driver snd-usb-audio
Note that it must be given the channel countCode: Select all
sudo arecord -D hw:1,0 -f S16_LE -c 4 -r 16000 -d 15 test.wav
-c 4
. If not, arecord gives errorarecord: set_params:1349: Channels count non available
.
I get a file with 1 stereo and 2 mono channels:
Bildschirmfoto vom 2021-01-14 18-37-48.png
The quality of audio is much better than with regular webcam I used before.![]()
I have only small background noises here where I sit. I can't publicate my terrible voice here world hearable.![]()
Now I have to learn, how to bring all together to have a speech recognition connected to homeassistant.
Thank you for doing the hard part on the C1, I didn't even try one on a SBC yet.
I thought Vosk ran the Kaldi engine so it would be possible to train a language model.
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
My C1+ does not, 20.04 LTS Minimal image.
What image are you running?
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
ubuntu-20.04-3.10-minimal-odroid-c1-20200519.img.xz
Code: Select all
Welcome to Ubuntu 20.04 LTS (GNU/Linux 3.10.107-20 armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Last login: Thu Jan 14 17:18:25 2021 from 192.168.1.18
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
But with pulseaudio I have no luck:
(And I have no idea what's wrong.)
(And I have no idea what's wrong.)

Code: Select all
pactl load-module module-echo-cancel use_master_format=1 aec_method='webrtc' aec_args="analog_gain_control=0 digital_gain_control=1 voice_detection=1 beamforming=1 mic_geometry=-0.03,0,0,-0.01,0,0,0.01,0,0,0.03,0,0"
shared memfd open() failed: Function not implemented
Failure: Module initialization failed
Code: Select all
pacmd list-cards
0 card(s) available.
Code: Select all
systemctl --user status pulseaudio.service
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-01-16 16:43:01 UTC; 3s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 2287 (pulseaudio)
CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
└─2287 /usr/bin/pulseaudio --daemonize=no --log-target=journal
Jan 16 16:43:00 odroid-garage systemd[505]: Starting Sound Service...
Jan 16 16:43:00 odroid-garage pulseaudio[2287]: shared memfd open() failed: Function not implemented
Jan 16 16:43:00 odroid-garage pulseaudio[2287]: Failed to allocate shared memfd memory pool. Falling back to a normal memory pool.
Jan 16 16:43:01 odroid-garage pulseaudio[2287]: Can't cancel echo between a sink and its monitor
Jan 16 16:43:01 odroid-garage pulseaudio[2287]: Failed to load module "module-echo-cancel" (argument: "use_master_format=1 aec_method=webrtc aec_args="analog_gain_control=1\ digital_gain_control=1\ beamforming=1\ mic_geometry=-0.>
Jan 16 16:43:01 odroid-garage systemd[505]: Started Sound Service.
Code: Select all
sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
shared memfd open() failed: Function not implemented
card 0: ODROIDHDMI [ODROID-HDMI], device 0: SPDIF PCM dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
sudo arecord -l
**** List of CAPTURE Hardware Devices ****
shared memfd open() failed: Function not implemented
card 0: ODROIDHDMI [ODROID-HDMI], device 0: SPDIF PCM dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CameraB409241 [USB Camera-B4.09.24.1], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Pulseaudio finds it for me, but alsamixer crashes when I try to enable it. I tested both microphones on one of the desktops and they do work but on the C1+ microphone isn't working when tested with julius.
I wish I could get rid of HDMI, it's disabled in boot.ini but it won't go away.
I wish I could get rid of HDMI, it's disabled in boot.ini but it won't go away.
Code: Select all
Welcome to Ubuntu 20.04 LTS (GNU/Linux 3.10.107-20 armv7l)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Code: Select all
root@odroid:~# lsusb
Bus 001 Device 004: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 001 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
root@odroid:~# lsmod
Module Size Used by
snd_usb_audio 121948 0
snd_hwdep 5779 1 snd_usb_audio
snd_usbmidi_lib 17341 1 snd_usb_audio
snd_rawmidi 19085 1 snd_usbmidi_lib
snd_seq_device 5909 1 snd_rawmidi
nls_cp437 5102 1
rt2800usb 17441 0
rt2800lib 74662 1 rt2800usb
rt2x00usb 10279 1 rt2800usb
rt2x00lib 39987 3 rt2x00usb,rt2800lib,rt2800usb
gspca_ov534 11410 0
gspca_main 23421 1 gspca_ov534
w1_gpio 3465 0
wire 20495 1 w1_gpio
meson_gpiomem 3455 0
snd_soc_odroid_dac 5241 0
snd_soc_pcm5102 2972 1
ip_tables 11416 0
autofs4 22336 2
Code: Select all
root@odroid:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x200
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.107-20 (root@1604_builder_armhf) (gcc version 4.8.5 (Ubuntu/Linaro 4.8.5-4ubuntu8) ) #2 SMP PREEMPT Mon May 18 0
[ 0.000000] Kernel was built at commit id '409d98d69865'
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: ODROIDC, model: AMLOGIC
[ 0.000000] physical memory start address is 0x200000
[ 0.000000] reserved_end is 6afffff
[ 0.000000] Total memory is 1022 MiB
[ 0.000000] Reserved low memory from 0x06000000 to 0x06afffff, size: 11 MiB
[ 0.000000] deinterlace0(high) : 0x3df00000 - 0x40000000 ( 33 MiB)
[ 0.000000] amvideocap0(low) : 0x06100000 - 0x06b00000 ( 10 MiB)
[ 0.000000] cma: CMA: reserved 8 MiB at 3d400000
[ 0.000000] cma: Found region@0, memory base 0, size 42 MiB
[ 0.000000] cma: CMA: reserved 44 MiB at 2cc00000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] On node 0 totalpages: 246784
[ 0.000000] free_area_init_node: node 0, pgdat c09d6e00, node_mem_map c0c70000
[ 0.000000] Normal zone: 1520 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 188160 pages, LIFO batch:31
[ 0.000000] HighMem zone: 458 pages used for memmap
[ 0.000000] HighMem zone: 58624 pages, LIFO batch:15
[ 0.000000] Meson chip version = RevA (1B:A - 0:B72)
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c1439000 s8512 r8192 d16064 u32768
[ 0.000000] pcpu-alloc: s8512 r8192 d16064 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 245264
[ 0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw console=ttyS0,115200n8 no_console_suspend fsck.rep0
[ 0.000000] cvbs trimming line = 0xa000
[ 0.000000] cvbs trimming.1.v5: 0xa0, 0x0
[ 0.000000] osd1:1
[ 0.000000] loaded:268435459
[ 0.000000] logo has been loaded
[ 0.000000] 720p:13
[ 0.000000] full:2
[ 0.000000] kernel get cvbsmode form uboot is 576cvbs
[ 0.000000] kernel get hdmimode form uboot is 1024x600p60hz
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] allocated 2025472 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 64MB 16MB 884MB = 964MB total
[ 0.000000] Memory: 904852k/904852k available, 82284k reserved, 226304K highmem
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0926604 (9338 kB)
.init : 0xc0927000 - 0xc0960140 ( 229 kB)
.data : 0xc0962000 - 0xc09d7d40 ( 472 kB)
.bss : 0xc09d7d40 - 0xc0c6b87c (2639 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Global timer: MESON TIMER-F (c097d440) initialized
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] meson_serial_console_setup
[ 0.000000] console [ttyS0] enabled
[ 0.341982] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.352266] pid_max: default: 32768 minimum: 301
[ 0.357201] Security Framework initialized
[ 0.361315] AppArmor: AppArmor initialized
[ 0.365551] Mount-cache hash table entries: 512
[ 0.374486] Initializing cgroup subsys memory
[ 0.374699] Initializing cgroup subsys devices
[ 0.379247] Initializing cgroup subsys freezer
[ 0.383899] Initializing cgroup subsys blkio
[ 0.388251] Initializing cgroup subsys perf_event
[ 0.393297] CPU: Testing write buffer coherency: ok
[ 0.398568] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[ 0.404059] Setting up static identity map for 0xc0682f80 - 0xc0682fd8
[ 0.410755] L310 cache controller enabled
[ 0.414745] l2x0: 8 ways, 2048 sets, CACHE_ID 0x4100a0c9, Cache size: 524288 B
[ 0.422238] AUX_CTRL 0x7ec60001, PERFETCH_CTRL 0x75000007, POWER_CTRL 0x00000000
[ 0.430340] TAG_LATENCY 0x00000111, DATA_LATENCY 0x00000222
[ 0.510341] CPU1: Booted secondary processor
[ 0.510361] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[ 0.530341] CPU2: Booted secondary processor
[ 0.530353] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[ 0.550336] CPU3: Booted secondary processor
[ 0.550348] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[ 0.550439] Brought up 4 CPUs
[ 0.578619] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[ 0.584845] CPU: All CPU(s) started in SVC mode.
[ 0.590354] devtmpfs: initialized
[ 0.599827] clkrate [ xtal ] : 24000000
[ 0.599859] clkrate [ pll_sys ] : 1200000000
[ 0.602816] clkrate [ pll_fixed ] : 2550000000
[ 0.607469] clkrate [ pll_vid ] : 732000000
[ 0.611896] clkrate [ pll_ddr ] : 0
[ 0.615609] clkrate [ a9_clk ] : 1200000000
[ 0.620036] clkrate [ clk81 ] : 159375000
[ 0.624658] pinctrl core: initialized pinctrl subsystem
[ 0.629848] regulator-dummy: no parameters
[ 0.635799] NET: Registered protocol family 16
[ 0.642776] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.646791] VPU driver version: v02
[ 0.649205] load vpu_clk in dts: 182150000Hz(3)
[ 0.653934] vpu_probe OK
[ 0.656600] cma: Assigned CMA region with name cma_0 to amvenc_avc.0 device
[ 0.665480] amlogic_gpio gpio: Probed amlogic GPIO driver
[ 0.669634] register lm device lm-root
[ 0.673155] register lm device lm1
[ 0.676682] register lm device lm0
[ 0.680283] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.688341] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.694424] Init pinux probe!
[ 0.698120] pinmux-m8b pinmux: Probed amlogic pinctrl driver
[ 0.703284] tv_init_module
[ 0.706098] major number 254 for disp
[ 0.709901] vout_register_server
[ 0.713292] register tv module server ok
[ 0.717408] call aml_dvfs_init in
[ 0.720869] [DVFS]aml_dvfs_probe, child name:vcck_dvfs
[ 0.720882] [DVFS]dvfs table of vcck_dvfs is:
[ 0.720890] [DVFS] freq, min_uV, max_uV
[ 0.720897] [DVFS] 96000, 825000, 825000
[ 0.720903] [DVFS] 192000, 825000, 825000
[ 0.720910] [DVFS] 312000, 825000, 825000
[ 0.720917] [DVFS] 408000, 825000, 825000
[ 0.720923] [DVFS] 504000, 825000, 825000
[ 0.720930] [DVFS] 600000, 825000, 825000
[ 0.720937] [DVFS] 720000, 825000, 825000
[ 0.720943] [DVFS] 816000, 850000, 850000
[ 0.720950] [DVFS] 1008000, 875000, 875000
[ 0.720957] [DVFS] 1200000, 925000, 925000
[ 0.720963] [DVFS] 1320000, 1100000, 1100000
[ 0.720970] [DVFS] 1488000, 1100000, 1100000
[ 0.720977] [DVFS] 1536000, 1140000, 1140000
[ 0.720984] [DVFS] 1632000, 1140000, 1140000
[ 0.720990] [DVFS] 1728000, 1140000, 1140000
[ 0.720997] [DVFS] 1824000, 1140000, 1140000
[ 0.721071] hdmitx: system: amhdmitx_init
[ 0.724968] hdmitx: system: Ver: 2014May6
[ 0.729185] hdmitx: system: amhdmitx_probe
[ 0.733674] hdmitx: system: gate/pwr cmd: 7
[ 0.737697] hdmitx: system: ALREADY init VIC = 4
[ 0.742475] hdmitx: system: gate/pwr cmd: 0
[ 0.747212] hdmitx: system: reset intr mask
[ 0.779021] bio: create slab <bio-0> at 0
[ 0.779713] SCSI subsystem initialized
[ 0.781674] usbcore: registered new interface driver usbfs
[ 0.787135] usbcore: registered new interface driver hub
[ 0.792657] usbcore: registered new device driver usb
[ 0.797817] media: Linux media interface: v0.10
[ 0.802479] Linux video capture interface: v2.00
[ 0.810965] get property: use_pwm, value:0x00000001, dec: 1
[ 0.814892] get property: table_count, value:0x0000001d, dec: 29
[ 0.822618] meson_cs_dvfs_probe, table count:29, use_pwm:1, pwm controller:2
[ 0.829782] 0, 010f001b, 860000
[ 0.833258] 1, 01050025, 870000
[ 0.836708] 2, 00fc002e, 880000
[ 0.840183] 3, 00f30037, 890000
[ 0.843635] 4, 00ea0040, 900000
[ 0.847099] 5, 00e10049, 910000
[ 0.850573] 6, 00d60054, 920000
[ 0.854026] 7, 00cb005f, 930000
[ 0.857489] 8, 00c0006a, 940000
[ 0.860963] 9, 00b50075, 950000
[ 0.864417] 10, 00aa0080, 960000
[ 0.867880] 11, 00a0008a, 970000
[ 0.871354] 12, 00960094, 980000
[ 0.874807] 13, 008d009d, 990000
[ 0.878271] 14, 007b00af, 1000000
[ 0.881745] 15, 007200b8, 1010000
[ 0.885198] 16, 006900c1, 1020000
[ 0.888661] 17, 006000ca, 1030000
[ 0.892136] 18, 005700d3, 1040000
[ 0.895588] 19, 004e00dc, 1050000
[ 0.899052] 20, 004500e5, 1060000
[ 0.902526] 21, 003c00ee, 1070000
[ 0.905979] 22, 003300f7, 1080000
[ 0.909442] 23, 002a0100, 1090000
[ 0.912917] 24, 00180109, 1100000
[ 0.916370] 25, 000f011b, 1110000
[ 0.919833] 26, 000a0120, 1120000
[ 0.923307] 27, 00050125, 1130000
[ 0.926760] 28, 0000012a, 1140000
[ 0.930277] get pin for pwm--------
[ 0.933863] [DVFS]aml_dvfs_register_driver, driver meson-cs-dvfs regist success, mask:1, source id:1
[ 0.934091] Advanced Linux Sound Architecture Driver Initialized.
[ 0.940533] Bluetooth: Core ver 2.16
[ 0.943853] NET: Registered protocol family 31
[ 0.948407] Bluetooth: HCI device and connection manager initialized
[ 0.954932] Bluetooth: HCI socket layer initialized
[ 0.959929] Bluetooth: L2CAP socket layer initialized
[ 0.965152] Bluetooth: SCO socket layer initialized
[ 0.970309] Loading modules backported from Linux version next-20150129-0-g828f79f
[ 0.977847] Backport integrated by backports.git backports-20150129-0-gdd4a670
[ 0.985443] cfg80211: Calling CRDA to update world regulatory domain
[ 0.992496] Switching to clocksource Timer-E
[ 0.996453] AppArmor: AppArmor Filesystem Enabled
[ 1.008587] NET: Registered protocol family 2
[ 1.009320] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.014769] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.021387] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.027817] TCP: reno registered
[ 1.031127] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.037227] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.043936] NET: Registered protocol family 1
[ 1.048403] Unpacking initramfs...
[ 1.315070] Freeing initrd memory: 5280K (c4e08000 - c5330000)
[ 1.316247] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 3 counters available
[ 1.324186] audit: initializing netlink socket (disabled)
[ 1.329260] type=2000 audit(1.230:1): initialized
[ 1.334762] bounce pool size: 64 pages
[ 1.343308] VFS: Disk quotas dquot_6.5.2
[ 1.343577] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.350671] aufs 3.10.x
[ 1.351301] msgmni has been set to 1423
[ 1.356768] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.362806] io scheduler noop registered
[ 1.366898] io scheduler deadline registered
[ 1.371417] io scheduler cfq registered (default)
[ 1.420140] [drm] Initialized drm 1.1.0 20060810
[ 1.420297] gpu cooling register okay with err=0
[ 1.426880] Mali: Mali device driver loaded
[ 1.428550] UMP: UMP device driver -jenkins-deb_kernel_c1-192-2-g409d98d69865 loaded
[ 1.439281] loop: module loaded
[ 1.440106] tun: Universal TUN/TAP device driver, 1.6
[ 1.444754] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 1.451236] PPP generic driver version 2.4.2
[ 1.455844] usbcore: registered new interface driver usb-storage
[ 1.461771] usbcore: registered new interface driver usbserial
[ 1.467666] usbcore: registered new interface driver usbserial_generic
[ 1.474307] usbserial: USB Serial support registered for generic
[ 1.480693] mousedev: PS/2 mouse device common for all mice
[ 1.486414] i2c /dev entries driver
[ 1.490139] device-mapper: uevent: version 1.0.3
[ 1.494822] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[ 1.503274] Bluetooth: HCI UART driver ver 2.2
[ 1.507723] Bluetooth: HCI H4 protocol initialized
[ 1.512639] Bluetooth: HCI BCSP protocol initialized
[ 1.517763] Bluetooth: HCILL protocol initialized
[ 1.522596] Bluetooth: HCIATH3K protocol initialized
[ 1.527720] Bluetooth: HCI Three-wire UART (H5) protocol initialized
[ 1.534743] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.540437] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.546129] usbcore: registered new interface driver usbhid
[ 1.551625] usbhid: USB HID core driver
[ 1.555813] efuse===========================================
[ 1.561543] efuse: device efuse created
[ 1.565417] efuse--------------------------------------------
[ 1.571281] vout_init_module
[ 1.574319] start init vout module
[ 1.578061] create vout attribute ok
[ 1.582059] ge2d_init
[ 1.584424] ge2d_dev major:244
[ 1.587875] ge2d start monitor
[ 1.591082] osd_init
[ 1.591095] ge2d workqueue monitor start
[ 1.597818] amlvideo-000: V4L2 device registered as video10
[ 1.603437] ionvideo-000: V4L2 device registered as video13
[ 1.608949] Video Technology Magazine Ion Video Capture Board ver 1.0 successfully loaded.
[ 1.617340] DI: di_init
[ 1.617378] DI: di_probe
[ 1.617728] aml_wdt_driver_init,306
[ 1.620960] ** disable watchdog
[ 1.624343] one-secod=7812,min_timeout=1,max_timeout=8,default_timeout=10,reset_watchdog_method=0,reset_watchdog_time=2,shutdown_timeout=10,fi6
[ 1.640363] AML Watchdog Timer probed done
[ 1.644736] set uart_ao pinmux use pinctrl subsystem
[ 1.649590] P_AO_RTI_PIN_MUX_REG:1801
[ 1.653362] start uart_ao_ttyS0:(irq = 122)
[ 1.657719] register uart_ao ok
[ 1.661199] set uart_b pinmux use pinctrl subsystem
[ 1.665986] P_AO_RTI_PIN_MUX_REG:1801
[ 1.669866] start uart_b_ttyS2:(irq = 107)
[ 1.674039] register uart_b ok
[ 1.677363] dwc_otg: version 3.10a 12-MAY-2014
[ 1.681854] dwc_otg_driver_probe NOT match
[ 1.726090] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: fe108820, ctrl: fe080000
[ 1.729105] USB (1) use clock source: XTAL input
[ 1.754945] Core Release: 3.10a
[ 1.754973] Setting default values for core params
[ 1.757616] curmode: 1, host_only: 1
[ 1.781437] Using Buffer DMA mode
[ 1.781464] OTG VER PARAM: 1, OTG VER FLAG: 1
[ 1.783794] Working on port type = HOST
[ 1.788022] dwc_otg lm1: DWC OTG Controller
[ 1.792126] dwc_otg lm1: new USB bus registered, assigned bus number 1
[ 1.798850] dwc_otg lm1: irq 63, io mem 0x00000000
[ 1.803710] -------hcd->flags.d32 = 0
[ 1.807582] Init: Port Power? op_state=1
[ 1.811589] Init1: Power Port (0)
[ 1.815557] hub 1-0:1.0: USB hub found
[ 1.819019] hub 1-0:1.0: 1 port detected
[ 1.823194] usb0: type: 0, speed: 0, config: 0, dma: 0, id: 0, phy: fe108800, ctrl: fe040000
[ 1.831652] USB (0) use clock source: XTAL input
[ 1.857491] Core Release: 3.10a
[ 1.857519] Setting default values for core params
[ 1.860113] curmode: 1, host_only: 0
[ 1.923955] Using Buffer DMA mode
[ 1.923983] OTG VER PARAM: 1, OTG VER FLAG: 1
[ 1.926355] Working on port type = OTG
[ 1.930209] Current port type: SLAVE
[ 1.934092] dwc_otg lm0: DWC OTG Controller
[ 1.938330] dwc_otg lm0: new USB bus registered, assigned bus number 2
[ 1.944950] dwc_otg lm0: irq 62, io mem 0x00000000
[ 1.950369] hub 2-0:1.0: USB hub found
[ 1.953774] hub 2-0:1.0: 1 port detected
[ 1.958025] Dedicated Tx FIFOs mode
[ 1.961828] using timer detect id change, ec8ee000
[ 1.966605] ethernet_driver probe!
[ 1.969967] ethernetinit(dbg[c09b5340]=1)
[ 1.974136] ethernet base addr is fe0c0000
[ 1.978456] write mac add to:ebe24648: 00 1e 06 12 0e 10 |...|
[ 1.988624] libphy: AMLMAC MII Bus: probed
[ 1.988834] eth0: PHY ID 001cc916 at 0 IRQ -1 (0:00) active
[ 1.994546] eth0: PHY ID 001cc916 at 1 IRQ -1 (0:01) active
[ 2.000474] amvideocap_init_module
[ 2.003918] amvideocap_probe,amvideocap
[ 2.007855] amvideocap_dev_register buf:06100000,size:a00000.
[ 2.014060] [tsync_pcr_init]init success.
[ 2.018026] Indeed it is in host mode hprt0 = 00021501
[ 2.018042] regist mpeg12 codec profile
[ 2.018087] regist mpeg4 codec profile
[ 2.018089] amvdec_vc1 module init
[ 2.018138] regist vc1 codec profile
[ 2.018140] amvdec_h264 module init
[ 2.018214] regist h264 codec profile
[ 2.018216] amvdec_h265 module init
[ 2.018257] regist hevc codec profile
[ 2.018299] regist mjpeg codec profile
[ 2.018301] amvdec_real module init
[ 2.018342] regist real codec profile
[ 2.018344] amvdec_avs module init
[ 2.018455] amvenc_avc memory resource undefined.
[ 2.018457] encode_wq_init.
[ 2.018462] encode start monitor.
[ 2.018566] encode workqueue monitor start.
[ 2.083924] regist avc codec profile
[ 2.087504] jpegenc module init
[ 2.090953] alloc_keep_buffer keep_y_addr eba00000
[ 2.095750] alloc_keep_buffer keep_u_addr ebf00000
[ 2.100704] alloc_keep_buffer keep_v_addr ec000000
[ 2.105569] yaddr=eba00000,u_addr=ebf00000,v_addr=ec000000
[ 2.111488] request vpu clk holdings: vencp 106250000Hz
[ 2.116599] TV mode 720p selected.
[ 2.120099] already display in uboot
[ 2.123901] create_ge2d_work_queue video task ok
[ 2.128978] SARADC Driver init.
[ 2.132074] __saradc_probe__
[ 2.256186] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.257412] Indeed it is in host mode hprt0 = 00001101
[ 2.276305] saradc calibration: ref_val = 506
[ 2.276340] saradc calibration: ref_nominal = 512
[ 2.280070] saradc calibration: coef = 4064
[ 2.284608] ir irblaster probe
[ 2.287818] Remote Driver
[ 2.290442] ==touch_ts_init==
[ 2.293545] ==ft5x0x_ts_init==
[ 2.296769] ==goodix_ts_init==
[ 2.299924] i2c-core: driver [gslx680_compatible] using legacy suspend method
[ 2.307197] i2c-core: driver [gslx680_compatible] using legacy resume method
[ 2.314398] !!!ntp_ts: ret = 0.
[ 2.317756] VTL ct36x TouchScreen driver, <george.chen@vtl.com.cn>.
[ 2.324150] i2c-core: driver [ct36x] using legacy suspend method
[ 2.330321] i2c-core: driver [ct36x] using legacy resume method
[ 2.336371] VTL ct36x TouchScreen driver End.
[ 2.340832] ==gsl_ts_init==
[ 2.343805] ret=0
[ 2.346040] i2c-core: driver [mir3da] using legacy suspend method
[ 2.352138] i2c-core: driver [mir3da] using legacy resume method
[ 2.358308] i2c-core: driver [lis3dh_acc] using legacy suspend method
[ 2.364842] i2c-core: driver [lis3dh_acc] using legacy resume method
[ 2.371407] i2c-core: driver [bma222] using legacy suspend method
[ 2.377600] i2c-core: driver [bma222] using legacy resume method
[ 2.383783] i2c-core: driver [dmard06] using legacy suspend method
[ 2.390062] i2c-core: driver [dmard06] using legacy resume method
[ 2.396329] lsm303d driver: init
[ 2.399673] i2c-core: driver [dmard10] using legacy suspend method
[ 2.405946] i2c-core: driver [dmard10] using legacy resume method
[ 2.412263] stk8313_init
[ 2.414889] ======stk831x init ok======
[ 2.418891] stk831x_init
[ 2.421561] mxc622x accelerometer driver: init
[ 2.426195] i2c-core: driver [mxc622x] using legacy suspend method
[ 2.432466] i2c-core: driver [mxc622x] using legacy resume method
[ 2.438719] mxc6255xc accelerometer driver: init
[ 2.443469] i2c-core: driver [mxc6255xc] using legacy suspend method
[ 2.449986] i2c-core: driver [mxc6255xc] using legacy resume method
[ 2.456465] cm3217 v.1.0.0.1
[ 2.458279] hub 1-1:1.0: USB hub found
[ 2.458607] hub 1-1:1.0: 4 ports detected
[ 2.467518] i2c-core: driver [elan_epl6814] using legacy suspend method
[ 2.474179] i2c-core: driver [elan_epl6814] using legacy resume method
[ 2.480930] i2c-core: driver [LTR501] using legacy suspend method
[ 2.487124] i2c-core: driver [LTR501] using legacy resume method
[ 2.493344] mmc driver version: 1.07, 2014-06-30: eMMC add hw reset function
[ 2.501389] host->base fe108e00
[ 2.503784] pdata->caps 80000546
[ 2.507115] pdata->caps2 21
[ 2.510028] get property: port, value:0x00000005
[ 2.516535] get property: ocr_avail, value:0x00200080
[ 2.523015] get property: f_min, value:0x000493e0
[ 2.529522] get property: f_max, value:0x05f5e100
[ 2.536004] get property: max_req_size, value:0x00020000
[ 2.542515] get property: pinname, str:emmc
[ 2.548313] get property: card_type, value:0x00000001
[ 2.554797] get property: gpio_dat3, str:BOOT_3
[ 2.560851] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=1
[ 2.626197] emmc: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 2.627342] aml_emmc_hw_reset 1379
[ 2.686186] [aml_sdhc_probe] aml_sdhc_probe() success!
[ 2.686928] host->base fe108c20
[ 2.689185] pdata->caps 107
[ 2.692101] pdata->caps2 0
[ 2.694958] get property: port, value:0x00000001
[ 2.701471] get property: ocr_avail, value:0x00200000
[ 2.707960] get property: f_min, value:0x000493e0
[ 2.714440] get property: f_max, value:0x02faf080
[ 2.720946] get property: f_max_w, value:0x02faf080
[ 2.727442] get property: max_req_size, value:0x00020000
[ 2.729077] emmc: BKOPS_EN bit is not set
[ 2.729080] ###check hw reset function is already enabled here
[ 2.744067] get property: irq_in, value:0x00000003
[ 2.750606] get property: irq_out, value:0x00000005
[ 2.753672] [aml_sd_voltage_switch] switch to 1.8V for a non-uhs device.
[ 2.753673] emmc: new HS200 MMC card at address 0001, clock 38636363, 8-bit-bus-width
[ 2.754044] mmcblk0: emmc:0001 8GTF4R 7.28 GiB
[ 2.754839] mmcblk0: p1 p2
[ 2.782377] get property: gpio_cd, str:CARD_6
[ 2.788353] usb 1-1.2: new high-speed USB device number 3 using dwc_otg
[ 2.795082] get property: pinname, str:sd
[ 2.800717] get property: card_type, value:0x00000005
[ 2.807240] get property: gpio_dat3, str:CARD_4
[ 2.813170] get property: gpio_volsw, str:GPIOAO_3
[ 2.856222] sd: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 2.926190] [aml_sdio_probe] aml_sdio_probe() success!
[ 2.926320] [dsp]DSP start addr 0xc5e00000
[ 2.930167] [dsp]register dsp to char divece(257)
[ 2.935932] aml_rtc rtc.1: rtc core: registered aml_rtc as rtc0
[ 2.942505] amlogic rfkill init
[ 2.944389] Bluetooth: btwake_control_init Driver Ver 1.1
[ 2.950053]
dev_ion memory resource undefined2.
[ 2.956225] ion_dev: probe of ion_dev failed with error -14
[ 2.961976] aml_hw_crypto initialization.
[ 2.967349] enter aml_i2s_dai_probe
[ 2.967359] i2s get no clk src setting in dts, use the default mpll 0
[ 2.972736] enter aml_pcm_dai_probe
[ 2.972935] enter spdif_dit_probe
[ 2.976241] aml_spdif_unmute
[ 2.980303] aml-i2s 0:playback preallocate_dma_buffer: area=f04e6000, addr=3d840000, size=65536
[ 2.988500] aml-i2s 1:capture preallocate_dma_buffer: area=f04f8000, addr=3d860000, size=65536
[ 2.996948] aml_snd_m8 aml_m8_sound_card.4: dit-hifi <-> aml-spdif-dai.0 mapping ok
[ 3.005627] GACT probability NOT on
[ 3.008440] Mirror/redirect action on
[ 3.012902] NET: Registered protocol family 10
[ 3.016474] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.024492] mip6: Mobile IPv6
[ 3.026708] sit: IPv6 over IPv4 tunneling driver
[ 3.032345] NET: Registered protocol family 17
[ 3.036030] NET: Registered protocol family 15
[ 3.040719] Bridge firewalling registered
[ 3.044902] Bluetooth: RFCOMM TTY layer initialized
[ 3.049848] Bluetooth: RFCOMM socket layer initialized
[ 3.055055] Bluetooth: RFCOMM ver 1.11
[ 3.058995] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.064430] Bluetooth: BNEP filters: protocol multicast
[ 3.069823] Bluetooth: BNEP socket layer initialized
[ 3.074884] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.081007] Bluetooth: HIDP socket layer initialized
[ 3.086074] NET: Registered protocol family 35
[ 3.091359] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[ 3.098513] Registering SWP/SWPB emulation handler
[ 3.103507] pm-meson: probe of aml_pm_m8 failed with error -1
[ 3.109771] registered taskstats version 1
[ 3.113601] regulator-dummy: disabling
[ 3.117679] Mali DRM initialize, driver name: mali_drm, version 2.1
[ 3.124052] [drm] Initialized mali_drm 2.1.1 20140306 on minor 0
[ 3.130065] Mali DRM initialize, driver name: mali_drm, version 2.1
[ 3.136627] [drm] Initialized mali_drm 2.1.1 20140306 on minor 1
[ 3.143075] aml_rtc rtc.1: setting system clock to 1970-01-01 00:00:00 UTC (0)
[ 3.149950] ### dt-test ### No testcase data in device tree; not running tests
[ 3.157366] meson_cpufreq_probe:SYSPLL request to be fixed
[ 3.162886] meson_cpufreq: no voltage_control prop
[ 3.167841] voltage_control = 0
[ 3.171924] <<-GTP-INFO->> GTP driver installing...
[ 3.176350] buf[0]=af,buf[1]=b2,err=4
[ 3.179928] adc=405,TS_C=15,flag=1
[ 3.183472] efuse_flag=a
[ 3.186175] amlogic_thermal_probe, this chip is trimmed, use thermal
[ 3.192651] amlogic-thermal aml_thermal: amlogic thermal probe start
[ 3.199155] #thermal-cells=7
[ 3.202172] pdata->temp_trip_count=4
[ 3.205901] temperature=70 on trip point=0
[ 3.210149] fixing high_freq=1488001 to 1488000 at trip point 0,level=4
[ 3.216900] fixing low_freq=1488001 to 1488000 at trip point 0,level=4
[ 3.223559] gpu[0].gpu_high_freq=511,tmp_level[0].gpu_high_freq=511
[ 3.229975] cpu[0] core num==3
[ 3.233170] gpu[0] core num==2
[ 3.236386] temperature=80 on trip point=1
[ 3.240616] fixing high_freq=1200001 to 1200000 at trip point 1,level=7
[ 3.247388] fixing low_freq=1200001 to 1200000 at trip point 1,level=7
[ 3.254038] gpu[1].gpu_high_freq=435,tmp_level[1].gpu_high_freq=435
[ 3.260454] cpu[1] core num==2
[ 3.263649] gpu[1] core num==2
[ 3.266862] temperature=90 on trip point=2
[ 3.271095] fixing high_freq=800001 to 696000 at trip point 2,level=12
[ 3.277774] fixing low_freq=800001 to 696000 at trip point 2,level=12
[ 3.284344] gpu[2].gpu_high_freq=328,tmp_level[2].gpu_high_freq=328
[ 3.290761] cpu[2] core num==1
[ 3.293954] gpu[2] core num==1
[ 3.297168] temperature=110 on trip point=3
[ 3.301487] fixing high_freq=-1 to -22 at trip point 3,level=-1
[ 3.307557] fixing low_freq=-1 to -22 at trip point 3,level=-1
[ 3.313524] gpu[3].gpu_high_freq=-1,tmp_level[3].gpu_high_freq=-1
[ 3.319769] cpu[3] core num==-1
[ 3.323048] gpu[3] core num==-1
[ 3.326348] idle interval=1000
[ 3.329543] pdata->name:aml_thermal
[ 3.333382] tmp_trip[0].cpu_core_upper=1
[ 3.337274] tmp_trip[1].cpu_core_upper=2
[ 3.341327] tmp_trip[2].cpu_core_upper=3
[ 3.345396] tmp_trip[3].cpu_core_upper=-1
[ 3.349564] aml_thermal bind thermal-cpucore-0 okay !
[ 3.354772] aml_thermal bind thermal-cpufreq-0 okay !
[ 3.359949] pdata->tmp_trip[0].gpu_lower_level=1
[ 3.364698] pdata->tmp_trip[0].gpu_upper_level=1
[ 3.369478] pdata->tmp_trip[1].gpu_lower_level=2
[ 3.374222] pdata->tmp_trip[1].gpu_upper_level=2
[ 3.379009] pdata->tmp_trip[2].gpu_lower_level=4
[ 3.383747] pdata->tmp_trip[2].gpu_upper_level=4
[ 3.388528] pdata->tmp_trip[3].gpu_lower_level=-1
[ 3.393359] pdata->tmp_trip[3].gpu_upper_level=-1
[ 3.398226] aml_thermal bind thermal-gpufreq-0 okay !
[ 3.403533] amlogic: Kernel Thermal management registered
[ 3.408958] amlogic-thermal aml_thermal: amlogic thermal probe done
[ 3.415398] hdmitx: cec: CEC init
[ 3.418902] hdmitx: cec: CEC task process
[ 3.419047] input: cec_input as /devices/virtual/input/input0
[ 3.428968] hdmitx: cec: hdmitx_device->cec_init_ready:0x1
[ 3.434350] ALSA device list:
[ 3.437626] #0: ODROID-HDMI
[ 3.476373] Freeing unused kernel memory: 228K (c0927000 - c0960000)
[ 4.342063] tvmode set to 1024x600p60hz
[ 4.342263] switch_vpu_mem_pd: unsupport vpu mod
[ 4.347130] unsupport vmod
[ 4.349898] TV mode 1024x600p60hz selected.
[ 4.354242] tvoutc_setmode[462]
[ 4.357617] new mode 1024x600p60hz
set ok
[ 4.363448] hdmitx: video: get current mode: 1024x600p60hz
[ 4.369112] hdmitx: video: get current mode: 1024x600p60hz
[ 4.374738] hdmitx: system: gate/pwr cmd: 7
[ 4.379127] hdmitx: system: already init VIC = 0 Now VIC = 78
[ 4.385070] hdmitx: system: 78 (cd0,cs0,pm1,vd0,1)
[ 4.390222] hdmitx: system: gate/pwr cmd: 0
[ 4.394534] hdmitx: system: hw reset
[ 4.399324] hdmitx: audio: SPDIF
[ 4.401703] reconfig packet setting done
[ 4.425721] hdmitx: system: set pll
[ 4.425743] hdmitx: system: param->VIC:78
[ 4.427927] mode is: 21
[ 4.430515] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 4.434421] viu chan = 1
[ 4.437126] VPU_VIU_VENC_MUX_CTRL: 0xa
[ 4.441021] config HPLL
[ 4.456154] config HPLL done
[ 4.456180] enc_vpu_bridge_reset[314]
[ 4.596165] hdmitx: system: phy setting done
[ 4.596191] hdmi: Fixing to HDMI Mode
[ 4.598787] hdmi: Sink is HDMI device
[ 4.602611] hdmi: No sink attached
[ 4.606218] hdmitx: audio: audio channel num is 0
[ 4.611034] hdmitx: audio: SPDIF
[ 4.614425] hdmitx: audio: current VIC: 78
[ 4.618684] hdmitx: audio: audio sample rate: 0
[ 4.623363] hdmitx: audio: reset audio N para
[ 4.627895] hdmitx: audio: PCM out to HDMI
[ 4.643316] hdmitx: audio: Time out: AIU_HDMI_CLK_DATA_CTRL
[ 4.643419] hdmitx: audio: i2s_to_spdif_flag:1
[ 4.648120] hdmitx: audio: Enable audio spdif to HDMI
[ 4.653363] set_vout_mode[164]
[ 4.662876] tvmode set to 1024x600p60hz
[ 4.668286] don't set the same mode as current.
[ 4.770156] force enable DISCARD here for ext4 fs
[ 4.779025] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 4.788220] checked enable EXT4 DISCARD here
[ 4.790879] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 5.252734] systemd[1]: System time before build time, advancing clock.
[ 5.328201] systemd[1]: Inserted module 'autofs4'
[ 5.343478] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 5.385542] systemd[1]: systemd 245.4-4ubuntu3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSE)
[ 5.402852] systemd[1]: Detected architecture arm.
[ 5.436891] systemd[1]: Set hostname to <odroid>.
[ 5.936028] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run.
[ 6.181398] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 6.188590] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 6.199059] systemd[1]: Created slice system-modprobe.slice.
[ 6.227109] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 6.246997] systemd[1]: Created slice User and Session Slice.
[ 6.266640] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 6.286529] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.307073] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 6.326545] systemd[1]: Reached target Local Encrypted Volumes.
[ 6.346505] systemd[1]: Reached target Paths.
[ 6.366380] systemd[1]: Reached target Remote File Systems.
[ 6.386339] systemd[1]: Reached target Slices.
[ 6.406395] systemd[1]: Reached target Swap.
[ 6.426977] systemd[1]: Listening on Syslog Socket.
[ 6.446588] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 6.466772] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 6.469821] systemd[1]: Listening on Journal Socket (/dev/log).
[ 6.496861] systemd[1]: Listening on Journal Socket.
[ 6.516870] systemd[1]: Listening on udev Control Socket.
[ 6.536660] systemd[1]: Listening on udev Kernel Socket.
[ 6.556792] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 6.562412] systemd[1]: Mounting POSIX Message Queue File System...
[ 6.589662] systemd[1]: Mounting Kernel Debug File System...
[ 6.606828] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[ 6.615032] systemd[1]: Starting Journal Service...
[ 6.640116] systemd[1]: Starting Set the console keyboard layout...
[ 6.659987] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 6.686494] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[ 6.693391] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 6.704234] systemd[1]: Starting Load Kernel Modules...
[ 6.720340] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 6.739951] systemd[1]: Starting udev Coldplug all Devices...
[ 6.744518] pcm5102_platform_probe
[ 6.763077] systemd[1]: Started Journal Service.
[ 6.766574] card->pinctrl_name:odroid_i2s
[ 6.767415] aml-i2s 0:playback preallocate_dma_buffer: area=f0760000, addr=3d900000, size=65536
[ 6.771599] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 6.777752] odroid_snd odroid_sound_card.5: pcm5102 <-> aml-i2s-dai.0 mapping ok
[ 7.237173] systemd-journald[179]: Received client request to flush runtime journal.
[ 7.242526] systemd-journald[179]: File /var/log/journal/7a18bd66c48041c9a76bb5890b64483d/system.journal corrupted or uncleanly shut down, ren.
[ 7.269272] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:755: group 19, 13512 clusters in bitmap, 11464 in gd
[ 7.277275] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:755: group 26, 12541 clusters in bitmap, 12542 in gd
[ 8.396753] gpiomem-meson c1108000.gpiomem: Initialised: Registers at 0xc1108000
[ 8.515294] Driver for 1-wire Dallas network protocol.
[ 8.607234] gspca_main: v2.14.0 registered
[ 8.635204] gspca_main: ov534-2.14.0 probing 1415:2000
[ 8.811598] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 8.816535] usb 1-1.2: reset high-speed USB device number 3 using dwc_otg
[ 8.857235] sd: mmc_rescan_try_freq: trying to init card at 300000 Hz
[ 8.929740] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[ 8.969984] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[ 8.970611] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 8.971647] usbcore: registered new interface driver rt2800usb
[ 9.388345] ionvideo open
[ 9.388712] ionvideo_stop_generating!!!!
[ 9.388738] ionvideo release
[ 10.607494] usbcore: registered new interface driver ov534
[ 10.692724] usbcore: registered new interface driver snd-usb-audio
[ 12.773040] netdev_open
[ 12.773069] Ethernet reset
[ 12.773111] NET MDA descpter start addr=ead00000
[ 12.914100] phy_interface = 0
[ 12.914122] aml_phy_init: trying to attach to 0:01
[ 12.914298] am_rtl811f called phy reset
[ 9.378066] amlvideo openamlvideo close
[ 12.926394] --1--write mac add to:
[ 12.926411] ebe24648: 00 1e 06 12 0e 10 |...|
[ 12.926426] --2--write mac add to:ebe24648: 00 1e 06 12 0e 10 |...|
[ 12.926444] write mac add to:ebe24648: 00 1e 06 12 0e 10 |...|
[ 12.926478] Current DMA mode=0, set mode=621c100
[ 12.926514] eth0: opened (irq 40).
[ 12.936708] ether leave promiscuous mode
[ 12.936736] ether leave all muticast mode
[ 12.936836] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.046436] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 13.065563] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[ 13.353394] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 14.933449] wlan0: authenticate with b0:7f:b9:7d:9c:83
[ 14.963612] wlan0: send auth to b0:7f:b9:7d:9c:83 (try 1/3)
[ 14.965732] wlan0: authenticated
[ 14.976200] wlan0: associate with b0:7f:b9:7d:9c:83 (try 1/3)
[ 14.979805] wlan0: RX AssocResp from b0:7f:b9:7d:9c:83 (capab=0x1411 status=0 aid=3)
[ 14.986737] wlan0: associated
[ 14.986820] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 305.148480] EXT4-fs (mmcblk0p2): error count since last fsck: 115
[ 305.148497] EXT4-fs (mmcblk0p2): initial error at time 1599794923: ext4_mb_generate_buddy:755
[ 305.148505] EXT4-fs (mmcblk0p2): last error at time 1585761824: ext4_mb_generate_buddy:755
Code: Select all
root@odroid:~# pulseaudio -D
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
root@odroid:~# pacmd list-cards
3 card(s) available.
index: 0
name: <alsa_card.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "2"
alsa.card_name = "USB Camera-B4.09.24.1"
alsa.long_card_name = "OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-lm1-1.3, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "/devices/lm1/usb1/1-1/1-1.3/1-1.3:1.1/sound/card2"
sysfs.path = "/devices/lm1/usb1/1-1/1-1.3/1-1.3:1.1/sound/card2"
udev.id = "usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01"
device.bus = "usb"
device.vendor.id = "1415"
device.vendor.name = "Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc."
device.product.id = "2000"
device.product.name = "Sony Playstation Eye"
device.serial = "OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1"
device.string = "2"
device.description = "Sony Playstation Eye"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
profiles:
input:multichannel-input: Multichannel Input (priority 1, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <input:multichannel-input>
sources:
alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input/#0: Sony Playstation Eye Multichannel
index: 1
name: <alsa_card.platform-aml_m8_sound_card.4>
driver: <module-alsa-card.c>
owner module: 8
properties:
alsa.card = "0"
alsa.card_name = "ODROID-HDMI"
alsa.long_card_name = "ODROID-HDMI"
device.bus_path = "platform-aml_m8_sound_card.4"
sysfs.path = "/devices/platform/aml_m8_sound_card.4/sound/card0"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
input:stereo-fallback: Stereo Input (priority 51, available: unknown)
input:mono-fallback: Mono Input (priority 1, available: unknown)
input:multichannel-input: Multichannel Input (priority 1, available: unknown)
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (priority 5151, available: unknown)
output:stereo-fallback+input:mono-fallback: Stereo Output + Mono Input (priority 5101, available: unknown)
output:stereo-fallback+input:multichannel-input: Stereo Output + Multichannel Input (priority 5101, available: unknown)
output:mono-fallback: Mono Output (priority 100, available: unknown)
output:mono-fallback+input:stereo-fallback: Mono Output + Stereo Input (priority 151, available: unknown)
output:mono-fallback+input:mono-fallback: Mono Output + Mono Input (priority 101, available: unknown)
output:mono-fallback+input:multichannel-input: Mono Output + Multichannel Input (priority 101, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
output:multichannel-output+input:stereo-fallback: Multichannel Output + Stereo Input (priority 151, available: unknown)
output:multichannel-output+input:mono-fallback: Multichannel Output + Mono Input (priority 101, available: unknown)
output:multichannel-output+input:multichannel-input: Multichannel Duplex (priority 101, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback+input:stereo-fallback>
sinks:
alsa_output.platform-aml_m8_sound_card.4.stereo-fallback/#0: Built-in Audio Stereo
sources:
alsa_output.platform-aml_m8_sound_card.4.stereo-fallback.monitor/#1: Monitor of Built-in Audio Stereo
alsa_input.platform-aml_m8_sound_card.4.stereo-fallback/#2: Built-in Audio Stereo
ports:
analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
properties:
multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
properties:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
index: 2
name: <alsa_card.platform-odroid_sound_card.5>
driver: <module-alsa-card.c>
owner module: 9
properties:
alsa.card = "1"
alsa.card_name = "ODROID-DAC"
alsa.long_card_name = "ODROID-DAC"
alsa.driver_name = "snd_soc_odroid_dac"
device.bus_path = "platform-odroid_sound_card.5"
sysfs.path = "/devices/platform/odroid_sound_card.5/sound/card1"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
output:stereo-fallback: Stereo Output (priority 5100, available: unknown)
output:multichannel-output: Multichannel Output (priority 100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:stereo-fallback>
sinks:
alsa_output.platform-odroid_sound_card.5.stereo-fallback/#1: Built-in Audio Stereo
sources:
alsa_output.platform-odroid_sound_card.5.stereo-fallback.monitor/#3: Monitor of Built-in Audio Stereo
ports:
analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
properties:
multichannel-output: Multichannel Output (priority 0, latency offset 0 usec, available: unknown)
properties:
Code: Select all
root@odroid:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
shared memfd open() failed: Function not implemented
card 0: ODROIDHDMI [ODROID-HDMI], device 0: SPDIF PCM dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: PCM5102 HiFi pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
module-echo-cancel can be enabled in /etc/pulse/default.pa
Code: Select all
.ifexists module-echo-cancel.so
load-module module-echo-cancel aec_method=webrtc source_name=echocancel sink_na>
set-default-source echocancel
set-default-sink echocancel1
.endif
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Got it!!
and the eye cam microphones work, now to work on noise cancellation and beamforming
Code: Select all
pulseaudio -D
pacmd load-module module-alsa-source device=hw:2,0
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
I made a couple of recordings and they sound pretty good but parecord seems to have recorded a single mono channel.
My experiment was to mute source volume on 3 microphones at a time to determine which one is which so I could start working on the beamforming part but the recordings sound the same regardless of which mic I cover.
I guess I need to learn more about parecord, but tonight I got the array working, learned how to adjust gain volume, got both pulseaudio running and loaded the module for the mics at startup, and I think echo/noise cancellation working. Not a bad night's work.
My experiment was to mute source volume on 3 microphones at a time to determine which one is which so I could start working on the beamforming part but the recordings sound the same regardless of which mic I cover.
I guess I need to learn more about parecord, but tonight I got the array working, learned how to adjust gain volume, got both pulseaudio running and loaded the module for the mics at startup, and I think echo/noise cancellation working. Not a bad night's work.
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
Yeah, after sleeping well I find the cause: Need to add user to group audio.
Then no need to use sudo and pulseaudio can start module-echo-cancel.
But I need to give property
But when I try to connect another usb audio device to I get kernel panic. Seems that C1 kernel don't like two snd_usb_audio devices:

sudo adduser joerg audio
Then no need to use sudo and pulseaudio can start module-echo-cancel.
But I need to give property
source_master=alsa_input.hw_1_0
as my micro is at hw:1,0.
Code: Select all
module.c: Loaded "module-echo-cancel" (index: #21; argument: "use_master_format=1 source_master=alsa_input.hw_1_0 aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1 beamforming=1 mic_geometry=-0.03,0,0,-0.01,0,0,0.01,0,0,0.03,0,0" sink_name=echoCancelSink source_name=echoCancelSource ").
Code: Select all
pacmd list-sources | grep -e 'name:' -e 'index:'
index: 0
name: <alsa_input.hw_1_0>
index: 1
name: <alsa_output.platform-aml_m8_sound_card.4.stereo-fallback.monitor>
index: 2
name: <alsa_input.platform-aml_m8_sound_card.4.stereo-fallback>
index: 3
name: <echoCancelSource>
index: 4
name: <echoCancelSink.monitor>
* index: 5
name: <alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input>
Code: Select all
pacmd list-sinks | grep -e 'name:' -e 'index:'
* index: 0
name: <alsa_output.platform-aml_m8_sound_card.4.stereo-fallback>
index: 1
name: <echoCancelSink>
Code: Select all
joerg@odroid-garage:~$ [ 51.334975@3] Unable to handle kernel paging request at virtual address fc60c8b1
[ 51.336875@3] pgd = e63e8000
[ 51.339651@3] [fc60c8b1] *pgd=00000000
[ 51.343338@3] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
[ 51.349076@3] Modules linked in: w1_gpio wire snd_usb_audio nls_cp437 snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device gspca_ov534 gspca_main 8192eu(O) meson_gpiomem joydev nfsd ads7846 auth_rpcgss oid_registry spidev nfs_acl lockd spicc sunrpc ip_tables autofs4
[ 51.372519@3] CPU: 3 PID: 594 Comm: dbus-daemon Tainted: G O 3.10.107-24 #2
[ 51.380467@3] task: eb632100 ti: ea768000 task.ti: ea768000
[ 51.385987@3] PC is at memcpy+0xf0/0x330
[ 51.389866@3] LR is at 0x2
[ 51.392534@3] pc : [<c0236730>] lr : [<00000002>] psr: 20000193
[ 51.392534@3] sp : ea769e6c ip : 00000003 fp : 00000000
[ 51.404496@3] r10: eb3b1600 r9 : eb3b1600 r8 : eb3b163c
[ 51.409771@3] r7 : ec9df000 r6 : fe080560 r5 : ebe10a00 r4 : 0000003a
[ 51.416480@3] r3 : 00000001 r2 : 0000000f r1 : f0004003 r0 : fc60c8b1
[ 51.423167@3] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 51.430560@3] Control: 10c5387d Table: 265e804a DAC: 00000015
[ 51.436440@3]
[ 51.436440@3] PC: 0xc02366b0:
[ 51.441017@3] 66b0 e320f000 e4913004 e4914004 e4915004 e4916004 e4917004 e4918004 e491e004
[ 51.449278@3] 66d0 e08ff00c e320f000 e320f000 e4803004 e4804004 e4805004 e4806004 e4807004
[ 51.457615@3] 66f0 e4808004 e480e004 e8bd01e0 e1b02f82 14d13001 24d14001 24d1c001 14c03001
[ 51.465951@3] 6710 24c04001 24c0c001 e8bd8011 e26cc004 e35c0002 c4d13001 a4d14001 e4d1e001
[ 51.474288@3] 6730 c4c03001 a4c04001 e052200c e4c0e001 baffffed e211c003 0affffc4 e3c11003
[ 51.482624@3] 6750 e35c0002 e491e004 0a00002c ca000057 e252201c ba00001f e92d03e0 f5d1f000
[ 51.490961@3] 6770 e2522060 f5d1f01c ba000002 f5d1f03c f5d1f05c f5d1f07c e8b100f0 e1a0342e
[ 51.499297@3] 6790 e2522020 e8b15300 e1833c04 e1a04424 e1844c05 e1a05425 e1855c06 e1a06426
[ 51.507635@3]
[ 51.507635@3] SP: 0xea769dec:
[ 51.512312@3] 9dec c001cc34 00000001 c06877c8 c001cc1c c0430914 00000001 00000000 c0236730
[ 51.520573@3] 9e0c 20000193 ffffffff ea769e54 eb3b163c c000d798 fc60c8b1 f0004003 0000000f
[ 51.528909@3] 9e2c 00000001 0000003a ebe10a00 fe080560 ec9df000 eb3b163c eb3b1600 eb3b1600
[ 51.537246@3] 9e4c 00000000 00000003 ea769e6c 00000002 c0236730 20000193 ffffffff ebe10a00
[ 51.545583@3] 9e6c fc60c8b1 eb89d3c0 c042c8b8 00000000 bec4e710 b6f38118 00000013 c0a648c4
[ 51.553919@3] 9e8c 00000002 00000000 ec9df000 ebe10a00 fe080560 eb89d3c0 fe08056c fe080568
[ 51.562256@3] 9eac c042d0ec 00000000 00000018 ea769ef8 c01277d0 bf2c8ef8 ea816134 00000000
[ 51.570592@3] 9ecc 00000023 00000001 00000003 00000008 ec9df000 00000000 0000003f c096d0c0
[ 51.578930@3]
[ 51.578930@3] R0: 0xfc60c831:
[ 51.583607@3] c830 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.591869@3] c850 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.600205@3] c870 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.608541@3] c890 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.616878@3] c8b0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.625214@3] c8d0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.633551@3] c8f0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.641887@3] c910 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.650224@3] c930 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.658562@3]
[ 51.658562@3] R1: 0xf0003f83:
[ 51.663238@3] 3f80 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.671500@3] 3fa0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.679836@3] 3fc0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.688173@3] 3fe0 ******** ******** ******** ******** ******** ******** ******** ********
[ 51.696509@3] 4000 6d023a01 70023901 70023801 6a023801 12023e01 00000000 00000000 00000000
[ 51.704846@3] 4020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.713182@3] 4040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.721519@3] 4060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.729855@3] 4080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.743431@3]
[ 51.743431@3] R5: 0xebe10980:
[ 51.754072@3] 0980 006a0302 00002300 3c80a200 00000000 00000300 00000000 00000001 00000000
[ 51.761952@3] 09a0 00000000 02020000 00010002 ea895700 ebe10900 ebe10c00 00000000 00000000
[ 51.770149@3] 09c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.778525@3] 09e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.786796@3] 0a00 005a8403 000020c8 3c80c8b1 3c400000 000000c8 00000000 00010001 00000000
[ 51.795109@3] 0a20 00000000 02020101 00010003 eb3b1980 00000000 00000000 00000000 00000000
[ 51.803336@3] 0a40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.811612@3] 0a60 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.819917@3]
[ 51.819917@3] R6: 0xfe0804e0:
[ 51.829373@3] 04e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.836401@3] 0500 0114a8c8 80018102 00000000 00000000 000800c8 3c80cc00 00000000 3c80cc00
[ 51.844685@3] 0520 01188803 8000c102 00000000 00000000 00080003 3c809000 00000000 3c809000
[ 51.852961@3] 0540 00d4a300 00000000 00000000 00000000 80000280 3c80a280 00000000 3c80a280
[ 51.861278@3] 0560 2114a8c8 8001c102 00000023 00000006 000000b5 3c400014 00000000 3c400014
[ 51.869640@3] 0580 0158a200 00000000 00000023 00000006 c1f87e42 2aca0208 00000000 2aca0208
[ 51.877964@3] 05a0 01188803 8000c102 00000000 00000000 00080003 3c809000 00000000 3c809000
[ 51.886295@3] 05c0 21188803 8001c102 00000000 00000000 00080003 3c809000 00000000 3c809000
[ 51.894592@3]
[ 51.894592@3] R7: 0xec9def80:
[ 51.903485@3] ef80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.910374@3] efa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.918623@3] efc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.926900@3] efe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.935225@3] f000 ebe12e40 ec8ea000 c09bafc4 00000002 00000000 ec9df014 ec9df014 e70461a8
[ 51.943530@3] f020 e70461a8 e70461a8 ec0c73a8 ebec78a8 ec9df030 ec9df030 ec9df038 ec9df038
[ 51.951889@3] f040 eb3b19a8 eb3b19a8 2f53001b 00000005 ebe10880 ebe10f00 00000005 00000001
[ 51.960237@3] f060 ebe10880 ebe10900 ebe10980 ebe10a00 ebe10a80 ebe10b00 ebe10b80 ebe10c00
[ 51.968578@3]
[ 51.968578@3] R8: 0xeb3b15bc:
[ 51.977272@3] 15bc 00000000 000000c8 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.983989@3] 15dc 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 51.992256@3] 15fc 00000000 eb49d0c0 eb89d3c0 fc60c800 3c80c800 00000000 00000000 000000c8
[ 52.000531@3] 161c 00000000 ffffff8d 00000000 00000001 00000001 00030001 80010504 000000c8
[ 52.008918@3] 163c 00000000 000000c8 000000c4 00000000 00000000 00000000 00000000 00000000
[ 52.017187@3] 165c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.025448@3] 167c 00000000 eb3b1b00 00000000 fc60cc00 3c80cc00 00000000 00000000 000000c8
[ 52.033728@3] 169c 00000000 ffffff8d 00000000 00000001 00000001 00030001 80010504 000000c8
[ 52.042042@3]
[ 52.042042@3] R9: 0xeb3b1580:
[ 52.050386@3] 1580 eb49d540 eb89de00 fc60c600 3c80c600 00000000 00000000 000000c8 00000000
[ 52.056762@3] 15a0 ffffff8d 00000000 00000001 00000001 00010001 80010504 000000c8 00000000
[ 52.065084@3] 15c0 000000c8 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.073354@3] 15e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.081682@3] 1600 eb49d0c0 eb89d3c0 fc60c800 3c80c800 00000000 00000000 000000c8 00000000
[ 52.089958@3] 1620 ffffff8d 00000000 00000001 00000001 00030001 80010504 000000c8 00000000
[ 52.098349@3] 1640 000000c8 000000c4 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.106720@3] 1660 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.115068@3]
[ 52.115068@3] R10: 0xeb3b1580:
[ 52.123667@3] 1580 eb49d540 eb89de00 fc60c600 3c80c600 00000000 00000000 000000c8 00000000
[ 52.130206@3] 15a0 ffffff8d 00000000 00000001 00000001 00010001 80010504 000000c8 00000000
[ 52.138597@3] 15c0 000000c8 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.146964@3] 15e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.155206@3] 1600 eb49d0c0 eb89d3c0 fc60c800 3c80c800 00000000 00000000 000000c8 00000000
[ 52.163574@3] 1620 ffffff8d 00000000 00000001 00000001 00030001 80010504 000000c8 00000000
[ 52.171865@3] 1640 000000c8 000000c4 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.180238@3] 1660 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 52.188586@3] Process dbus-daemon (pid: 594, stack limit = 0xea768238)
[ 52.195312@3] Stack: (0xea769e6c to 0xea76a000)
[ 52.199771@3] 9e60: fc60c8b1 eb89d3c0 c042c8b8 00000000 bec4e710
[ 52.208227@3] 9e80: b6f38118 00000013 c0a648c4 00000002 00000000 ec9df000 ebe10a00 fe080560
[ 52.216649@3] 9ea0: eb89d3c0 fe08056c fe080568 c042d0ec 00000000 00000018 ea769ef8 c01277d0
[ 52.225063@3] 9ec0: bf2c8ef8 ea816134 00000000 00000023 00000001 00000003 00000008 ec9df000
[ 52.233478@3] 9ee0: 00000000 0000003f c096d0c0 c09ddbf9 00000001 c042d518 ec8ea000 02000008
[ 52.241785@3] 9f00: ec9df000 00000001 00000000 c042d658 a0000193 00000000 00000000 c042af48
[ 52.250177@3] 9f20: c042af3c c0320cb8 ebe15040 c0093814 00000000 00000000 ea816134 c096d0c0
[ 52.258482@3] 9f40: c096d118 ebe13cc0 fe001100 b6f2e608 bec4e794 b6f2b9a4 b6f2e608 c0093990
[ 52.266849@3] 9f60: c096d0c0 c096d118 00000000 c00966f4 c00965ec c0965edc 0000003f c00930fc
[ 52.275228@3] 9f80: 00000100 c000eb68 fe00110c c097d240 ea769fb0 c0008458 b6f30200 b6e95830
[ 52.283645@3] 9fa0: 20000030 ffffffff b6f36cb8 c000d9bc b6f30200 b6f30190 00000000 b6f303c0
[ 52.292020@3] 9fc0: b6f303c0 00000000 00000000 b6f36cb8 b6f2e608 bec4e794 b6f2b9a4 b6f2e608
[ 52.300388@3] 9fe0: b6ecbe1c bec4e6c8 b6e9cfd7 b6e95830 20000030 ffffffff 00000000 00000000
[ 52.308794@3] Code: e35c0002 c4d13001 a4d14001 e4d1e001 (c4c03001)
[ 52.315105@3] ---[ end trace f736df6c3aca632c ]---
[ 52.319825@3] Kernel panic - not syncing: Fatal exception in interrupt
[ 52.326431@0] CPU0: stopping
[ 52.331136@0] CPU: 0 PID: 6 Comm: kworker/u8:0 Tainted: G D O 3.10.107-24 #2
[ 52.338028@0] Workqueue: netns cleanup_net
[ 52.342846@0] [<c0014a80>] (unwind_backtrace+0x0/0xf4) from [<c0011a7c>] (show_stack+0x10/0x14)
[ 52.350937@0] [<c0011a7c>] (show_stack+0x10/0x14) from [<c001330c>] (handle_IPI+0xd4/0x17c)
[ 52.359313@0] [<c001330c>] (handle_IPI+0xd4/0x17c) from [<c0008470>] (gic_handle_irq+0x58/0x5c)
[ 52.368035@0] [<c0008470>] (gic_handle_irq+0x58/0x5c) from [<c000d800>] (__irq_svc+0x40/0x70)
[ 52.376579@0] Exception stack(0xec693e10 to 0xec693e58)
[ 52.381836@0] 3e00: 00000004 00000004 c097d244 00000001
[ 52.390230@0] 3e20: ec693e7c c1439000 c1439000 00ad2000 c1439008 00000003 00000001 ec60a800
[ 52.398636@0] 3e40: 00000004 ec693e58 c0254998 c007c5b8 20010013 ffffffff
[ 52.405375@0] [<c000d800>] (__irq_svc+0x40/0x70) from [<c007c5b8>] (generic_exec_single+0x7c/0x8c)
[ 52.414469@0] [<c007c5b8>] (generic_exec_single+0x7c/0x8c) from [<c007c73c>] (smp_call_function_single+0x174/0x1cc)
[ 52.425046@0] [<c007c73c>] (smp_call_function_single+0x174/0x1cc) from [<c009a570>] (_rcu_barrier+0x12c/0x1f0)
[ 52.435146@0] [<c009a570>] (_rcu_barrier+0x12c/0x1f0) from [<c04ff7fc>] (cleanup_net+0xe4/0x1cc)
[ 52.443946@0] [<c04ff7fc>] (cleanup_net+0xe4/0x1cc) from [<c0044c18>] (process_one_work+0x210/0x350)
[ 52.453101@0] [<c0044c18>] (process_one_work+0x210/0x350) from [<c0045534>] (worker_thread+0x250/0x3dc)
[ 52.462554@0] [<c0045534>] (worker_thread+0x250/0x3dc) from [<c004af68>] (kthread+0xb0/0xb4)
[ 52.471076@0] [<c004af68>] (kthread+0xb0/0xb4) from [<c000dcc0>] (ret_from_fork+0x14/0x34)
[ 52.479410@2] CPU2: stopping
[ 52.485152@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D O 3.10.107-24 #2
[ 52.492761@2] [<c0014a80>] (unwind_backtrace+0x0/0xf4) from [<c0011a7c>] (show_stack+0x10/0x14)
[ 52.501710@2] [<c0011a7c>] (show_stack+0x10/0x14) from [<c001330c>] (handle_IPI+0xd4/0x17c)
[ 52.510357@2] [<c001330c>] (handle_IPI+0xd4/0x17c) from [<c0008470>] (gic_handle_irq+0x58/0x5c)
[ 52.519381@2] [<c0008470>] (gic_handle_irq+0x58/0x5c) from [<c000d800>] (__irq_svc+0x40/0x70)
[ 52.528285@2] Exception stack(0xec6a1f98 to 0xec6a1fe0)
[ 52.534380@2] 1f80: 00000002 00000000
[ 52.543259@2] 1fa0: 00004b6a 00000000 c097c590 c068b078 ec6a0000 c09ddbde ec6a0000 c09ddbde
[ 52.552184@2] 1fc0: ec6a0000 ec6a0000 00000000 ec6a1fe0 c000efd4 c000efd8 600f0013 ffffffff
[ 52.561095@2] [<c000d800>] (__irq_svc+0x40/0x70) from [<c000efd8>] (arch_cpu_idle+0x28/0x2c)
[ 52.570179@2] [<c000efd8>] (arch_cpu_idle+0x28/0x2c) from [<c006e650>] (cpu_startup_entry+0xf8/0x154)
[ 52.580070@2] [<c006e650>] (cpu_startup_entry+0xf8/0x154) from [<008781a4>] (0x8781a4)
[ 52.588676@1] CPU1: stopping
[ 52.595013@1] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D O 3.10.107-24 #2
[ 52.603320@1] [<c0014a80>] (unwind_backtrace+0x0/0xf4) from [<c0011a7c>] (show_stack+0x10/0x14)
[ 52.612928@1] [<c0011a7c>] (show_stack+0x10/0x14) from [<c001330c>] (handle_IPI+0xd4/0x17c)
[ 52.616977@3] SMP: failed to stop secondary CPUs
[ 52.622221@1] [<c001330c>] (handle_IPI+0xd4/0x17c) from [<c0008470>] (gic_handle_irq+0x58/0x5c)
[ 52.635560@1] [<c0008470>] (gic_handle_irq+0x58/0x5c) from [<c000d800>] (__irq_svc+0x40/0x70)
[ 52.645162@1] Exception stack(0xec69ff98 to 0xec69ffe0)
[ 52.651863@1] ff80: 00000001 00000000
[ 52.661361@1] ffa0: 00008ade 00000000 c097c590 c068b078 ec69e000 c09ddbde ec69e000 c09ddbde
[ 52.670850@1] ffc0: ec69e000 ec69e000 00000000 ec69ffe0 c000efd4 c000efd8 600f0013 ffffffff
[ 52.680372@1] [<c000d800>] (__irq_svc+0x40/0x70) from [<c000efd8>] (arch_cpu_idle+0x28/0x2c)
[ 52.690047@1] [<c000efd8>] (arch_cpu_idle+0x28/0x2c) from [<c006e650>] (cpu_startup_entry+0xf8/0x154)
[ 52.700618@1] [<c006e650>] (cpu_startup_entry+0xf8/0x154) from [<008781a4>] (0x8781a4)
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Looks like echo cancellation stuck, it was just showing 4 channels of input before I modded the asound file.
how did you figure the geometry for beamforming?
I didn't need to change any permissions because I'm one of those (very naughty) people who just runs as root.
how did you figure the geometry for beamforming?
I didn't need to change any permissions because I'm one of those (very naughty) people who just runs as root.
Code: Select all
root@odroid:~# pacmd list-sources | grep -e 'name:' -e 'index:'
index: 0
name: <alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input>
index: 1
name: <alsa_output.platform-aml_m8_sound_card.4.stereo-fallback.monitor>
index: 2
name: <alsa_input.platform-aml_m8_sound_card.4.stereo-fallback>
index: 3
name: <alsa_output.platform-odroid_sound_card.5.stereo-fallback.monitor>
index: 4
name: <echocancel>
index: 5
name: <echocancel1.monitor>
* index: 6
name: <alsa_input.hw_2_0>
Code: Select all
root@odroid:~# pactl list sources | grep -e Name: -e Volume: -e Index
shared memfd open() failed: Function not implemented
Name: alsa_input.usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01.multichannel-input
Volume: front-left: 70000 / 107% / 1.72 dB, front-right: 70000 / 107% / 1.72 dB, rear-left: 70000 / 107% / 1.72 dB, rear-right: 70000 / 107% / 1.72 dB
Base Volume: 65536 / 100% / 0.00 dB
Name: alsa_output.platform-aml_m8_sound_card.4.stereo-fallback.monitor
Volume: front-left: 102891 / 157% / 11.75 dB, front-right: 102891 / 157% / 11.75 dB
Base Volume: 65536 / 100% / 0.00 dB
Name: alsa_input.platform-aml_m8_sound_card.4.stereo-fallback
Volume: front-left: 21845 / 33% / -28.63 dB, front-right: 21845 / 33% / -28.63 dB
Base Volume: 65536 / 100% / 0.00 dB
Name: alsa_output.platform-odroid_sound_card.5.stereo-fallback.monitor
Volume: front-left: 0 / 0% / -inf dB, front-right: 0 / 0% / -inf dB
Base Volume: 65536 / 100% / 0.00 dB
Name: echocancel
Volume: mono: 21845 / 33%
Base Volume: 65536 / 100%
Name: echocancel1.monitor
Volume: mono: 65536 / 100% / 0.00 dB
Base Volume: 65536 / 100% / 0.00 dB
Name: alsa_input.hw_2_0
Volume: front-left: 114688 / 175% / 14.58 dB, front-right: 114688 / 175% / 14.58 dB, rear-left: 114688 / 175% / 14.58 dB, rear-right: 114688 / 175% / 14B
Base Volume: 65536 / 100% / 0.00 dB
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
The geometry I found in the www: https://community.rhasspy.org/t/ps3-eye ... ration/888L67GS wrote: ↑Mon Jan 18, 2021 2:14 amLooks like echo cancellation stuck, it was just showing 4 channels of input before I modded the asound file.
how did you figure the geometry for beamforming?
I didn't need to change any permissions because I'm one of those (very naughty) people who just runs as root.
Also here: https://www.freedesktop.org/wiki/Softwa ... #index45h3
X1, Y1, Z1 as they are in a line, Y and Z stay 0 and X varies for one and three centimeters.
But when I try with module-echo-cancel and test-microphone.py, I get not so good results of speech recognition.
I will try to find a way to pass the alsa input directly to vosk, without processing in pulseaudio.
BTW, with test_microphone.py was missing module sounddevice.
To install
sounddevice
I had to install libffi-dev
before:
Code: Select all
sudo apt-get install libffi-dev
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
That's odd, I don't remember installing libffi-dev but it's there. Also I can run the microphone test with no problems.
Have you tried Julius? It's easy to run, easy to modify to add words, and fairly accurate, I found some language models that are supposed to be the cat's ass and will be trying to install them but I'd like to get beamforming going tonight.
Have you tried Julius? It's easy to run, easy to modify to add words, and fairly accurate, I found some language models that are supposed to be the cat's ass and will be trying to install them but I'd like to get beamforming going tonight.
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
I need speech recognition in German. I think Julius has only Japanese and English.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Voxforge has them
http://www.voxforge.org/de/Downloads
This is interesting, with echo cancellation and beamforming running I would have expected to see the streams swept one direction. This is me speaking 90* to one side, then zoomed in and amplified and it looks like the mics all heard me at the same time. On the recording I do seem to be much clearer than the television that's to my right.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
I'm assuming beamforming is doing something or another because the volume level with beamforming module loaded is notably softer. The timing is probably in microseconds of difference.
In my recordings the PS eye array was able to make my voice pronounced in a room with a television playing at nearly the same volume I was speaking. I didn't involve my SPL meter, just winged it.
I'm working now on an alternative Julius, one that utilizes models trained in DeepSpeech which will hopefully increase accuracy:
https://sourceforge.net/projects/juliusmodels/files
https://github.com/palles77/julius
It's running on the C1+ but having a hiccup reading the language model it was made for ironically. I'm expecting to tweak my dictionary more but accuracy should be acceptable now between that and the new microphone array.
I'll be playing with Vosk API and Julius API soon and hopefully write a parrot program for my Candice platform so I can start real world tests.
In my recordings the PS eye array was able to make my voice pronounced in a room with a television playing at nearly the same volume I was speaking. I didn't involve my SPL meter, just winged it.
I'm working now on an alternative Julius, one that utilizes models trained in DeepSpeech which will hopefully increase accuracy:
https://sourceforge.net/projects/juliusmodels/files
https://github.com/palles77/julius
It's running on the C1+ but having a hiccup reading the language model it was made for ironically. I'm expecting to tweak my dictionary more but accuracy should be acceptable now between that and the new microphone array.
I'll be playing with Vosk API and Julius API soon and hopefully write a parrot program for my Candice platform so I can start real world tests.
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
Sure I will look into this.
I found something interesting. I have separated the channels with ffmpeg, directly recorded from alsa input, and I see that the two microphones in the center are swapped. So I have doubts that the geometry as above posted is correct.
I touched the microphones from left to right:
I found something interesting. I have separated the channels with ffmpeg, directly recorded from alsa input, and I see that the two microphones in the center are swapped. So I have doubts that the geometry as above posted is correct.
Code: Select all
ffmpeg -f alsa -channels 4 -i hw:1,0 -ar 16000 -map_channel 0.0.0 0.wav -map_channel 0.0.1 1.wav -map_channel 0.0.2 2.wav -map_channel 0.0.3 3.wav
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
BTW, I have modified the test_ffmpeg.py example. This way it reads the alsa input and converts 4 channels to mono channel.
The result with speech recognition is much better as my try with pulse and module-echo-cancel.
The result with speech recognition is much better as my try with pulse and module-echo-cancel.
Code: Select all
process = subprocess.Popen(['ffmpeg', '-f' ,'alsa', '-channels' ,'4', '-i',
sys.argv[1],
'-ar', str(sample_rate) , '-ac', '1', '-f', 's16le', '-'],
stdout=subprocess.PIPE)
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Now I wonder if mine is still mono, that's a 10ms sample I posted, how much elapsed time is yours showing?
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
I think this is a misunderstanding. The time of this record is some seconds. I knocked at the microphones one after another from left to right. To identify the microphones. You see that the second channel is later as the third channel. So the geometry must be wrong. Better would be
-0.03,0,0,0.01,0,0,-0.01,0,0,0.03,0,0
, I think.-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Oh, I get it now. I tried something similar by muting 3 channels at a time and recording with parecord. Your method is much simpler.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Some ups and downs with this more accurate version of Julius.
I flashed a fresh image then compiled and had some errors to work out for the dictionary and such, then once everything looks good it throws a memory allocation error!?
I flashed a fresh image then compiled and had some errors to work out for the dictionary and such, then once everything looks good it throws a memory allocation error!?
Code: Select all
Error: mymalloc_big: failed to allocate 4 x 51815890 bytes
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
I am playing around with TTS:
- Pico Text to Speech is working with small resources consumption but quality is not really satisfying
- Mozilla TTS seems to be too heavy for Odroid or may be there are some light models/configurations available?
- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
Any further ideas for the state of the art offline TTS?
- Pico Text to Speech is working with small resources consumption but quality is not really satisfying
- Mozilla TTS seems to be too heavy for Odroid or may be there are some light models/configurations available?
- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
Any further ideas for the state of the art offline TTS?
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
Festival will set up from apt, there's a lot of voices for festival ranging from awful to acceptable.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
This version of Julius is not viable on a SBC with only 1GB of ram, I did:
and watched helplessly as it grabbed every bit of ram before failing.
Any thoughts on perhaps adding a swap partition or something?
Code: Select all
julius -C /ENVR-v5.4.Dnn.Bin/julius.jconf
Ctrl+Z
bg
top
Any thoughts on perhaps adding a swap partition or something?
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
I'm only running an 8gig card for now but I'll be using a 128gig after I have this down. For now I set up a 1GB swap partition and this "better" version of Julius is running, it's having a microphone issue so I may have to start over and get a little fancier with compilation but it runs and that's a good thing.
The problem I'm having is Julius is trying to use oss despite everything I read saying Julius always goes to the default mic.
The problem I'm having is Julius is trying to use oss despite everything I read saying Julius always goes to the default mic.
-
- Posts: 457
- Joined: Wed Apr 22, 2020 3:02 pm
- languages_spoken: English, Jibberish, Pig Latin
- ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
- Has thanked: 135 times
- Been thanked: 66 times
- Contact:
Re: Speech Recognition on ODROID
I just bumped into the voice I've been using.n2fan wrote: ↑Thu Jan 21, 2021 5:51 pmI am playing around with TTS:
- Pico Text to Speech is working with small resources consumption but quality is not really satisfying
- Mozilla TTS seems to be too heavy for Odroid or may be there are some light models/configurations available?
- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
Any further ideas for the state of the art offline TTS?
apt-get install festvox-us-slt-hts
It may not be good enough for what you want to do but until I find something better for my projects it's clear and understandable. Festival is pretty light weight so it's not a bad fit for SBC.
There are some Nitech voices for festival that are rumored to be superior but I've never successfully made them run on any machine.
- joerg
- Posts: 1343
- Joined: Tue Apr 01, 2014 2:14 am
- languages_spoken: german, english, español
- ODROIDs: C1, C1+, C2, N1, N2, C4
- Location: Germany
- Has thanked: 86 times
- Been thanked: 193 times
- Contact:
Re: Speech Recognition on ODROID
I am experimenting with rhasspy.
A first result when I ask for time, in home assistant the event is received and answered:
I have set up rhasspy with kaldi as speech recognation, snowboy as wake word listener, local command for audio recording
I had to made a symbolic link for an error in rhasspy as it has not found libffi.so.6..
A first result when I ask for time, in home assistant the event is received and answered:
Code: Select all
Ereignis 0 ausgelöst 19:14:
{
"event_type": "rhasspy_GetTime",
"data": {
"_text": "wie spät ist es",
"_raw_text": "wie spät ist es",
"_intent": {
"input": "wie spät ist es",
"intent": {
"intentName": "GetTime",
"confidenceScore": 1
},
"siteId": "default",
"id": null,
"slots": [],
"sessionId": "default-computer-c5f4749f-3293-44ca-85cb-1d66f27d1fb6",
"customData": null,
"asrTokens": [
[
{
"value": "wie",
"confidence": 1,
"rangeStart": 0,
"rangeEnd": 3,
"time": null
},
{
"value": "spät",
"confidence": 1,
"rangeStart": 4,
"rangeEnd": 8,
"time": null
},
{
"value": "ist",
"confidence": 1,
"rangeStart": 9,
"rangeEnd": 12,
"time": null
},
{
"value": "es",
"confidence": 1,
"rangeStart": 13,
"rangeEnd": 15,
"time": null
}
]
],
"asrConfidence": null,
"rawInput": "wie spät ist es",
"wakewordId": "computer",
"lang": null
},
"_site_id": "default"
},
"origin": "REMOTE",
"time_fired": "2021-01-22T18:14:27.655149+00:00",
"context": {
"id": "aa1df1d25cdd11ebb49c6fd3dd42aff8",
"parent_id": null,
"user_id": "b4b8d278e0aa499ab6b939fe550625b4"
}
}
/usr/bin/ffmpeg
with arguments -f alsa -channels 4 -i hw:1,0 -ar 16000 -ac 1 -f s16le -
. But I am testing in a calm environment. Don't know how it will be in the living room.I had to made a symbolic link for an error in rhasspy as it has not found libffi.so.6.
Code: Select all
sudo ln -s /usr/lib/arm-linux-gnueabihf/libffi.so.7 /usr/lib/arm-linux-gnueabihf/libffi.so.6
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
thanks for mentioning Festival and provided links. imho, pico text is better than festival and also very lightweight. But quality is not really good compared to the modern TTS engines and examples. sure, it is understandable but it will a bit more.
I am also very interested on the context classification, e.g. sounds recognition other than human, e.g. cat, dog, music.
I am also very interested on the context classification, e.g. sounds recognition other than human, e.g. cat, dog, music.
L67GS wrote: ↑Sat Jan 23, 2021 12:37 amI just bumped into the voice I've been using.n2fan wrote: ↑Thu Jan 21, 2021 5:51 pmI am playing around with TTS:
- Pico Text to Speech is working with small resources consumption but quality is not really satisfying
- Mozilla TTS seems to be too heavy for Odroid or may be there are some light models/configurations available?
- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
Any further ideas for the state of the art offline TTS?
apt-get install festvox-us-slt-hts
It may not be good enough for what you want to do but until I find something better for my projects it's clear and understandable. Festival is pretty light weight so it's not a bad fit for SBC.
There are some Nitech voices for festival that are rumored to be superior but I've never successfully made them run on any machine.
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
You need to provide more details about your problems if you need help. In general you just install tensorflow python package, download models an thats it.n2fan wrote: ↑Thu Jan 21, 2021 5:51 pm- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
You can try on desktop first.
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
to be honest; I do not really understand how to start and use; but I failed on the installation first:
- I tried pip3 install TensorFlowTTS and
- https://colab.research.google.com/drive ... sp=sharing
both ended with many errors.
Is Cuda GPU necessary or TTS can be started on Odroid as well? Which packages should be installed before installation?
May be there is a tutorial/installation guide that explains all necessary steps to install and use (train is also interesting but it could be further step)?
I also checked: python-dev is installed in the latest version.
Final Error:
ERROR: Cannot install tensorflowtts==0.11, tensorflowtts==0.7, tensorflowtts==0.8, tensorflowtts==0.9 and tensorflowtts==1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
tensorflowtts 1.1 depends on tensorflow-gpu==2.3.1
tensorflowtts 0.11 depends on pyworld>=0.2.10
tensorflowtts 0.9 depends on tensorflow-gpu>=2.3.0
tensorflowtts 0.8 depends on tensorflow-gpu>=2.2.0
tensorflowtts 0.7 depends on matplotlib>=3.1.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guid ... pendencies
Complete output:
- I tried pip3 install TensorFlowTTS and
- https://colab.research.google.com/drive ... sp=sharing
both ended with many errors.
Is Cuda GPU necessary or TTS can be started on Odroid as well? Which packages should be installed before installation?
May be there is a tutorial/installation guide that explains all necessary steps to install and use (train is also interesting but it could be further step)?
I also checked: python-dev is installed in the latest version.
Final Error:
ERROR: Cannot install tensorflowtts==0.11, tensorflowtts==0.7, tensorflowtts==0.8, tensorflowtts==0.9 and tensorflowtts==1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
tensorflowtts 1.1 depends on tensorflow-gpu==2.3.1
tensorflowtts 0.11 depends on pyworld>=0.2.10
tensorflowtts 0.9 depends on tensorflow-gpu>=2.3.0
tensorflowtts 0.8 depends on tensorflow-gpu>=2.2.0
tensorflowtts 0.7 depends on matplotlib>=3.1.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guid ... pendencies
Complete output:
Code: Select all
odroid@odroid:~/tts/TensorFlowtts$ pip3 install TensorFlowTTS
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting TensorFlowTTS
Downloading TensorFlowTTS-1.1-py3-none-any.whl (121 kB)
|████████████████████████████████| 121 kB 3.1 MB/s
Collecting dataclasses
Downloading dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting click
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
|████████████████████████████████| 82 kB 411 kB/s
Collecting tqdm>=4.26.1
Downloading tqdm-4.56.0-py2.py3-none-any.whl (72 kB)
|████████████████████████████████| 72 kB 519 kB/s
Collecting inflect>=4.1.0
Downloading inflect-5.0.2-py3-none-any.whl (31 kB)
Collecting g2pM
Downloading g2pM-0.1.2.5-py3-none-any.whl (1.7 MB)
|████████████████████████████████| 1.7 MB 4.2 MB/s
Collecting unidecode>=1.1.1
Downloading Unidecode-1.1.2-py2.py3-none-any.whl (239 kB)
|████████████████████████████████| 239 kB 7.1 MB/s
Collecting librosa>=0.7.0
Downloading librosa-0.8.0.tar.gz (183 kB)
|████████████████████████████████| 183 kB 7.6 MB/s
Collecting jamo>=0.4.1
Downloading jamo-0.4.1-py3-none-any.whl (9.5 kB)
Requirement already satisfied: setuptools>=38.5.1 in /usr/lib/python3/dist-packages (from TensorFlowTTS) (39.0.1)
Collecting TensorFlowTTS
Downloading TensorFlowTTS-0.11-py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 6.6 MB/s
Collecting textgrid
Downloading TextGrid-1.5-py3-none-any.whl (10.0 kB)
Collecting pyworld>=0.2.10
Downloading pyworld-0.2.12.tar.gz (222 kB)
|████████████████████████████████| 222 kB 7.0 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/pyworld_6ed244ead3d04ac9b182ab937d759960/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/pyworld_6ed244ead3d04ac9b182ab937d759960/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-9vg8cril
cwd: /tmp/pip-install-pe0x4l20/pyworld_6ed244ead3d04ac9b182ab937d759960/
Complete output (189 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/pyworld_6ed244ead3d04ac9b182ab937d759960/setup.py", line 43, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-qa8sezcy/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/af/88/003eef396c966cf00088900167831946b80b8e7650843905cb9590c2d9ca/pyworld-0.2.12.tar.gz#sha256=896c910696975855578d855f490f94d7a57119e0a75f7f15e11fdf58ba891627 (from https://pypi.org/simple/pyworld/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pyworld-0.2.11.post0.tar.gz (222 kB)
|████████████████████████████████| 222 kB 7.2 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/pyworld_f31b98ff00e146c18fcd23462d0925f8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/pyworld_f31b98ff00e146c18fcd23462d0925f8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-yltm4v6o
cwd: /tmp/pip-install-pe0x4l20/pyworld_f31b98ff00e146c18fcd23462d0925f8/
Complete output (189 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/pyworld_f31b98ff00e146c18fcd23462d0925f8/setup.py", line 43, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-cclvp3wk/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5a/91/1b3ebd3840a76e50b3695a9d8515a44303a90c74ae13e474647d984d1e12/pyworld-0.2.11.post0.tar.gz#sha256=30e43787deed64ba6d19eccbe48e1f6fae6030c53a37e010dee910d072881650 (from https://pypi.org/simple/pyworld/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading pyworld-0.2.10.tar.gz (73 kB)
|████████████████████████████████| 73 kB 598 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/pyworld_408b6ce6b6194b67ac1bcdab907393a8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/pyworld_408b6ce6b6194b67ac1bcdab907393a8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ftcsagb2
cwd: /tmp/pip-install-pe0x4l20/pyworld_408b6ce6b6194b67ac1bcdab907393a8/
Complete output (189 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/pyworld_408b6ce6b6194b67ac1bcdab907393a8/setup.py", line 43, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-f401fwlb/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
version=_VERSION,
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/25/cb/355cc45aa3dcc8d0e19c0d6156d8406676a17621984604115adf29260fb2/pyworld-0.2.10.tar.gz#sha256=9beee312002b4d461eeeba6f99b32408f472ecefa4d2928c69721c232031018e (from https://pypi.org/simple/pyworld/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Collecting TensorFlowTTS
Downloading TensorFlowTTS-0.9-py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 6.6 MB/s
Downloading TensorFlowTTS-0.8-py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 7.1 MB/s
Downloading TensorflowTTS-0.7-py3-none-any.whl (81 kB)
|████████████████████████████████| 81 kB 3.4 MB/s
Collecting matplotlib>=3.1.0
Downloading matplotlib-3.3.3.tar.gz (37.9 MB)
|████████████████████████████████| 37.9 MB 23 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/matplotlib_c7dd11ede6b94a22bb0c3ff615b6c871/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/matplotlib_c7dd11ede6b94a22bb0c3ff615b6c871/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-csrzussd
cwd: /tmp/pip-install-pe0x4l20/matplotlib_c7dd11ede6b94a22bb0c3ff615b6c871/
Complete output (202 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Edit setup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB
matplotlib: yes [3.3.3]
python: yes [3.8.0 (default, Oct 28 2019, 16:14:01) [GCC 8.3.0]]
platform: yes [linux]
sample_data: yes [installing]
tests: no [skipping due to configuration]
macosx: no [Mac OS-X only]
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
"pyparsing>=2.0.3,!=2.0.4,!=2.1.2,!=2.1.6",
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/matplotlib_c7dd11ede6b94a22bb0c3ff615b6c871/setup.py", line 242, in <module>
setup( # Finally, pass this all along to distutils to do the heavy lifting.
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-u5zjqhqh/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
"pyparsing>=2.0.3,!=2.0.4,!=2.1.2,!=2.1.6",
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7b/b3/7c48f648bf83f39d4385e0169d1b68218b838e185047f7f613b1cfc57947/matplotlib-3.3.3.tar.gz#sha256=b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec (from https://pypi.org/simple/matplotlib/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading matplotlib-3.3.2.tar.gz (37.9 MB)
|████████████████████████████████| 37.9 MB 5.2 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/matplotlib_699f3b1c6a1742f0b4f189f3aa313588/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/matplotlib_699f3b1c6a1742f0b4f189f3aa313588/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-rba2hvm9
cwd: /tmp/pip-install-pe0x4l20/matplotlib_699f3b1c6a1742f0b4f189f3aa313588/
Complete output (202 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Edit setup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB
matplotlib: yes [3.3.2]
python: yes [3.8.0 (default, Oct 28 2019, 16:14:01) [GCC 8.3.0]]
platform: yes [linux]
sample_data: yes [installing]
tests: no [skipping due to configuration]
macosx: no [Mac OS-X only]
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
"pillow>=6.2.0",
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/matplotlib_699f3b1c6a1742f0b4f189f3aa313588/setup.py", line 242, in <module>
setup( # Finally, pass this all along to distutils to do the heavy lifting.
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-rg5g0c8a/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
"pillow>=6.2.0",
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/2b/4c/fe4b36325795524f35d39edc390c89584e9a901df9e615df6f5effddaa0e/matplotlib-3.3.2.tar.gz#sha256=3d2edbf59367f03cd9daf42939ca06383a7d7803e3993eb5ff1bee8e8a3fbb6b (from https://pypi.org/simple/matplotlib/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading matplotlib-3.3.1.tar.gz (38.8 MB)
|████████████████████████████████| 38.8 MB 12 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/matplotlib_5bb5deb8fcb54c48ab9d11863558b3b6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/matplotlib_5bb5deb8fcb54c48ab9d11863558b3b6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ue9bcozm
cwd: /tmp/pip-install-pe0x4l20/matplotlib_5bb5deb8fcb54c48ab9d11863558b3b6/
Complete output (200 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Edit setup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB
matplotlib: yes [3.3.1]
python: yes [3.8.0 (default, Oct 28 2019, 16:14:01) [GCC 8.3.0]]
platform: yes [linux]
sample_data: yes [installing]
tests: no [skipping due to configuration]
macosx: no [Mac OS-X only]
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/matplotlib_5bb5deb8fcb54c48ab9d11863558b3b6/setup.py", line 234, in <module>
setup( # Finally, pass this all along to distutils to do the heavy lifting.
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-73n8kj18/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/58/bd/d3b13e93c01226901ceb50a14c110b5722f446e456f7f4fd7fd231b33742/matplotlib-3.3.1.tar.gz#sha256=87f53bcce90772f942c2db56736788b39332d552461a5cb13f05ff45c1680f0e (from https://pypi.org/simple/matplotlib/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading matplotlib-3.3.0.tar.gz (38.8 MB)
|████████████████████████████████| 38.8 MB 18 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pe0x4l20/matplotlib_a7cd11be47b0468ab5fd6964f3e39c57/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pe0x4l20/matplotlib_a7cd11be47b0468ab5fd6964f3e39c57/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ggwolbkc
cwd: /tmp/pip-install-pe0x4l20/matplotlib_a7cd11be47b0468ab5fd6964f3e39c57/
Complete output (200 lines):
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_mt19937.pyx
Edit setup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB
matplotlib: yes [3.3.0]
python: yes [3.8.0 (default, Oct 28 2019, 16:14:01) [GCC 8.3.0]]
platform: yes [linux]
sample_data: yes [installing]
tests: no [skipping due to configuration]
macosx: no [Mac OS-X only]
Cythonizing sources
non-existing path in 'numpy/distutils': 'site.cfg'
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
Running from numpy source directory.
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/setup.py:485: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/system_info.py:1989: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/system_info.py:1849: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
/usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pe0x4l20/matplotlib_a7cd11be47b0468ab5fd6964f3e39c57/setup.py", line 234, in <module>
setup( # Finally, pass this all along to distutils to do the heavy lifting.
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 510, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
return self.obtain(req, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
return installer(requirement)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/setup.py", line 513, in <module>
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/setup.py", line 505, in setup_package
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/core.py", line 169, in setup
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/egg_info.py", line 24, in run
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 144, in run
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 161, in build_sources
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
File "/tmp/easy_install-g08ilwao/numpy-1.20.0rc2/numpy/distutils/command/build_src.py", line 378, in generate_sources
File "numpy/core/setup.py", line 444, in generate_config_h
File "numpy/core/setup.py", line 49, in check_types
File "numpy/core/setup.py", line 294, in check_types
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7d/d4/e4c40c62cd8608ca09f0684e64139c56512e195f2351ac41a472d4dc8b38/matplotlib-3.3.0.tar.gz#sha256=24e8db94948019d531ce0bcd637ac24b1c8f6744ac86d2aa0eb6dbaeb1386f82 (from https://pypi.org/simple/matplotlib/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading matplotlib-3.2.2.tar.gz (40.3 MB)
|████████████████████████████████| 40.3 MB 5.1 kB/s
nshmyrev wrote: ↑Sun Jan 24, 2021 11:15 pmYou need to provide more details about your problems if you need help. In general you just install tensorflow python package, download models an thats it.n2fan wrote: ↑Thu Jan 21, 2021 5:51 pm- I was not able to start recommended https://github.com/TensorSpeech/TensorFlowTTS; is there an instruction how to run it on Odroid?
You can try on desktop first.
Last edited by n2fan on Mon Jan 25, 2021 7:53 pm, edited 1 time in total.
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
adjusted;
I am testing Mozilla TTS now on Odroid;
it does not work real time (e.g. english sentense real-time 9 sec resulting voice is converted about run-time 18 sec for english model).
This could be a working solution for short sentenses or if latency is not important
I am testing Mozilla TTS now on Odroid;
it does not work real time (e.g. english sentense real-time 9 sec resulting voice is converted about run-time 18 sec for english model).
This could be a working solution for short sentenses or if latency is not important
-
- Posts: 47
- Joined: Sat Dec 12, 2020 10:14 pm
- languages_spoken: english
- Has thanked: 14 times
- Been thanked: 10 times
- Contact:
Re: Speech Recognition on ODROID
The error log says you didn't install python3-dev package, it should fix most issues with package install.
Also, TensoflowTTS has standalone inference pure C package using tflite library, you can build it with cmake:
https://github.com/TensorSpeech/TensorF ... /cpptflite
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
many thanks. I saw this error but if I wrote "sudo apt-get install python3-dev"
Ubuntu said that dev package is already installed
I try to find out what is wrong with dependencies
Ubuntu said that dev package is already installed
I try to find out what is wrong with dependencies
Code: Select all
odroid@odroid:~$ sudo apt-get install python3-dev
[sudo] password for odroid:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-dev is already the newest version (3.6.7-1~18.04).
python3-dev set to manually installed.
The following packages were automatically installed and are no longer required:
efibootmgr gyp javascript-common libappstream-glib8 libfwup1 libhttp-parser2.7.1 libjs-async libjs-inherits
libjs-jquery libjs-node-uuid libjs-underscore libllvm6.0 libllvm7 libuv1-dev node-abbrev node-ansi
node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion
node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream node-forever-agent
node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs
node-hosted-git-info node-inflight node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe
node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read
node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-slide node-spdx-correct
node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore
node-validate-npm-package-license node-which node-wrappy node-yallist nodejs nodejs-doc x11proto-dri2-dev
x11proto-gl-dev
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 131 not upgraded.
odroid@odroid:~$
nshmyrev wrote: ↑Tue Jan 26, 2021 6:14 amThe error log says you didn't install python3-dev package, it should fix most issues with package install.
Also, TensoflowTTS has standalone inference pure C package using tflite library, you can build it with cmake:
https://github.com/TensorSpeech/TensorF ... /cpptflite
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
Yesterday; I read a little about the TTS.
Microsoft and Google publications claim that "parallel tacotron" and "fast speech" are about 10 times faster than initial tacotron. Mozilla TTS implements Tacotron2 that is more resource intensive than "Tacatron parallel" and "FastSpeech". On the Mozilla forum stated that Mozilla project will be stopped (https://discourse.mozilla.org/t/when-mo ... efox/72258).
Tensor speech seems to support FastSpeech2 and my feeling that it is worth to invest the efforts to run it on Odroid. I also didn't find anything that sounds better than the above mendioned engines. Do I miss some newest development or these are the best models on the market in Jan. 2021?
At the moment it is unclear which resources are necessary for the vocoder but it will be the next step.
I also found an implementation on github https://github.com/as-ideas/ForwardTacotron but will try with TensorSpeech first.
Microsoft and Google publications claim that "parallel tacotron" and "fast speech" are about 10 times faster than initial tacotron. Mozilla TTS implements Tacotron2 that is more resource intensive than "Tacatron parallel" and "FastSpeech". On the Mozilla forum stated that Mozilla project will be stopped (https://discourse.mozilla.org/t/when-mo ... efox/72258).
Tensor speech seems to support FastSpeech2 and my feeling that it is worth to invest the efforts to run it on Odroid. I also didn't find anything that sounds better than the above mendioned engines. Do I miss some newest development or these are the best models on the market in Jan. 2021?
At the moment it is unclear which resources are necessary for the vocoder but it will be the next step.
I also found an implementation on github https://github.com/as-ideas/ForwardTacotron but will try with TensorSpeech first.
nshmyrev wrote: ↑Tue Jan 26, 2021 6:14 amThe error log says you didn't install python3-dev package, it should fix most issues with package install.
Also, TensoflowTTS has standalone inference pure C package using tflite library, you can build it with cmake:
https://github.com/TensorSpeech/TensorF ... /cpptflite
-
- Posts: 18
- Joined: Fri Jan 08, 2021 6:47 pm
- languages_spoken: english
- ODROIDs: N2
- Has thanked: 0
- Been thanked: 1 time
- Contact:
Re: Speech Recognition on ODROID
cleared with python-dev. The development version and Python version didn't match.
Next problem:
is CUDA GPU is necessary to install TensorSpeech?
ERROR: Cannot install tensorflowtts==0.11, tensorflowtts==0.7, tensorflowtts==0.8, tensorflowtts==0.9 and tensorflowtts==1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
tensorflowtts 1.1 depends on tensorflow-gpu==2.3.1
tensorflowtts 0.11 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.9 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.8 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.7 depends on tensorflow-addons>=0.9.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Next problem:
is CUDA GPU is necessary to install TensorSpeech?
ERROR: Cannot install tensorflowtts==0.11, tensorflowtts==0.7, tensorflowtts==0.8, tensorflowtts==0.9 and tensorflowtts==1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
tensorflowtts 1.1 depends on tensorflow-gpu==2.3.1
tensorflowtts 0.11 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.9 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.8 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.7 depends on tensorflow-addons>=0.9.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
Code: Select all
odroid@odroid:~$ pip3 install TensorFlowTTS
Defaulting to user installation because normal site-packages is not writeable
Collecting TensorFlowTTS
Using cached TensorFlowTTS-1.1-py3-none-any.whl (121 kB)
Requirement already satisfied: PyYAML>=3.12 in /usr/lib/python3/dist-packages (from TensorFlowTTS) (3.12)
Collecting pypinyin
Downloading pypinyin-0.40.0-py2.py3-none-any.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 3.9 MB/s
Collecting numba<=0.48
Downloading numba-0.48.0.tar.gz (2.0 MB)
|████████████████████████████████| 2.0 MB 10.3 MB/s
Collecting dataclasses
Using cached dataclasses-0.6-py3-none-any.whl (14 kB)
Collecting TensorFlowTTS
Using cached TensorFlowTTS-0.11-py3-none-any.whl (118 kB)
Requirement already satisfied: setuptools>=38.5.1 in /usr/lib/python3/dist-packages (from TensorFlowTTS) (39.0.1)
Collecting matplotlib>=3.1.0
Using cached matplotlib-3.3.3.tar.gz (37.9 MB)
Collecting textgrid
Using cached TextGrid-1.5-py3-none-any.whl (10.0 kB)
Collecting pyworld>=0.2.10
Using cached pyworld-0.2.12.tar.gz (222 kB)
Collecting librosa>=0.7.0
Using cached librosa-0.8.0.tar.gz (183 kB)
Collecting tqdm>=4.26.1
Using cached tqdm-4.56.0-py2.py3-none-any.whl (72 kB)
Collecting TensorFlowTTS
Using cached TensorFlowTTS-0.9-py3-none-any.whl (112 kB)
Using cached TensorFlowTTS-0.8-py3-none-any.whl (112 kB)
Using cached TensorflowTTS-0.7-py3-none-any.whl (81 kB)
Collecting unidecode>=1.1.1
Using cached Unidecode-1.1.2-py2.py3-none-any.whl (239 kB)
Collecting scikit-learn>=0.22.0
Downloading scikit-learn-0.24.1.tar.gz (7.4 MB)
|████████████████████████████████| 7.4 MB 5.7 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
ERROR: Cannot install tensorflowtts==0.11, tensorflowtts==0.7, tensorflowtts==0.8, tensorflowtts==0.9 and tensorflowtts==1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
tensorflowtts 1.1 depends on tensorflow-gpu==2.3.1
tensorflowtts 0.11 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.9 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.8 depends on tensorflow-addons>=0.10.0
tensorflowtts 0.7 depends on tensorflow-addons>=0.9.1
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
odroid@odroid:~$
nshmyrev wrote: ↑Tue Jan 26, 2021 6:14 amThe error log says you didn't install python3-dev package, it should fix most issues with package install.
Also, TensoflowTTS has standalone inference pure C package using tflite library, you can build it with cmake:
https://github.com/TensorSpeech/TensorF ... /cpptflite
Who is online
Users browsing this forum: No registered users and 0 guests