bug#68415: User's shepherd services defined in guix home config can not start after guix pull.
Feng Shu writes: Have you tried debugging it? Is your home shepherd running? Do you see I tried, but I do not know why: unbound-variable service That is not normal. You need to fix that. The below code run have problem, and I think shepherd is not run, for 'ps aux |grep shepherd' can not found info. home's shepherd is started by ~/.guix-home/on-first-login, which gets invoked in ~/.profile You can try running the script manually and see what happens. Please compare your home configuration before and after the pull. You can find the configs in /var/guix/profiles/per-user//guix-home--link/configuration.scm The subject is "can not start after guix pull", but it seems to me your home is misconfigured and the pull might be unrelated. (service home-shepherd-service-type (home-shepherd-configuration (shepherd shepherd) that's the default, no need to specify shepherd (services (list xautolock-service
bug#68512: Qutebrowser 3, no sound from pipewire-only system
chris writes: On 1月16日 火, Sergey Trofimov wrote: How is pipewire configured on your system? The thing is that qtwebengine@5 is linked with PulseAudio and ALSA libraries, but @6 is linked only with alsa. You probably miss pipewire-alsa compatibility configuration. Do you use home-pipewire-service-type? It sets both pulse/alsa shims and it works for me this way. This system does not use dbus and pipewire was configured about a year ago when there were few options for using pipewire out of the box in any sort of way. Guix home is configured to write a pipewire and three wireplumber config files, as described at this link https://wiki.alpinelinux.org/wiki/PipeWire#Configuration .config/pipewire/pipewire.conf .config/wireplumber/wireplumber.conf .config/wireplumber/main.lua.d/80-disable-dbus.lua .config/wireplumber/bluetooth.lua.d/80-disable-logind.lua With with those files in place, pipewire and wireplumber are started sequentially to get working sound. I use this in my .config/sway/config (possibly this is copy-pasted from unmatched-paren) ``` exec_always killall -wqr "(pipewire|wireplumber)" \ || sleep 1 && ((pipewire &); sleep 2 && (wireplumber &)) ``` Well, qtwebengine doesn't link with PipeWire anyway, you have to use either PulseAudio or ALSA. Here is an example ~/.config/alsa/asoundrc on my system, created by home-pipewire-service-type. If you add such file to your setup - qutebrowser should be able to use alsa lib to output audio through pipewire. --8<---cut here---start->8--- pcm_type.pipewire { lib "/gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/lib/alsa-lib/libasound_module_pcm_pipewire.so" } ctl_type.pipewire { lib "/gnu/store/a331f91m9g8898lccyj7fniqsyv406y9-pipewire-1.0.0/lib/alsa-lib/libasound_module_ctl_pipewire.so" } --8<---cut here---end--->8---
bug#68512: Qutebrowser 3, no sound from pipewire-only system
On 1月16日 火, Sergey Trofimov wrote: > How is pipewire configured on your system? The thing is that qtwebengine@5 > is linked with PulseAudio and ALSA libraries, but @6 is linked only with > alsa. You probably miss pipewire-alsa compatibility configuration. Do you > use home-pipewire-service-type? It sets both pulse/alsa shims and it works > for me this way. This system does not use dbus and pipewire was configured about a year ago when there were few options for using pipewire out of the box in any sort of way. Guix home is configured to write a pipewire and three wireplumber config files, as described at this link https://wiki.alpinelinux.org/wiki/PipeWire#Configuration .config/pipewire/pipewire.conf .config/wireplumber/wireplumber.conf .config/wireplumber/main.lua.d/80-disable-dbus.lua .config/wireplumber/bluetooth.lua.d/80-disable-logind.lua With with those files in place, pipewire and wireplumber are started sequentially to get working sound. I use this in my .config/sway/config (possibly this is copy-pasted from unmatched-paren) ``` exec_always killall -wqr "(pipewire|wireplumber)" \ || sleep 1 && ((pipewire &); sleep 2 && (wireplumber &)) ```
bug#68512: Qutebrowser 3, no sound from pipewire-only system
chris writes: Hello, The latest qutebrowser v3 from this pipewire-only system has no sound. Related messages from the shell process pasted below include CJK characters which debbugs renders as "??", all CJK messages translate as "file or directory not found" yeah, debbugs doesn't support unicode on the web fully. But when checking your messages in emacs debbugs interface, I see the CJK characters just fine. ``` ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083803.232761:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083803.233758:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083808.743619:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083808.744661:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ``` About a year ago, user @iyzsong enabled pipewire support at qutebrowser v2 for me and sound has been good here until today when qutebrowser v3 was installed. iirc, a flag was enabled in qutebrowser or one of its dependencies. How is pipewire configured on your system? The thing is that qtwebengine@5 is linked with PulseAudio and ALSA libraries, but @6 is linked only with alsa. You probably miss pipewire-alsa compatibility configuration. Do you use home-pipewire-service-type? It sets both pulse/alsa shims and it works for me this way.
bug#68478: Close issue
bug#68512: Qutebrowser 3, no sound from pipewire-only system
On 1月16日 火, chris wrote: > For convenience, links to the upstream qt.scm file > * https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n2933 >qtwebengine-5 args > * https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n2998 >qtwebengine (qtwebengine-6) > > Thanks for any input and a link to the commit with commit message https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d9368572abd3683bed4263eb5e149bb404baee59
bug#67475: Close issue
I don’t think your attempt worked, I added “-done” to the debbugs email address.
bug#68512: Qutebrowser 3, no sound from pipewire-only system
For convenience, links to the upstream qt.scm file * https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n2933 qtwebengine-5 args * https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm#n2998 qtwebengine (qtwebengine-6) Thanks for any input
bug#68512: Qutebrowser 3, no sound from pipewire-only system
Possibly this was the change from Iyzsong which enabled sound here, ```sh $ git diff fbbbc2088ce933d83f5b0be75308fdcb6b40fa57 d9368572abd3683bed4263eb5e149bb404baee59 diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 76e9e519c7..01327f6ccf 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2708,7 +2708,8 @@ (define-public qtwebengine-5 "src/buildtools/config/linux.pri" (lambda (in out) (display (get-string-all in) out) -(display "\ngn_args += use_system_openh264=true\n" out))) +(display "\ngn_args += use_system_openh264=true\n" out) +(display "\ngn_args += link_pulseaudio = true\n" out))) ;; Qtwebengine is not installed into the same prefix as ;; qtbase. Some qtbase QTLibraryInfo constants will not ;; work. Replace with the full path to the qtwebengine-5 ``` No equivalent is found by me in the qtwebengine definition that supplies qtwebgine 6
bug#68483: Qutebrowser QT platform plugin could not be initialized
Hey everyone the close email is sent and two separate issues opened, linked below, * https://issues.guix.gnu.org/68512 Qutebrowser 3, no sound from pipewire-only system, * https://issues.guix.gnu.org/68513 Qutebrowser 3, PermissionError qtwebengine_devtools_resources.pak
bug#68513: Qutebrowser 3, PermissionError qtwebengine_devtools_resources.pak
When starting Qutebrowser 3, the shell process shows these messages related to a permission error. The messages include a CJK error that is rendered by debbugs as "??" and the message basically translates as "no permission" ```sh $ qutebrowser 08:17:14 ERROR: Failed to copy webengine resources, not applying quirk Traceback (most recent call last): File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/misc/pakjoy.py", line 253, in patch_webengine webengine_resources_path = copy_webengine_resources() File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/misc/pakjoy.py", line 197, in copy_webengine_resources shutil.rmtree(work_dir) File "/gnu/store/3lxr2xg3yscdb3979blgjg0h7xd1n9la-python-3.10.7/lib/python3.10/shutil.py", line 724, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/gnu/store/3lxr2xg3yscdb3979blgjg0h7xd1n9la-python-3.10.7/lib/python3.10/shutil.py", line 680, in _rmtree_safe_fd onerror(os.unlink, fullname, sys.exc_info()) File "/gnu/store/3lxr2xg3yscdb3979blgjg0h7xd1n9la-python-3.10.7/lib/python3.10/shutil.py", line 678, in _rmtree_safe_fd os.unlink(entry.name, dir_fd=topfd) PermissionError: [Errno 13] 許可がありません: 'qtwebengine_devtools_resources.pak' ``` Thanks in advance for any advice or input Related: https://issues.guix.gnu.org/67289, https://issues.guix.gnu.org/68483
bug#68512: Qutebrowser 3, no sound from pipewire-only system
Hello, The latest qutebrowser v3 from this pipewire-only system has no sound. Related messages from the shell process pasted below include CJK characters which debbugs renders as "??", all CJK messages translate as "file or directory not found" ``` ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083803.232761:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083803.233758:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083808.743619:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3003:3003:0116/083808.744661:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ``` About a year ago, user @iyzsong enabled pipewire support at qutebrowser v2 for me and sound has been good here until today when qutebrowser v3 was installed. iirc, a flag was enabled in qutebrowser or one of its dependencies. Related: https://issues.guix.gnu.org/68483, https://issues.guix.gnu.org/67289
bug#68483: closing
closing
bug#68483: Qutebrowser QT platform plugin could not be initialized
I'm not sure what the correct protocol or etiquette is but I think this issue could be closed by sending an email to 68483-d...@debbugs.gnu.org Maybe the 'done' email should be sent from Sergey who provided the solution? I would like to close this issue and open new separate issues for sound and the PermissionError shown in the process output around 'qtwebengine_devtools_resources.pak'
bug#68483: Qutebrowser QT platform plugin could not be initialized
The snippet should be attributed to Sergey, my apology for incorrectly editing the reply
bug#68483: Qutebrowser QT platform plugin could not be initialized
On 1月16日 火, Sergey Trofimov wrote: > > Clément Lassieur writes: > > --8<---cut here---start->8--- > (simple-service 'qtwayland-vars-service > home-environment-variables-service-type > `(("QT_PLUGIN_PATH" . ,(file-append qtwayland "/lib/qt6/plugins")) > ("QT_QPA_PLATFORM_PLUGIN_PATH" . ,(file-append qtwayland > "/lib/qt6/plugins/platforms" > --8<---cut here---end--->8--- This works here. After adding the above to my home config, qutebrowser starts as `qutebrowser` without the extra params. As for the sound issue, this system uses pipewire only, without dbus. mpv, musikcube and the previous version of qutebrowser have/had sound. When I first setup guix about a year ago, qutebrowser 2 did not produce sound and, to resolve the issue, Iyzsong, in the matrix or irc channel, said they would enable native support for pipewire through a flag at qutebrowser (or maybe one of the dependencies... I don't remember) and the next day after pull and reconfigure the sound began working and there were no sound problems until updating to qutebrowser 3 today.
bug#68415: User's shepherd services defined in guix home config can not start after guix pull.
Sergey Trofimov writes: > Feng Shu writes: > >> After I guix pull, services defined in guix home config can no >> start: >> >> - >> 服务 root 已启动。 >> WARNING: Use of `load' in declarative module (#{ g117}#). Add >> #:declarative? #f to your define-module invocation. >> unbound-variable(#f "Unbound variable: ~S" (service) #f) >> >> Some deprecated features have been used. Set the environment >> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the >> program to get more information. Set it to "no" to suppress >> this message. >> Creating XDG user directories... done >> Comparing >> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts >> and >> >> /gnu/store/bfkgfz1sm9q75jyn56pav2kmwl48i7w8-home/profile/share/fonts... >> done (same) >> Evaluating on-change gexps. >> >> --- >> >> When I run command: herd status, show error: >> >> feng@Guix ~$ herd status >> error: connect: /run/user/1000/shepherd/socket: No such file or >> directory > > Have you tried debugging it? Is your home shepherd running? Do you see I tried, but I do not know why: unbound-variable service The below code run have problem, and I think shepherd is not run, for 'ps aux |grep shepherd' can not found info. (define xautolock-service (shepherd-service (provision '(xautolock)) (documentation "Run 'xautolock'") (start #~(make-forkexec-constructor (list #$(file-append xautolock "/bin/xautolock") "-detectsleep"))) (stop #~(make-kill-destructor ... (service home-syncthing-service-type) (service home-shepherd-service-type (home-shepherd-configuration (shepherd shepherd) (services (list xautolock-service > shepherd mentions in ~/.guix-home/on-first-login? > Have you tried restarting your system? Restart system no effect. > --
bug#68483: Qutebrowser QT platform plugin could not be initialized
Clément Lassieur writes: On Tue, Jan 16 2024, Sergey Trofimov wrote: Would this work with non-wayland users too? (So that it would make sense to add it to the main package?) Thanks, Clément Yeah, it would work, but forcing the platform through parameters is not necessary. I added it just to be sure that wayland is being used instead of xcb. On the other hand I think adding qtwayland dependency to every qt-based gui program doesn't make sense. Maybe a qtwayland-home-service makes more sense which would install the dependency and set required environment variables. This way it would work for every Qt GUI program on wayland. Ok, I see, thanks! As simple as: --8<---cut here---start->8--- (simple-service 'qtwayland-vars-service home-environment-variables-service-type `(("QT_PLUGIN_PATH" . ,(file-append qtwayland "/lib/qt6/plugins")) ("QT_QPA_PLATFORM_PLUGIN_PATH" . ,(file-append qtwayland "/lib/qt6/plugins/platforms" --8<---cut here---end--->8---
bug#67546: You found a bug: the program failed to compute the derivation for Guix
On 2024-01-12 17:02:37 +0100, Simon Tournier wrote: > [..] > > It is a known time-bomb. For now we do not have better other than > hard-code the time. On my machine, I do: > > [..] Thank you very much for the explanation. :) Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. signature.asc Description: PGP signature
bug#68483: Qutebrowser QT platform plugin could not be initialized
On Tue, Jan 16 2024, Sergey Trofimov wrote: >> Would this work with non-wayland users too? (So that it would make >> sense to add it to the main package?) >> >> Thanks, >> Clément > > Yeah, it would work, but forcing the platform through parameters is not > necessary. I added it just to be sure that wayland is being used instead of > xcb. On the other hand I think adding qtwayland dependency to every qt-based > gui program doesn't make sense. Maybe a qtwayland-home-service makes more > sense which would install the dependency and set required environment > variables. This way it would work for every Qt GUI program on wayland. Ok, I see, thanks!
bug#68483: Qutebrowser QT platform plugin could not be initialized
Clément Lassieur writes: On Mon, Jan 15 2024, chris wrote: On 1月15日 月, chris wrote: On 1月16日 火, Sergey Trofimov wrote: > > Here you go: > ```sh > qtw=$(guix build qtwayland@6)/lib/qt6/plugins > QT_PLUGIN_PATH=$qtw > QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms qutebrowser -s > qt.force_platform wayland > ``` I tried this command again just now and succeeded this time. I must have done something wrong the first time. Thank you Sergey! Hi, Would this work with non-wayland users too? (So that it would make sense to add it to the main package?) Thanks, Clément Yeah, it would work, but forcing the platform through parameters is not necessary. I added it just to be sure that wayland is being used instead of xcb. On the other hand I think adding qtwayland dependency to every qt-based gui program doesn't make sense. Maybe a qtwayland-home-service makes more sense which would install the dependency and set required environment variables. This way it would work for every Qt GUI program on wayland.
bug#68483: Qutebrowser QT platform plugin could not be initialized
On Mon, Jan 15 2024, chris wrote: > On 1月15日 月, chris wrote: >> On 1月16日 火, Sergey Trofimov wrote: >> > >> > Here you go: >> > ```sh >> > qtw=$(guix build qtwayland@6)/lib/qt6/plugins >> > QT_PLUGIN_PATH=$qtw QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms qutebrowser >> > -s qt.force_platform wayland >> > ``` > > I tried this command again just now and succeeded this time. I must have done > something wrong the first time. > > Thank you Sergey! Hi, Would this work with non-wayland users too? (So that it would make sense to add it to the main package?) Thanks, Clément
bug#68483: Qutebrowser QT platform plugin could not be initialized
chris writes: Qutebrowser 3 does not have sound and this appears in the process output. "その ようなファイルやディレクトリはありません" means "the file or directory is not found". ``` [3158:3158:0116/000131.568005:ERROR:interface_endpoint_client.cc(694)] Message 4 rejected by interface blink.mojom.WidgetHost ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000734.652713:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000734.653460:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000824.855365:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000824.856521:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000826.415347:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000826.416368:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ``` Sound works for me both in X11 and Wayland environments. I use pipewire though.
bug#68483: Qutebrowser QT platform plugin could not be initialized
Qutebrowser 3 does not have sound and this appears in the process output. "そのようなファイルやディレクトリはありません" means "the file or directory is not found". ``` [3158:3158:0116/000131.568005:ERROR:interface_endpoint_client.cc(694)] Message 4 rejected by interface blink.mojom.WidgetHost ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000734.652713:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000734.653460:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000824.855365:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000824.856521:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000826.415347:ERROR:alsa_util.cc(204)] PcmOpen: default,そのようなファイルやディレクトリはありません ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave [3473:3473:0116/000826.416368:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,そのようなファイルやディレクトリはありません ```