Skip to content

u/mogsington

In this archive from Aug 2016 to Apr 2021

0
posts
21
comments
0
media
105
score

Most tech subjects need a "stupid questions" area somewhere. It's not just arch.

On any tech / science subject, how many times do you find yourself doing a simple search, finding multiple related answers on the web, then wondering why you're about to reply with the results from a basic web search?

I think there's an increasing number of people who just want the correct answer served to them on a plate because they followed the wrong advice a few times and aren't prepared to learn how to filter information or understand why it didn't work.

As far as Arch specifically is concerned, maybe a new rule "No questions that are already answered in the Arch wiki" would filter at least some of them out.

72 points

Try using nvidia-dkms and not the kernel specific versions. If you already are, or that doesn't fix it, then you prob need to go through the arch wiki on nvidia propriety drivers and make sure you followed all the steps (with dkms version).

2 points

Don't run pulseaudio as a system wide daemon. Disable it in systemd.

Then after logging in, try starting pulseuadio from the command line as regular user and see what errors it's throwing. "pulseaudio -v"

1 points

Yeah I just upgraded and the latest pulseaudio is a pain in the ass. I had a trick where I could switch between headphones and speakers in qasmixer (alsa control) without pulseaudio muting everything in existence. Now it doesn't matter what I do, it still won't let me use an alsa mixer to flip between headphones and speakers. So it doesn't surprise me if it's messing up volume changes / mutes for other people as well.

My workaround for now is strip the default.pa file down to making pulse just a plugin to jack and using jack as my main sound server. That way it has zero control over any devices. I don't think pipewire is ready yet either.

2 points

Well if pipewire really is jack compatible, you might be able to use the jack tools zita-j2a or alsa_out to make dedicated devices for each output. I've not played with pipewire much, last time I tried running it (months back) it was horribly unstable so I gave up on it.

1 points

I've never tried to deal with what you're looking at but! ...

If you look in /etc/pulse/default.pa you might be able to get something working. By default it uses udev to hotplug devices when they are connected. If you can live without that, comment out all the section from ".ifexists module-udev-detect.so" so it doesn't try and auto detect any more.

Now you have to define your own sinks (playback devices) and sources.

load-module module-alsa-sink device=hw:<alsa_name> name=HDMI1

Might give you a head start. Replace <alsa_name> with the right bit after CARD= from "aplay -L" to list alsa devices. You might have further messing around to do since all your outputs are on the same device. in which case add the DEV= bit after a comma (I think). So hw:hdmi,1 for example.

I'm not entirely sure it'll work because it depends on what your GPU audio will let alsa do, but it's about the best chance of getting it working I can think of.

3 points

python3.8 from AUR (other suggested it, I didn't know it existed) plus venv can work, just takes a bit of compiling and building the environment. Am just in a bad mood and something else breaking isn't what I need right now. Thanks.

-3 points

Oh jeez. Where to start?

I've no idea how you're missing "runas". If ".wine" is your prefix (the default with nothing else specified), it should be in "~/.wine/drive_c/windows/system[32 and or 64]/runas.exe". From a quick check I seem to have it in all the wine prefix's I know about.

Next problem! If you're running an audio source (like Tidal Hifi) in to Pulseaudio, Pulse will resample whatever you send it to one of it's selected sample rates. "default-sample-rate" & "alternate-sample-rate" in /etc/pulse/daemon.conf. But if the system is already playing something at say 48k, it will stick to 48k even if you do specify 192k as the alternate. Using Pulse Audio Effects and Calf may also limit the bitrate, and will certainly be resampling / processing the audio.

There are ways to pass audio data at full bitrate to a DAC or soundcard, but they tend to involve suspending Pulseaudio and using something like ffplay to pass the audio data as unprocessed as possible to alsa. So in short. Even if you do get Tidal Hifi installed, you'll be mangling it's output through Pulseaudio / Effects / Calf, including down sampling it before it reaches your amp.

2 points

It tells you what the error is:

[12] ERROR: Cannot setup PRIME : Failed to execute 'xrandr --setprovideroutputsource modesetting NVIDIA- 0' :Could not find provider with name NVIDIA-0

I'm not sure where it's getting "NVIDIA- 0" from, but there shouldn't be a space in "- 0", it could be that NVIDIA-0 is wrong anyway even without the space, (I don't play with Prime), but that's what the error says.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.