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

Move definitions upstream #1

Open
1 task
yellowsquid opened this issue Dec 26, 2021 · 5 comments
Open
1 task

Move definitions upstream #1

yellowsquid opened this issue Dec 26, 2021 · 5 comments

Comments

@yellowsquid
Copy link
Owner

Many of these modules are suitable for being moved into upstream Guix. This issue contains a list of which modules could be moved.

  • yellowsquid services pipewire
@awb99
Copy link

awb99 commented Dec 27, 2021

very interested in this!
do you have a example config for it?

@yellowsquid
Copy link
Owner Author

yellowsquid commented Dec 27, 2021

Here's an absolutely minimal Guix Home config for the PipeWire and WirePlumber services.

(use-modules (gnu home)
             (gnu services)
             (yellowsquid services pipewire))

(home-environment
 (services (list
            (service home-pipewire-service-type)
            (service home-wireplumber-service-type))))

In practice, you would want to have shell services, environment variables, and other packages in your profile. See the Home Configuration info node for more details.

@awb99
Copy link

awb99 commented Dec 28, 2021

great! thanks! I will test if that works.

I am trying to use wpctl to change my audio volume in a sway/wayland config. Will let you know how that goes.

I hope you manage the guix process to send it to the main guix repository.

In rde ( https://sr.ht/~abcdw/rde/) I have seen home services that can bring the packages
that they need. I am not sure if this functionality already is in the guix repos or not. But for pipewire
and wireplumber this might make sense, as it would reduce the complexity of guix home services
configuration.

@awb99
Copy link

awb99 commented Dec 28, 2021

This are the warnings I get when I did home reconfigure. Many services have config entries for
logfiles, perhaps that makes sense. I guess it is a missing package

The 3 services pipewire, pipewire-pulse and wireplumber are all running despite ths warning messages.

[W][01256.153563] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.153609] mod.rtkit    | [  module-rtkit.c:  465 set_nice()] could not set nice-level to -11: No such file or directory
[W][01256.154057] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.154966] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.155003] mod.rtkit    | [  module-rtkit.c:  465 set_nice()] could not set nice-level to -11: No such file or directory
[W][01256.155433] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.156722] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.157150] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.157165] mod.rtkit    | [  module-rtkit.c:  625 impl_acquire_rt()] could not make thread realtime: No such file or directory
[W][01256.161240] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.161672] mod.rtkit    | [  module-rtkit.c:  205 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][01256.161687] mod.rtkit    | [  module-rtkit.c:  625 impl_acquire_rt()] could not make thread realtime: No such file or directory

@awb99
Copy link

awb99 commented Dec 28, 2021

This works: wpctl set-volume 39 50
But the sound quality is horrible now. Listening to a youtube video the audio quality is so bad that I
can barely understand a word what is said.
I uges htis is related to this realtime kit tht I dont have installed (which unfortunately I also could not find
with guix search)

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