Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues installing and running on Manjaro/Arch. Probably an issue with Intel audio #9

Open
hamster4430 opened this issue May 12, 2020 · 1 comment

Comments

@hamster4430
Copy link

hamster4430 commented May 12, 2020

I followed this tutorial: https://steamcommunity.com/app/410340/discussions/3/3211505894113757828/

First of all, I was unable to find portaudio19-dev, but there were already portaudio 1:19.6.0-6 and lib32-portaudio 1:19.6.0-4 installed. Here is a screenshot of what is available in repos.
Screenshot_20200512_162950

module make was successful

[olive@olive-videoproject module]$ make
make -C /lib/modules/5.6.8-1-MANJARO/build M=/home/olive/Downloads/txppm-master/module modules
make[1]: Entering directory '/usr/lib/modules/5.6.8-1-MANJARO/build'
  CC [M]  /home/olive/Downloads/txppm-master/module/tx.o
  MODPOST 1 modules
  CC [M]  /home/olive/Downloads/txppm-master/module/tx.mod.o
  LD [M]  /home/olive/Downloads/txppm-master/module/tx.ko
make[1]: Leaving directory '/usr/lib/modules/5.6.8-1-MANJARO/build'

however, sudo make install had some issues

[olive@olive-videoproject module]$ sudo make install
[sudo] password for olive: 
make -C /lib/modules/5.6.8-1-MANJARO/build M=/home/olive/Downloads/txppm-master/module modules_install
make[1]: Entering directory '/usr/lib/modules/5.6.8-1-MANJARO/build'
  INSTALL /home/olive/Downloads/txppm-master/module/tx.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: crypto/bio/bss_file.c:69
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: crypto/bio/bss_file.c:76
sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  5.6.8-1-MANJARO
make[1]: Leaving directory '/usr/lib/modules/5.6.8-1-MANJARO/build'
depmod
install 100-txppm.rules /etc/udev/rules.d/

software make was also successful

[olive@olive-videoproject software]$ make
cc -O2  -c -oppm.o ppm.c
cc -O2  -c -osys.o sys.c
cc -O2  -c -otui.o tui.c
cc -o ppm2tx ppm.o sys.o tui.o -lpthread -lportaudio -lm -lasound -O2

and make install

[olive@olive-videoproject software]$ sudo make install
[sudo] password for olive: 
install ppm2tx /usr/local/bin/
mkdir -p /usr/local/share/txppm
install logo.png /usr/local/share/txppm/
install ../LICENSE /usr/local/share/txppm/
install icon.png /usr/share/pixmaps/
install txppm.desktop /usr/share/applications/

starting ppm2tx seems can't find compatible device

[olive@olive-videoproject software]$ ppm2tx
TXPPM - ppm2tx v.0.3.8 by Jürgen Diez
This program comes with ABSOLUTELY NO WARRANTY; for details see the LICENSE shipped with this software.
This is free software, and you are welcome to redistribute it under certain conditions; check the LICENSE file shipped with this software for details.Syntax: ppm2tx <deviceid> <mixing>

List of available devices:
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
DeviceID (0) name: HDA Intel PCH: ALC662 rev3 Analog (hw:0,0).
DeviceID (7) name: sysdefault.
DeviceID (15) name: samplerate.
DeviceID (16) name: speexrate.
DeviceID (17) name: pulse.
DeviceID (18) name: speex.
DeviceID (19) name: upmix.
DeviceID (20) name: vdownmix.
DeviceID (22) name: default.

sudo dmesg | tail does not have twoo needed lines
[ 3442.005651] input: PPM Transmitter as /devices/virtual/input/input15
[ 3442.005742] tx: device /dev/tx created (major: 222 minor: 0)

[olive@olive-videoproject ~]$ sudo dmesg | tail
[11340.173639] audit: type=1106 audit(1589294414.221:157): pid=40134 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11340.173641] audit: type=1104 audit(1589294414.221:158): pid=40134 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11377.435311] audit: type=1101 audit(1589294451.485:159): pid=40193 uid=1000 auid=1000 ses=1 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="olive" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11377.435522] audit: type=1110 audit(1589294451.485:160): pid=40193 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11377.437655] audit: type=1105 audit(1589294451.488:161): pid=40193 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11377.444345] audit: type=1106 audit(1589294451.495:162): pid=40193 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11377.444413] audit: type=1104 audit(1589294451.495:163): pid=40193 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11445.071706] audit: type=1101 audit(1589294519.119:164): pid=40291 uid=1000 auid=1000 ses=1 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="olive" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11445.071870] audit: type=1110 audit(1589294519.119:165): pid=40291 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
[11445.074327] audit: type=1105 audit(1589294519.122:166): pid=40291 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 res=success'
@hamster4430 hamster4430 changed the title Issues installing and running on Manjaro/Arch probably issue with Intel audio Issues installing and running on Manjaro/Arch. Probably an issue with Intel audio May 12, 2020
@davidadriao
Copy link

davidadriao commented Sep 17, 2021

I had the same issue and just tried a different sound device that showed up after a while and it worked. The one that worked for me was

HDA Intel PCH: ALC887-VD Analog (hw:0,0)

and before it was only showing

HDA Intel PCH: ALC887-VD Alt-Analog (hw:0,2)

About the driver not showing up on the dmesg tail, it might be somewhere up there. Just make sure the device shows up in-game after injecting the module or try this:

sudo dmesg | grep PPM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants