The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-24 20:14:25

FF is somehow fixated on using the "default" sound output.
Having my asound.conf like this, fixed it and i can control FF*s sound output:

defaults.pcm.card 0
defaults.ctl.card 0

#2 Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-21 12:21:19

yolobro
Replies: 12

Hi all,

I have this issue with firefox.
Audio will work out-of-the-box. But once I have a /etc/asound.conf, sound is gone.
These are the error messages:

aplay -L shows

...
default
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC236 Analog
    Direct hardware device without any conversions
...

Card 0, device 0 is the normal laptop speaker. aplay works with this device.

my /etc/asound.conf

pcm.!default {
    type hw
    card 0
    device 0
}

ctl.!default {
    type hw
    card 0
    device 0
}

This config will work with everything (aplay, mpg123) but firefox.

I dont use pulseaudio.

Any hints? Thanks!

#3 Re: Other Issues » Mouse lags but only in a game » 2022-01-21 10:59:34

Head_on_a_Stick wrote:

What is the graphics hardware and driver?

00:02.0 VGA compatible controller [0300]: Intel Corporation Iris Plus Graphics G1 (Ice Lake) [8086:8a56] (rev 07)
	Subsystem: Hewlett-Packard Company Device [103c:85f3]
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:8a03] (rev 03)

If you start the game from a terminal does it show any error messages?

No errors, it reports either mesa or software rendering, but with both the mouse is the same.

Renderer: OpenGL (Intel // Mesa Intel(R) UHD Graphics (ICL GT1) // 4.6 (Compatibility Profile) Mesa 20.3.5)
Renderer: Software (Cairo)

I searched the interweb for you (you're welcome) and found these:

Thanks, I have read these before and it's unrelated unfortunately.

#4 Other Issues » Mouse lags but only in a game » 2022-01-20 19:13:50

yolobro
Replies: 3

Hi all,

I'm using i3wm and no desktop manager.
When I play the game "papers please" my mouse will hang about every 10s for 1s. outside of the game window, it works fine.

I does not matter whether the game uses mesa or software rendering.
It is the same for my touchpad as well as a usb mouse.
It does not matter whether I run compton or not.

I have played this game on another i3wm devuan setup and it worked fine. This does not seem like a common problem for this game.

Any idea or hints how I could find the cause of this?
Thanks a lot in advance!

#5 Re: Other Issues » [SOLVED] Reloading wifi interface and kernel module without reboot » 2022-01-10 08:15:14

Marjorie wrote:

The instruction I had to use to specify which modules to load/unload were in the file /etc/pm/config.d/defaults, the relevant lines being:

# If you need to unload any modules to suspend/resume, add them here.
SUSPEND_MODULES="ath9k ath9k_common ath9k_hw ath"

Perfect, thank you very much.
I also use pm-utils, so I now have it unload the module. I verified it did that in the log. Coming back up, wifi works.
So I think this should effectively circumvent the crashing.

#6 Re: Other Issues » [SOLVED] Reloading wifi interface and kernel module without reboot » 2022-01-09 11:55:25

Thanks. I do not use any network manager. Just wpa_supplicant.
My init 1 just has these:

K01acpi-support  K01alsa-utils  K01hddtemp  K03rsyslog  S01killprocs  S02single  S05bootlogs

I dont think they can help.

#7 Other Issues » [SOLVED] Reloading wifi interface and kernel module without reboot » 2022-01-09 09:01:04

yolobro
Replies: 6

For my wifi I need a special kernel driver which is installed via dkms. It' working fine, however sometimes after a suspend, the driver crashes as evident in dmesg. lsmod still shows it though and the wifi interface is still up, but not working anymore.

I want to get wifi back without a reboot.

I have tried to simply rmmod and modprobe the module. It does that but that does not bring the wifi interface back. I have restarted networking (/etc/init.d/networking restart) which also would not help getting the interface back up.

I have also tried this without success:

echo '1' | tee /sys/bus/pci/devices/0000:$PCI/remove > /dev/null
sleep 2
echo '3' | tee /sys/bus/pci/rescan > /dev/null

What did work, but seems like an overkill, is to dkms remove and dkms install the module again.
Any idea what dkms could be doing here that I'm missing?

Thanks a lot for any hints!

Board footer

Forum Software