Linux/Ubuntu2026. 9. 7. 15:00

claude에게 festival로 한글 발음 해달라고 시키니 추천해준 프로그램

[링크 : https://discuss.pytorch.kr/t/espeak-ng-100-espeak-fork/4272]

[링크 : https://github.com/espeak-ng/espeak-ng]

 

teensy 4.0 보드를 위한 (cortex-M7@600Mhz) 포트가 있다고 하는데.. 아니 그 가격(5만원)이면 라즈베리 에서 돌리는게 쌀지도?

[링크 : https://github.com/vindar/espeak-ng_T4/]

    [링크 : https://forum.pjrc.com/index.php?threads/espeak-ng-tts-library-ported-to-teensy-4.77001/]

 

근데 -v ko 있나 없나 영어식 발음인건 여전한데...?

-p 50 -s 175 이 기본이고

-p 는 0~99 사이값.

-s는 분당 단어 갯수라 딱히 제한은 없는듯?

$ espeak-ng "hello"
$ espeak-ng "안녕하세요"
$ espeak-ng -v ko "안녕하세요"
$ espeak-ng -v ko -p 70 -s 300 "안녕하세요"

 

$ espeak-ng --help

eSpeak NG text-to-speech: 1.50  Data at: /usr/lib/x86_64-linux-gnu/espeak-ng-data

espeak-ng [options] ["<words>"]

-f <text file>   Text file to speak
--stdin    Read text input from stdin instead of a file

If neither -f nor --stdin, then <words> are spoken, or if none then text
is spoken from stdin, each line separately.

-a <integer>
   Amplitude, 0 to 200, default is 100
-d <device>
   Use the specified device to speak the audio on. If not specified, the
   default audio device is used.
-g <integer>
   Word gap. Pause between words, units of 10mS at the default speed
-k <integer>
   Indicate capital letters with: 1=sound, 2=the word "capitals",
   higher values indicate a pitch increase (try -k20).
-l <integer>
   Line length. If not zero (which is the default), consider
   lines less than this length as end-of-clause
-p <integer>
   Pitch adjustment, 0 to 99, default is 50
-s <integer>
   Speed in approximate words per minute. The default is 175
-v <voice name>
   Use voice file of this name from espeak-ng-data/voices
-w <wave file name>
   Write speech to this WAV file, rather than speaking it directly
-b    Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit 
-m    Interpret SSML markup, and ignore other < > tags
-q    Quiet, don't produce any speech (may be useful with -x)
-x    Write phoneme mnemonics to stdout
-X    Write phonemes mnemonics and translation trace to stdout
-z    No final sentence pause at the end of the text
--compile=<voice name>
   Compile pronunciation rules and dictionary from the current
   directory. <voice name> specifies the language
--compile-debug=<voice name>
   Compile pronunciation rules and dictionary from the current
   directory, including line numbers for use with -X.
   <voice name> specifies the language
--compile-mbrola=<voice name>
   Compile an MBROLA voice
--compile-intonations
   Compile the intonation data
--compile-phonemes=<phsource-dir>
   Compile the phoneme data using <phsource-dir> or the default phsource directory
--ipa      Write phonemes to stdout using International Phonetic Alphabet
--path="<path>"
   Specifies the directory containing the espeak-ng-data directory
--pho      Write mbrola phoneme data (.pho) to stdout or to the file in --phonout
--phonout="<filename>"
   Write phoneme output from -x -X --ipa and --pho to this file
--punct="<characters>"
   Speak the names of punctuation characters during speaking.  If
   =<characters> is omitted, all punctuation is spoken.
--sep=<character>
   Separate phonemes (from -x --ipa) with <character>.
   Default is space, z means ZWJN character.
--split=<minutes>
   Starts a new WAV file every <minutes>.  Used with -w
--stdout   Write speech output to stdout
--tie=<character>
   Use a tie character within multi-letter phoneme names.
   Default is U+361, z means ZWJ character.
--version  Shows version number and date, and location of espeak-ng-data
--voices=<language>
   List the available voices for the specified language.
   If <language> is omitted, then list all voices.
--load     Load voice from a file in current directory by name.
-h, --help Show this help.

'Linux > Ubuntu' 카테고리의 다른 글

festival lite TTS  (0) 2026.09.07
ubuntu 22.04 24.04 설치 파티션 차이  (0) 2026.07.09
hp 2760p 우분투 26.02 설치 실패  (0) 2026.06.23
ubuntu 26.04 + 595.71.05 + CUDA 13.2  (0) 2026.06.17
festival - a text-to-speech system(TTS)  (0) 2026.05.06
Posted by 구차니
Linux/Ubuntu2026. 9. 7. 14:45

festival이 무거워서 가벼운 버전으로 만든거라는데..

mcu에서 돌릴수 있을 정도로 가벼운진 모르겠다.

[링크 : https://github.com/festvox/flite]

 

플래시가 좀 많이 필요한데 일단 esp32에서 돌아가는 듯?

[링크 : https://github.com/pschatzmann/arduino-flite]

'Linux > Ubuntu' 카테고리의 다른 글

espeak-ng TTS  (0) 2026.09.07
ubuntu 22.04 24.04 설치 파티션 차이  (0) 2026.07.09
hp 2760p 우분투 26.02 설치 실패  (0) 2026.06.23
ubuntu 26.04 + 595.71.05 + CUDA 13.2  (0) 2026.06.17
festival - a text-to-speech system(TTS)  (0) 2026.05.06
Posted by 구차니
Linux2026. 8. 24. 16:16

엥.. 이런 기능이 있었어?

 

원래 로그. 시리얼 까지는 뜨는데 장치 가 정상적으로 인식되지 않는다.(/dev/video2 머.. 이런식)

[278473.466593] usb 1-2: new high-speed USB device number 21 using xhci_hcd
[278473.622871] usb 1-2: New USB device found, idVendor=0bda, idProduct=5846, bcdDevice= 0.01
[278473.622889] usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[278473.622896] usb 1-2: Product: USB Camera
[278473.622901] usb 1-2: Manufacturer: Generic
[278473.622906] usb 1-2: SerialNumber: 200901010001
[278473.631115] usb 1-2: Found UVC 1.00 device USB Camera (0bda:5846)
[278479.393020] usb 1-2: USB disconnect, device number 21
[278480.572526] usb 1-2: new high-speed USB device number 22 using xhci_hcd
[278480.729693] usb 1-2: New USB device found, idVendor=0bda, idProduct=5846, bcdDevice= 0.01
[278480.729713] usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[278480.729720] usb 1-2: Product: USB Camera
[278480.729726] usb 1-2: Manufacturer: Generic
[278480.729731] usb 1-2: SerialNumber: 200901010001
[278480.736858] usb 1-2: Found UVC 1.00 device USB Camera (0bda:5846)
[278486.477558] usb 1-2: USB disconnect, device number 22
[278487.314234] usb 1-2: new high-speed USB device number 23 using xhci_hcd
[278487.470537] usb 1-2: New USB device found, idVendor=0bda, idProduct=5846, bcdDevice= 0.01
[278487.470556] usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[278487.470564] usb 1-2: Product: USB Camera
[278487.470569] usb 1-2: Manufacturer: Generic
[278487.470574] usb 1-2: SerialNumber: 200901010001
[278487.478080] usb 1-2: Found UVC 1.00 device USB Camera (0bda:5846)
[278491.388012] usb 1-2: USB disconnect, device number 23

 

uvc 디버깅 모드 활성화

sudo sh -c 'echo 0xffff > /sys/module/uvcvideo/parameters/trace'

[링크 : https://www.ideasonboard.org/uvc/faq/]

 

먼가 확실히 자세히 나온다. usb 1-2에 연결되었고, 2초 뒤에 잠든다.

[278566.939787] usb 1-2: new high-speed USB device number 24 using xhci_hcd
[278567.096675] usb 1-2: New USB device found, idVendor=0bda, idProduct=5846, bcdDevice= 0.01
[278567.096684] usb 1-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[278567.096687] usb 1-2: Product: USB Camera
[278567.096689] usb 1-2: Manufacturer: Generic
[278567.096691] usb 1-2: SerialNumber: 200901010001
[278567.101935] usb 1-2: Probing generic UVC device 2
[278567.103005] usb 1-2: Found format MJPG little-endian (0x47504a4d)
[278567.103014] usb 1-2: - 1280x720 (15.0 fps)
[278567.103019] usb 1-2: - 960x720 (15.0 fps)
[278567.103022] usb 1-2: - 640x480 (15.0 fps)
[278567.103026] usb 1-2: Found format YUYV little-endian (0x56595559)
[278567.103030] usb 1-2: - 1280x720 (10.0 fps)
[278567.103033] usb 1-2: - 960x720 (15.0 fps)
[278567.103036] usb 1-2: - 640x480 (15.0 fps)
[278567.103044] usb 1-2: Found a Status endpoint (addr 83)
[278567.103051] usb 1-2: Found UVC 1.00 device USB Camera (0bda:5846)
[278567.103058] usb 1-2: Scanning UVC chain:
[278567.103060]  OT 3 <- XU 4 <- PU 2 <- IT 1
[278567.103070] usb 1-2: Found a valid video chain (1 -> 3)
[278567.103076] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/2 to device 2 entity 2
[278567.104003] usb 1-2: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2
[278567.104011] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/3 to device 2 entity 2
[278567.104544] usb 1-2: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3
[278567.104550] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/6 to device 2 entity 2
[278567.105156] usb 1-2: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6
[278567.105162] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/7 to device 2 entity 2
[278567.105912] usb 1-2: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7
[278567.105923] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/8 to device 2 entity 2
[278567.106546] usb 1-2: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8
[278567.106556] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/9 to device 2 entity 2
[278567.107522] usb 1-2: Adding mapping 'Gamma' to control 00000000-0000-0000-0000-000000000101/9
[278567.107532] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/10 to device 2 entity 2
[278567.108461] usb 1-2: Adding mapping 'White Balance Temperature' to control 00000000-0000-0000-0000-000000000101/10
[278567.108471] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/1 to device 2 entity 2
[278567.109027] usb 1-2: Adding mapping 'Backlight Compensation' to control 00000000-0000-0000-0000-000000000101/1
[278567.109037] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/5 to device 2 entity 2
[278567.109658] usb 1-2: Adding mapping 'Power Line Frequency' to control 00000000-0000-0000-0000-000000000101/5
[278567.109667] usb 1-2: Added control 00000000-0000-0000-0000-000000000101/11 to device 2 entity 2
[278567.110619] usb 1-2: Adding mapping 'White Balance, Automatic' to control 00000000-0000-0000-0000-000000000101/11
[278567.110631] usb 1-2: Added control 00000000-0000-0000-0000-000000000001/2 to device 2 entity 1
[278567.111360] usb 1-2: Adding mapping 'Auto Exposure' to control 00000000-0000-0000-0000-000000000001/2
[278567.111369] usb 1-2: Added control 00000000-0000-0000-0000-000000000001/3 to device 2 entity 1
[278567.112034] usb 1-2: Adding mapping 'Exposure, Dynamic Framerate' to control 00000000-0000-0000-0000-000000000001/3
[278567.112044] usb 1-2: Added control 00000000-0000-0000-0000-000000000001/4 to device 2 entity 1
[278567.112816] usb 1-2: Adding mapping 'Exposure Time, Absolute' to control 00000000-0000-0000-0000-000000000001/4
[278567.118275] usb 1-2: UVC device initialized
[278567.154916] usb 1-2: uvc_v4l2_open
[278567.155017] usb 1-2: uvc_v4l2_release
[278567.187892] usb 1-2: uvc_v4l2_open
[278567.187898] usb 1-2: uvc_v4l2_open
[278567.187916] usb 1-2: uvc_v4l2_release
[278567.187916] usb 1-2: uvc_v4l2_release
[278567.187966] usb 1-2: uvc_v4l2_open
[278567.188081] usb 1-2: uvc_v4l2_open
[278567.219249] usb 1-2: uvc_v4l2_release
[278567.219268] usb 1-2: uvc_v4l2_release
[278567.219292] usb 1-6: uvc_v4l2_open
[278567.219421] usb 1-6: uvc_v4l2_open
[278567.314809] usb 1-6: Resuming interface 0
[278567.314814] usb 1-6: Resuming interface 1
[278567.314845] usb 1-6: uvc_v4l2_release
[278567.315015] usb 1-6: uvc_v4l2_release
[278567.315033] usb 1-6: uvc_v4l2_open
[278567.315218] usb 1-6: uvc_v4l2_open
[278567.315268] usb 1-6: uvc_v4l2_release
[278567.315270] usb 1-6: uvc_v4l2_release
[278567.316126] usb 1-2: uvc_v4l2_open
[278567.316159] usb 1-2: uvc_v4l2_release
[278567.316834] usb 1-2: uvc_v4l2_open
[278567.316919] usb 1-2: uvc_v4l2_release
[278567.317091] usb 1-2: uvc_v4l2_open
[278567.317110] usb 1-2: uvc_v4l2_release
[278567.317435] usb 1-2: uvc_v4l2_open
[278567.317481] usb 1-2: uvc_v4l2_release
[278567.317609] usb 1-2: uvc_v4l2_open
[278567.317651] usb 1-2: uvc_v4l2_release
[278567.377971] usb 1-2: uvc_v4l2_open
[278567.378044] usb 1-2: Control 0x009a0908 not found
[278567.378047] usb 1-2: Control 0x009a0909 not found
[278567.378049] usb 1-2: Control 0x009a090d not found
[278567.378055] usb 1-2: uvc_v4l2_release
[278567.378176] usb 1-6: uvc_v4l2_open
[278567.378235] usb 1-6: Control 0x009a0908 not found
[278567.378238] usb 1-6: Control 0x009a0909 not found
[278567.378240] usb 1-6: Control 0x009a090d not found
[278567.378247] usb 1-6: uvc_v4l2_release
[278567.378832] usb 1-2: uvc_v4l2_open
[278567.378885] usb 1-2: Control 0x009a0908 not found
[278567.378887] usb 1-2: Control 0x009a0909 not found
[278567.378889] usb 1-2: Control 0x009a090d not found
[278567.378892] usb 1-2: uvc_v4l2_release
[278567.379006] usb 1-6: uvc_v4l2_open
[278567.379065] usb 1-6: Control 0x009a0908 not found
[278567.379068] usb 1-6: Control 0x009a0909 not found
[278567.379070] usb 1-6: Control 0x009a090d not found
[278567.379073] usb 1-6: uvc_v4l2_release
[278569.548738] usb 1-2: Suspending interface 1
[278569.548755] usb 1-2: Suspending interface 0
[278569.814555] usb 1-6: Suspending interface 1
[278569.814570] usb 1-6: Suspending interface 0

[278580.287985] usb 1-2: uvc_v4l2_open
[278580.384008] usb 1-2: Resuming interface 0
[278580.384014] usb 1-2: Resuming interface 1
[278580.384154] usb 1-2: Control 0x009a0908 not found
[278580.384159] usb 1-2: Control 0x009a0909 not found
[278580.384162] usb 1-2: Control 0x009a090d not found
[278580.384172] usb 1-2: uvc_v4l2_release
[278580.384305] usb 1-6: uvc_v4l2_open
[278580.480571] usb 1-6: Resuming interface 0
[278580.480576] usb 1-6: Resuming interface 1
[278580.480679] usb 1-6: Control 0x009a0908 not found
[278580.480682] usb 1-6: Control 0x009a0909 not found
[278580.480683] usb 1-6: Control 0x009a090d not found
[278580.480693] usb 1-6: uvc_v4l2_release
[278582.526741] usb 1-2: Suspending interface 1
[278582.526755] usb 1-2: Suspending interface 0
[278582.980297] usb 1-6: Suspending interface 1
[278582.980314] usb 1-6: Suspending interface 0

 

 

# cat /sys/bus/usb/devices/2-1/power/control
auto
# cat /sys/bus/usb/devices/2-1/power/autosuspend_delay_ms
2000
# echo on | tee /sys/bus/usb/devices/2-1/power/control

 

요렇게 하면 다시 resume 되고 장비가 잘 붙어서 된다.

'Linux' 카테고리의 다른 글

sshfs  (0) 2026.07.21
fc-list 폰트 관리  (0) 2026.06.09
hdmi 연결과 비디오 메모리 사용량  (0) 2026.05.02
jstest  (0) 2026.04.03
리눅스 메모리 timing 확인하기  (0) 2026.01.27
Posted by 구차니
Linux2026. 7. 21. 12:29

예전에 vscode에서 써보려고 찾았었는데

이번에 claude code에서 원격지꺼 하려고 하니 이걸 추천해주네

 

$ sshfs
명령어 'sshfs' 을(를) 찾을 수 없습니다. 그러나 다음을 통해 설치할 수 있습니다:
sudo apt install sshfs


$ sudo apt install sshfs
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 새 패키지를 설치할 것입니다:
  sshfs
0개 업그레이드, 1개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
45.1 k바이트 아카이브를 받아야 합니다.
이 작업 후 126 k바이트의 디스크 공간을 더 사용하게 됩니다.

 

$ sshfs minimonk@192.168.40.238:/mnt mnt
minimonk@192.168.40.238's password: 

$ mount | grep ssh
minimonk@192.168.40.238:/mnt on /home/minimonk/mnt type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

$ umount mnt

[링크 : https://linux.die.net/man/1/sshfs]

'Linux' 카테고리의 다른 글

uvc 카메라, usb auto suspend (ubuntu 22.04)  (0) 2026.08.24
fc-list 폰트 관리  (0) 2026.06.09
hdmi 연결과 비디오 메모리 사용량  (0) 2026.05.02
jstest  (0) 2026.04.03
리눅스 메모리 timing 확인하기  (0) 2026.01.27
Posted by 구차니
Linux/Ubuntu2026. 7. 9. 14:08

22.04

2760p 에서 부팅 잘됨.(uefi가 제한적으로 제공되는 녀석)

 

24.04

flag를 인식못하는지 bios_grub 쪽으로 켜졌다가 점프해야 할 것 같은데 부팅이 안된다.

 

도대체 몇번을 깔고 쑈하는지 쩝.

웃긴건 22.04 깔고 24.05로 distupgrade 하면 잘 된다는 것. 멀까..?

 

ESP - EFI (Extensible Firmware Interface) system partition

에는 부팅시 로드할 파일들이 있는데. UEFI에 다 올려져 있다면 파티션이 필요 없겠지만

지원이 미비한 보드의 경우 로드할 파일이 없으니 못켜지는걸려나?

[링크 : https://en.wikipedia.org/wiki/EFI_system_partition]

'Linux > Ubuntu' 카테고리의 다른 글

espeak-ng TTS  (0) 2026.09.07
festival lite TTS  (0) 2026.09.07
hp 2760p 우분투 26.02 설치 실패  (0) 2026.06.23
ubuntu 26.04 + 595.71.05 + CUDA 13.2  (0) 2026.06.17
festival - a text-to-speech system(TTS)  (0) 2026.05.06
Posted by 구차니
Linux/Ubuntu2026. 6. 23. 16:16

문제 없이 설치되는데

재시작 하면 부팅할 매체를 찾지 못한다.

혹시나 해서 다시 설치 usb로 켜서

gparted 에서 bios_grub 라는 flag 에서

boot로 바꾸었더니 boot + esp가 활성화 되는데

이렇게 해도 안된다. 혹시 uefi가 정상적으로 지원되지 않는 바이오스라 그런건가..?

'Linux > Ubuntu' 카테고리의 다른 글

festival lite TTS  (0) 2026.09.07
ubuntu 22.04 24.04 설치 파티션 차이  (0) 2026.07.09
ubuntu 26.04 + 595.71.05 + CUDA 13.2  (0) 2026.06.17
festival - a text-to-speech system(TTS)  (0) 2026.05.06
luit  (0) 2026.03.23
Posted by 구차니
Linux/Ubuntu2026. 6. 17. 12:39

1080 ti 연결했더니 lspci 에서는 보이는데, nvidia-smi 에서 안뜬다. 

드라이버 올라가면서 사용불가가 된건지, 아니면 cuda 버전 때문인진 모르겠다.

 

ubuntu-drivers autoinstall 대신 install만 치면 자동으로 설치된다.

$ ubuntu-
ubuntu-advantage        ubuntu-distro-info      ubuntu-insights         ubuntu-security-status
ubuntu-bug              ubuntu-drivers          ubuntu-report           

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00002484sv00001458sd0000404Dbc03sc00i00
vendor   : NVIDIA Corporation
model    : GA104 [GeForce RTX 3070]
driver   : nvidia-driver-580-server - distro non-free
driver   : nvidia-driver-580 - distro non-free
driver   : nvidia-driver-595-server - distro non-free
driver   : nvidia-driver-595-open - distro non-free recommended
driver   : nvidia-driver-580-server-open - distro non-free
driver   : nvidia-driver-595-server-open - distro non-free
driver   : nvidia-driver-580-open - distro non-free
driver   : nvidia-driver-595 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

$ sudo ubuntu-drivers autoinstall
Usage: ubuntu-drivers [OPTIONS] COMMAND [ARGS]...
Try 'ubuntu-drivers -h' for help.

Error: No such command 'autoinstall'.
falinux@falinux-gpu:~$  ubuntu-drivers -h
Usage: ubuntu-drivers [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  debug     Print all available information and debug data about drivers.
  devices   Show all devices which need drivers, and which packages apply...
  install   Install a driver [driver[:version][,driver[:version]]]
  list      Show all driver packages which apply to the current system.
  list-oem  Show all OEM enablement packages which apply to this system


sudo ubuntu-drivers install
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
Solving dependencies... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  linux-headers-7.0.0-14 linux-headers-7.0.0-14-generic linux-image-unsigned-7.0.0-14-generic
  linux-main-modules-zfs-7.0.0-14-generic linux-modules-7.0.0-14-generic linux-tools-7.0.0-14
  linux-tools-7.0.0-14-generic
'sudo apt autoremove'를 이용하여 제거하십시오.
다음의 추가 패키지가 설치될 것입니다 :
  libnvidia-cfg1-595 libnvidia-common-595 libnvidia-compute-595 libnvidia-decode-595
  libnvidia-egl-wayland1 libnvidia-encode-595 libnvidia-extra-595 libnvidia-fbc1-595 libnvidia-gl-595
  libpkgconf7 libvdpau1 libxnvctrl0 linux-modules-nvidia-595-open-7.0.0-22-generic
  nvidia-compute-utils-595 nvidia-firmware-595-595.71.05 nvidia-kernel-common-595
  nvidia-kernel-source-595-open nvidia-prime nvidia-settings nvidia-utils-595 ocl-icd-libopencl1
  pkg-config pkgconf pkgconf-bin screen-resolution-extra xcvt xserver-xorg-core
  xserver-xorg-video-nvidia-595
제안하는 패키지:
  nvidia-driver-595 xfonts-100dpi | xfonts-75dpi xfonts-scalable
추천하는 패키지:
  libnvidia-compute-595:i386 libnvidia-decode-595:i386 libnvidia-encode-595:i386
  libnvidia-fbc1-595:i386 libnvidia-gl-595:i386
다음 새 패키지를 설치할 것입니다:
  libnvidia-cfg1-595 libnvidia-common-595 libnvidia-compute-595 libnvidia-decode-595
  libnvidia-egl-wayland1 libnvidia-encode-595 libnvidia-extra-595 libnvidia-fbc1-595 libnvidia-gl-595
  libpkgconf7 libvdpau1 libxnvctrl0 linux-modules-nvidia-595-open-7.0.0-22-generic
  linux-modules-nvidia-595-open-generic-hwe-26.04 nvidia-compute-utils-595 nvidia-driver-595-open
  nvidia-firmware-595-595.71.05 nvidia-kernel-common-595 nvidia-kernel-source-595-open nvidia-prime
  nvidia-settings nvidia-utils-595 ocl-icd-libopencl1 pkg-config pkgconf pkgconf-bin
  screen-resolution-extra xcvt xserver-xorg-core xserver-xorg-video-nvidia-595
0개 업그레이드, 30개 새로 설치, 0개 제거 및 24개 업그레이드 안 함.
324 M바이트 아카이브를 받아야 합니다.
이 작업 후 999 M바이트의 디스크 공간을 더 사용하게 됩니다.

$ nvidia-smi 
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

// 리부팅 이후
$ nvidia-smi
Wed Jun 17 12:01:11 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.71.05              Driver Version: 595.71.05      CUDA Version: 13.2     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3070        Off |   00000000:01:00.0 Off |                  N/A |
|  0%   37C    P8             13W /  270W |      13MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2396      G   /usr/bin/gnome-shell                      3MiB |
+-----------------------------------------------------------------------------------------+

$ lspci -v

01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 404d
Flags: bus master, fast devsel, latency 0, IRQ 136, IOMMU group 2
Memory at b5000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at b6000000 [virtual] [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia


02:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ZOTAC International (MCO) Ltd. Device 1470
Flags: fast devsel, IRQ 16, IOMMU group 9
Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at b4000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia

 

gpt에 의하면 1080ti가 인식 안되는게 nova_core로 인해서 정상적으로 인식을 못한거 같다는데, 또 꼽기 귀찮은디..

아무튼 독점 드라이버가 아니라 오픈소스로 개발된 커널 드라이버라서 안되는걸까?

$ sudo lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Device 404d
Flags: bus master, fast devsel, latency 0, IRQ 135, IOMMU group 2
Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
Memory at a0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at a4000000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, IntMsgNum 0
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express
Capabilities: [bb0] Physical Resizable BAR
Capabilities: [c1c] Physical Layer 16.0 GT/s
Capabilities: [d00] Lane Margining at the Receiver
Capabilities: [e00] Data Link Feature <?>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nova_core, nvidia_drm, nvidia

 

최신이라고 해도 hopper + pascal 이렇게 조합은 불가능하려나?

NVIDIA Grace Hopper 또는 NVIDIA Blackwell과 같은 최첨단 플랫폼의 경우 오픈 소스 GPU 커널 모듈을 사용해야 합니다. 독점 드라이버는 이러한 플랫폼에서 지원되지 않습니다.

Turing, Ampere, Ada Lovelace 또는 Hopper 아키텍처의 최신 GPU의 경우 NVIDIA는 오픈 소스 GPU 커널 모듈로 전환할 것을 권장합니다.

Maxwell, Pascal 또는 Volta 아키텍처의 이전 GPU의 경우 오픈 소스 GPU 커널 모듈이 해당 플랫폼과 호환되지 않습니다. NVIDIA 독점 드라이버를 계속 사용하세요.

동일한 시스템에 구형 및 최신 GPU를 혼합하여 배포하는 경우, 계속해서 독점 드라이버를 사용하세요.

[링크 : https://developer.nvidia.com/ko-kr/blog/nvidia-transitions-fully-towards-open-source-gpu-kernel-modules/]

+

3.11 에서 3.14로 업그레이드 흐음.. 별 문제 없으려나?

$ python3
Python 3.14.4 (main, Apr  8 2026, 04:02:31) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

 

 

+

이전에는 580.65.06 이었네

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.65.06              Driver Version: 580.65.06      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1080 Ti     On  |   00000000:01:00.0 Off |                  N/A |
| 23%   28C    P8              9W /  250W |     150MiB /  11264MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce GTX 1080 Ti     On  |   00000000:02:00.0 Off |                  N/A |
| 23%   33C    P8              8W /  250W |    2805MiB /  11264MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 22.04 24.04 설치 파티션 차이  (0) 2026.07.09
hp 2760p 우분투 26.02 설치 실패  (0) 2026.06.23
festival - a text-to-speech system(TTS)  (0) 2026.05.06
luit  (0) 2026.03.23
ubuntu 22.04 bgr 패널 대응  (0) 2025.12.29
Posted by 구차니
Linux2026. 6. 9. 14:28

폰트 파일을 /usr/share/fonts에 넣었는데 바로 인식안될 경우

리부팅 해도 되지만(!) 아래 명령으로 즉각적으로 갱신이 가능하다고 한다.

$ fc-cache -fv

 

아래 명령으로 현재 시스템의 인식된 폰트를 확인이 가능하다.

$ fc-list

[링크 : https://linux.die.net/man/1/fc-list]

[링크 : https://linux.die.net/man/1/fc-cache]

'Linux' 카테고리의 다른 글

uvc 카메라, usb auto suspend (ubuntu 22.04)  (0) 2026.08.24
sshfs  (0) 2026.07.21
hdmi 연결과 비디오 메모리 사용량  (0) 2026.05.02
jstest  (0) 2026.04.03
리눅스 메모리 timing 확인하기  (0) 2026.01.27
Posted by 구차니
Linux/Ubuntu2026. 5. 6. 22:29

예전에 우분투에서 이상하게 반응이 느렸던 문제로 찾았던건데

llm 에서 한글 발음을 영어로 적게 해서 이걸 festival 통해 wav로 생성하고

메신저로 넘기게 하면 어떨려나?

 

echo "linuxquestions.org" > mytext.txt
text2wave -o mytext.wav myaudio.txt

[링크 : https://wiki.linuxquestions.org/wiki/Text2wave]

[링크 : https://wiki.archlinux.org/title/Festival]

[링크 : https://manpages.ubuntu.com/manpages/resolute/man1/festival.1.html]

[링크 : https://manpages.ubuntu.com/manpages/trusty/man1/text2wave.1.html]

 

+

2026.05.07

ai 가라사대~

설치된 음성은 festival 실행해서 괄호넣어서 하면 나오는데

$ festival

Festival Speech Synthesis System 2.5.0:release December 2017
Copyright (C) University of Edinburgh, 1996-2010. All rights reserved.

clunits: Copyright (C) University of Edinburgh and CMU 1997-2010
clustergen_engine: Copyright (C) Carnegie Mellon University 2005-2017
hts_engine: 
The HMM-Based Speech Synthesis Engine "hts_engine API"
hts_engine API version 1.07 (http://hts-engine.sourceforge.net/)
Copyright (C) The HMM-Based Speech Synthesis Engine "hts_engine API"
Version 1.07 (http://hts-engine.sourceforge.net/)
Copyright (C) 2001-2012 Nagoya Institute of Technology
              2001-2008 Tokyo Institute of Technology
All rights reserved.

All rights reserved.
For details type `(festival_warranty)'
festival> voice.list
#<CLOSURE nil (begin "(voice.list)
List of all (potential) voices in the system.  This checks the voice-location
list of potential voices found be scanning the voice-path at start up time.
These names can be used as arguments to voice.description and
voice.describe." (mapcar car voice-locations))>
festival> (voice.list) 
(kal_diphone)

 

festvox로 추가 음성을 설치할 수 있다고 한다.

$ apt-cache search festvox*
flite - Small run-time speech synthesis engine
flite1-dev - Small run-time speech synthesis engine - development files
freetts - 음성 합성 시스템
libflite1 - 작은 런타임 음성 합성 엔진 - 공유 라이브러리
festvox-ca-ona-hts - Catalan female speaker for festival, 16kHz HTS
festvox-czech-dita - Czech adult female speaker "dita" for Festival
festvox-czech-krb - Czech child male speaker "krb" for Festival
festvox-czech-machac - Czech adult male speaker "machac" for Festival
festvox-czech-ph - Czech male speaker for Festival
festvox-hi-nsk - Hindi male speaker for festival
festvox-italp16k - Italian female speaker for Festival
festvox-itapc16k - Italian male speaker for Festival
festvox-kallpc16k - American English male speaker for festival, 16khz sample rate
festvox-kallpc8k - American English male speaker for festival, 8khz sample rate
festvox-kdlpc16k - American English male speaker for festival, 16khz sample rate
festvox-kdlpc8k - American English male speaker for festival, 8khz sample rate
festvox-mr-nsk - Marathi male speaker for festival
festvox-ru - Russian male speaker for Festival
festvox-suopuhe-common - Common files for Festival Finnish speakers
festvox-suopuhe-lj - Finnish female speaker for Festival
festvox-suopuhe-mv - Finnish male speaker for festival
festvox-te-nsk - Telugu (te) male speaker for festival
festvox-us-slt-hts - : US English voice for Festival. 32kHz sample rate, HTS
festvox-don - minimal British English male speaker for festival
festvox-ellpc11k - Castilian Spanish male speaker for Festival
festvox-en1 - mbrola-en1 voice support for festival
festvox-rablpc16k - British English male speaker for festival, 16khz sample rate
festvox-rablpc8k - British English male speaker for festival, 8khz sample rate
festvox-us1 - mbrola-us1 voice support for festival
festvox-us2 - mbrola-us2 voice support for festival
festvox-us3 - mbrola-us3 voice support for festival

 

echo "Hello" | festival --tts --voice voice_kal_diphone

(Parameter.set 'Duration_Stretch 1.3) ; 느리게
(set! duffint_params '((start 120) (end 140))) ; 피치 변경

 

For example
will make everything speak more slowly.

[링크 : https://www.cstr.ed.ac.uk/projects/festival/manual/festival_19.html#SEC72]

  [링크 : https://www.cstr.ed.ac.uk/projects/festival/manual/]

 

festival> help
"The Festival Speech Synthesizer System: Help

Getting Help
  (doc '<SYMBOL>)   displays help on <SYMBOL>
  (manual nil)      displays manual in local netscape
  C-c               return to top level
  C-d or (quit)     Exit Festival
(If compiled with editline)
  M-h               displays help on current symbol  
  M-s               speaks help on current symbol  
  M-m               displays relevant manual page in local netscape
  TAB               Command, symbol and filename completion
  C-p or up-arrow   Previous command
  C-b or left-arrow Move back one character
  C-f or right-arrow 
                    Move forward one character
  Normal Emacs commands work for editing command line

Doing stuff
  (SayText TEXT)      Synthesize text, text should be surrounded by
                      double quotes
  (tts FILENAME nil)  Say contexts of file, FILENAME should be 
                      surrounded by double quotes
  (voice_rab_diphone) Select voice (Britsh Male)
  (voice_kal_diphone) Select voice (American Male)
"

 

 

'Linux > Ubuntu' 카테고리의 다른 글

hp 2760p 우분투 26.02 설치 실패  (0) 2026.06.23
ubuntu 26.04 + 595.71.05 + CUDA 13.2  (0) 2026.06.17
luit  (0) 2026.03.23
ubuntu 22.04 bgr 패널 대응  (0) 2025.12.29
clamav  (0) 2025.12.22
Posted by 구차니
Linux2026. 5. 2. 19:49

intel igpu 에 연결

Xorg가 0번과 1번에 있으나 4MiB로 거의 사용하지 않는 상태

0

pcie 가장 위 슬롯(pcie - 1)

Xorg가 0번과 1번에 있으나 0번이 45MiB로 많이(?) 차지하는 상태

 

pcie 가장 아래 슬롯(pcie - 4)

Xorg가 0번과 1번에 있으나 1번이 45MiB로 많이(?) 차지하는 상태

 

윈도우에서도 hdmi가 연결한 쪽에 비디오 메모리가 사용되더니 리눅스도 마찬가지 였구나..

'Linux' 카테고리의 다른 글

sshfs  (0) 2026.07.21
fc-list 폰트 관리  (0) 2026.06.09
jstest  (0) 2026.04.03
리눅스 메모리 timing 확인하기  (0) 2026.01.27
journalctl 옵션  (0) 2026.01.20
Posted by 구차니