#setting up graphics and audio...

227 messages · Page 1 of 1 (latest)

civic jolt
#

Hello, I'm trying to set up my audio, and so far, I can't produce any sound. During my plasma-desktop install, I was asked to download a few audio packages (all I remember so far is jack2 and pipewire). Afaik, that's all I have

As for graphics, afaik all I have is the xorg package, the 3 proprietary nvidia drivers, and kernel-headers installed. I'm trying to follow the wiki for how to set this up, but it's a little confusing for me. Thanks in advance for your guy's help.

heady bone
civic jolt
#

probably not

#

says it cant be found let me send ss

heady bone
civic jolt
#

p11-kit-server.socket pipewire.socket

heady bone
#
sudo pacman -S --noconfirm pipwire-pulse
civic jolt
#

is it expected for that to not be apart of the plasma desktop package?

#

seems a little weird

#

ik u said u dont do plasma but just from a DE standpoint

heady bone
civic jolt
#

oh my bad then

heady bone
#

pipewire-pulse provides pulseaudio

#

But none of them are in any package group.

civic jolt
#

I see. I was prompted to chose between pulseaudio and an alternative. I went with that one

heady bone
#

You should be able to play audio after installing pipewire-pulse.

civic jolt
#

right and after I enable the services?

#

oh well it says the preset is enabled

heady bone
#

As the package's .install script automatically enables the socket activation of the pipewire-pulse user service

#

Many packages have install scripts, you can view them like this

cat /var/lib/pacman/local/pipewire-pulse-1:0.3.77-2/install
civic jolt
#

when I run the command u first sent it said the presets were enabled but the service is disabled

heady bone
#

Or use pacscripts from the `pacman-contrib' package.

pacscripts pipewire-pulse
civic jolt
#

both say dead

heady bone
#

Because the install script only enables socket activation by default

heady bone
civic jolt
#

yep

#

if it helps I can get some more software (i.e: discord/fireshot) to make it more legible now that im no longer bound to shell

heady bone
#

In this example, the output of <command> is piped to this website,.

civic jolt
#

right, I see

heady bone
civic jolt
#

is there a way I can alias this command so all I need to do is fill in <command> as my parameter?

heady bone
civic jolt
#

could I add the | too or do I not want that?

heady bone
civic jolt
#

ill take ur word for it but just so I see the trees within the forest, why?

heady bone
civic jolt
#

both

heady bone
civic jolt
#

oh I see

#

echo -e '\a' is supposed to play a noise right?

heady bone
#

And it is also logically ambiguous

civic jolt
heady bone
civic jolt
#

damn

#

honestly i dont even know how to change my volume so that could be it too

#

my volume dial is broken so I always had it remapped on synapse (proprietary peripherals software)

heady bone
#
pacman -Q pipewire-session-manager
civic jolt
civic jolt
#

im gonna get screenshots up and running too

#

@heady bone

heady bone
# civic jolt

You can use wpctl to change the volume,
exempli gratia

# Increase the volume by 10% and limit the maximum volume to 120%.
wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ -l 1.2
# Reduce the volume by 10%.
wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-
#

You can map these commands to custom keys

civic jolt
#

alr cool

heady bone
civic jolt
#

nah doesnt work

#

let me send a ss in case i did something dumb

heady bone
# civic jolt

Sorry, I placed my comment in the middle of the command

civic jolt
#

yeah no worries, just sent it for completeness

heady bone
#

However, it is obvious that the wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%- is a single command.

#

There is no line break in it

civic jolt
#

yeah idk I assumed it was some special variable you could just reference whereever u wanted

heady bone
#

Obviously this means the default audio output

civic jolt
#

right

#

yeah so no oputput still

#

not sure how I can check which processes are running

heady bone
civic jolt
#

nah the video shows (lots of noise), no audio

heady bone
civic jolt
#

okie dokie

#

it says ixio command wasnt found but I just aliased it a few minutes ago think

heady bone
#

Also make sure that you have installed the pipewire-alsa.

heady bone
civic jolt
#

ah I see

heady bone
#

If you want to alias it permanently, put the alias command in bashrc

civic jolt
heady bone
#
pacman -Q pulseaudio-alsa
civic jolt
heady bone
civic jolt
#

okie dokie

#

done

#

@heady bonedo I try to change the volume again?

civic jolt
#

no volume

heady bone
civic jolt
#

yeah ima find one

civic jolt
heady bone
civic jolt
heady bone
civic jolt
heady bone
civic jolt
#

oh, it can

heady bone
civic jolt
#

there's a 3.5 jack where I hear myself as its spoken through the mic

#

ok got it, does my source need to be changed too?

heady bone
#

Also check that the device is physically switched on and that the volume is set to the correct level.

civic jolt
#

yeah it is

#

i checked earlier

#

it works on windows

civic jolt
heady bone
civic jolt
#

so yeah

heady bone
civic jolt
#

oh its not a speaker exactly

#

it just supports a direct output with the 3.5 jack

#

my bad

heady bone
#
wpctl set-default 32
civic jolt
#

👍

#

never seen that output before, normally it's realtek

#

guess windows stuff

#

do you mind helping me with the nvidia stuff or should I make a seperate thread for that?

heady bone
civic jolt
# heady bone Can you explain in detail and provide context such as - installed drivers, pack...

yep sure thing, as for outputs

dmesg has a LOT of stuff. not sure what u want there

http://ix.io/4DvX

I'm just struggling to put everything together. Idk what things apply to me (aarch vs linux 64bit or even if I need to follow that step in #2 since I have nvidia which is also a driver?), whether I need dkms or not, whether I need the turing drivers it mentions in the nvidia article, etc. As for what I already have installed, I believe I downloaded xorg and I know I downloaded the 3 proprietary nvidia drivers from the xorg guide too. I also installed linux-headers because I think that's part of the process.

sorry if this is hard to follow. lmk whatever I can do to help u help me

#

also I plan on using wayland at some point because it seems to be more performant for gaming and my friend told me a long time ago it's better for multi-monitoring, but i dont want to do too much at once

heady bone
#

aarch vs linux 64bit or even if I need to follow that step in #2
Are you using an ARM CPU? What is step in #2? Where?
Can you speak a little more coherently?

civic jolt
#

these are the two sources ive been using

civic jolt
heady bone
#

Entschuldigung, I have no more watts in my brain to analyse your speech pattern.

civic jolt
#

maybe I can rephrase

civic jolt
# heady bone Entschuldigung, I have no more watts in my brain to analyse your speech pattern.

so I'm pretty sure ARM is for raspberry pi devices. i'm not using arch on a raspberry pi, but idk what other devices (if any) would use an ARM architecture.

https://wiki.archlinux.org/title/NVIDIA
https://wiki.archlinux.org/title/Xorg#Driver_installation

The aforementioned links are what I've been using to try to get "graphics" (using broad term here) to work.

Are you using an ARM CPU? What is step in #2? Where?

step 2 in https://wiki.archlinux.org/title/NVIDIA

heady bone
civic jolt
heady bone
civic jolt
civic jolt
#

im just worried I haven't fully installed everything I needed to to be able to safely game on my pc

#

alr 1 sec

#

ah I see, shows 535.98-2, which I suppose is what xorg did?

heady bone
heady bone
civic jolt
civic jolt
heady bone
civic jolt
#

ah that's great, so as far as you can tell I don't need or should install anything else as far as nvidia goes?

heady bone
civic jolt
heady bone
civic jolt
#

my friend uses wayland on his desktop and he's told me stories about how it was a pain in the ass for him to do certain things. I forgot what he said exactly, but I didnt notice if you had those issues (assuming you use it)

heady bone
#

Yes I use wayland with a nvidia card

civic jolt
heady bone
civic jolt
heady bone
heady bone
#

For example, you can search for files in /usr/share/wayland-sessions

civic jolt
#

im trying to look at the wiki for more info, but I still don't fully get it sadcat

civic jolt
# heady bone trial and error

I see, I guess I'll do some independent research on that later.

something I noticed rn is that ur messages say "tomorrow" and a given time, and my clock isn't visible on the bottom right hand corner. I assume the latter issue is just because i havent installed something, but it might be related

#

for example

grim palm
#

Time traveler spotted

civic jolt
#

i mean uhh its all perfectly normal SCWhmm

heady bone
heady bone
civic jolt
heady bone
#

This is wrong, UTC-0 is 08:00:54 as we speak

civic jolt
#

oh yeah

#

1 sec

heady bone
civic jolt
#

thats right

#

...i hope

heady bone
civic jolt
#

timedatectl set-time "yyyy-MM-dd hh:mm:ss"

?

heady bone
#

Just timedatectl

civic jolt
heady bone
civic jolt
heady bone
#
sudo systemctl restart systemd-timesyncd.service
civic jolt
#

there we go

#

would be nice if I could see it in my taskbar sadcat

#

is this just a kde feature I need to install?

#

cause the calendar shows if I clock on the area

heady bone
#

I know nothing about KDE as I am not a user

grim palm
#

Try log out and log in or reboot

civic jolt
#

alr

#

just a general question, how do I log out as a user in the terminal?

#

i couldn't find that in the wiki or forums

heady bone
civic jolt
#

I'm not sure. when in im the shell, I was always as root for a while, then I became a user. I don't know how to go back to root account. i assume with a desktop environment its harder to do

civic jolt
civic jolt
#

yeah but a longer lasting sudo

#

like if I want to execute multiple root commands at once

heady bone
#

When you are running a desktop environment as regular user, there is no such thing as logout as root

civic jolt
grim palm
#

You can log in as a root user or enter root shell with su
But I'd advise against it

heady bone
heady bone
civic jolt
#

can u remind me what the command is to see the flags? man?

grim palm
#

man

civic jolt
heady bone
#

To increase this timeout, execute

echo "Defaults timestamp_timeout=time_in_minuts" | sudo tee /etc/sudoers.d/timeout
civic jolt
#

btw do you use BD for discord?

heady bone
#

I use PWA

civic jolt
heady bone
#

No more, no less

civic jolt
#

so it's the default discord in the official repo?

#

forgot what it was called

heady bone
#

A browser tab

civic jolt
#

oh stdumb

#

I see

#

im going to make another thread to see if someone can fix my kde issue. thanks for helping me out again :)