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

grayjay: init at 3 #368427

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

grayjay: init at 3 #368427

wants to merge 3 commits into from

Conversation

samfundev
Copy link

@samfundev samfundev commented Dec 26, 2024

Adds Grayjay Desktop. Fixes #366543

This is the first time I've attempted to package an application so I appreciate any help. I tested this by opening the application, installing the YouTube source and playing a video. I copied the runtime dependencies from here, but I'm not sure if all of those are necessary. Especially since the updater is something that I intentionally left broken. I should also give credit to @Electrostasy whose nix file I built off of.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Dec 26, 2024
@NixOSInfra NixOSInfra added the 12. first-time contribution This PR is the author's first one; please be gentle! label Dec 26, 2024
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Dec 26, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-linux: 1 labels Dec 27, 2024
@ddogfoodd
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 368427


x86_64-linux

✅ 1 package built:
  • grayjay

Copy link
Contributor

@ddogfoodd ddogfoodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

builds and opens for me on x86_64-linux

but somehow can't sync devices or install sources, might be just the alpha state or my network idk

maybe some other person can test and approve

Copy link
Contributor

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass

pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
@github-actions github-actions bot added the 6.topic: lib The Nixpkgs function library label Dec 28, 2024
@nix-owners nix-owners bot requested a review from alyssais December 28, 2024 17:45
lib/licenses.nix Outdated Show resolved Hide resolved
lib/licenses.nix Show resolved Hide resolved
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1 labels Dec 28, 2024
@samfundev
Copy link
Author

Thanks for the help! This is the first time I've attempted to package an application so I appreciate it. I tested this by opening the application, installing the YouTube source and playing a video. I copied the runtime dependencies from here, but I'm not sure if all of those are necessary. Especially since the updater is something that I intentionally left broken. I should also give credit to @Electrostasy whose nix file I built off of.

@samfundev samfundev force-pushed the grayjay branch 2 times, most recently from 92ecfad to 2ce023d Compare December 28, 2024 17:59
Copy link
Contributor

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tried building this. It looks like you've gotten bit by the fact that fixed-output derivations are cached, since right now the fetcher is failing:

error: builder for '/nix/store/skv4a9hircqwm1gz9n5hbix9yrqf28mc-Grayjay.Desktop-3.drv' failed with exit code 1;
       last 16 log lines:
       > exporting https://gitlab.futo.org/videostreaming/Grayjay.Desktop (rev 3) into /nix/store/wx65wpm8l63clbv2l0v141kxfrpz8ahf-Grayjay.Desktop-3
       > Git LFS initialized.
       > Initialized empty Git repository in /nix/store/wx65wpm8l63clbv2l0v141kxfrpz8ahf-Grayjay.Desktop-3/.git/
       > warning: redirecting to https://gitlab.futo.org/videostreaming/Grayjay.Desktop.git/
       > warning: redirecting to https://gitlab.futo.org/videostreaming/Grayjay.Desktop.git/
       > remote: Enumerating objects: 1051, done.
       > remote: Counting objects: 100% (1051/1051), done.
       > remote: Compressing objects: 100% (881/881), done.
       > remote: Total 1051 (delta 124), reused 1037 (delta 120), pack-reused 0 (from 0)
       > Receiving objects: 100% (1051/1051), 146.37 MiB | 6.77 MiB/s, done.
       > Resolving deltas: 100% (124/124), done.
       > From https://gitlab.futo.org/videostreaming/Grayjay.Desktop
       >  * tag               3          -> FETCH_HEAD
       > fatal: Not a valid object name 3
       > Unrecognized git object type:
       > Unable to checkout 3 from https://gitlab.futo.org/videostreaming/Grayjay.Desktop.
       For full logs, run 'nix log /nix/store/skv4a9hircqwm1gz9n5hbix9yrqf28mc-Grayjay.Desktop-3.drv'.
error: 1 dependencies of derivation '/nix/store/z590gqz5gbnlrdznvy2vcxigm5dlzcfa-grayjay-3.drv' failed to build

pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
@samfundev samfundev force-pushed the grayjay branch 2 times, most recently from 6ad53a1 to f90418f Compare December 28, 2024 18:29
@Pandapip1
Copy link
Contributor

Pandapip1 commented Dec 28, 2024

Looks like the fetcher is currently failing due to an issue with one of the submodules. I'm bumping into git-lfs/git-lfs#5511: https://gitlab.futo.org/videostreaming/JustCef/-/tree/master/prebuilt?ref_type=heads

Grayjay.Desktop> remote: Enumerating objects: 38, done.
Grayjay.Desktop> remote: Counting objects: 100% (38/38), done.
Grayjay.Desktop> remote: Compressing objects: 100% (20/20), done.
Grayjay.Desktop> remote: Total 20 (delta 15), reused 5 (delta 0), pack-reused 0 (from 0)
Grayjay.Desktop> Unpacking objects: 100% (20/20), 1.99 KiB | 290.00 KiB/s, done.
Grayjay.Desktop> From https://gitlab.futo.org/videostreaming/JustCef
Grayjay.Desktop>  * branch            56f844fee7b8d26becbf94d4701e40ba7cd280d5 -> FETCH_HEAD
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2

I've contacted upstream; I'll keep you posted on any responses I might get.

@samfundev
Copy link
Author

While I do see those lines when it's fetching, I'm still able to build the package. Maybe I'm misunderstanding what you're trying to say.

@Pandapip1
Copy link
Contributor

While I do see those lines when it's fetching, I'm still able to build the package. Maybe I'm misunderstanding what you're trying to say.

Weird, the fetcher hangs for me.

@Pandapip1
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 368427


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • grayjay
  • nixpkgs-manual

@gepbird
Copy link
Contributor

gepbird commented Jan 1, 2025

I've got the same seemingly never finishing fetcher output as #368427 (comment)

Grayjay.Desktop> Cloning into '/nix/store/ljmnynh86lay51kg3y1wkq5x4zg2nzar-Grayjay.Desktop/JustCef'...
Grayjay.Desktop> remote: Enumerating objects: 575, done.        
Grayjay.Desktop> remote: Counting objects: 100% (575/575), done.        
Grayjay.Desktop> remote: Compressing objects: 100% (482/482), done.        
Grayjay.Desktop> remote: Total 575 (delta 8), reused 549 (delta 8), pack-reused 0 (from 0)        
Grayjay.Desktop> Receiving objects: 100% (575/575), 355.42 KiB | 677.00 KiB/s, done.
Grayjay.Desktop> Resolving deltas: 100% (8/8), done.
Grayjay.Desktop> Submodule path 'FUTO.MDNS': checked out '3c7ccbd2df32d454d7b06a0933d1944e9fbc48fa'
Grayjay.Desktop> Submodule path 'Grayjay.Engine': checked out '130bdd8b4a7f16cacb6785f34869890abdc16079'
Grayjay.Desktop> remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
Grayjay.Desktop> remote: Enumerating objects: 38, done.
Grayjay.Desktop> remote: Counting objects: 100% (38/38), done.
Grayjay.Desktop> remote: Compressing objects: 100% (20/20), done.
Grayjay.Desktop> remote: Total 20 (delta 15), reused 5 (delta 0), pack-reused 0 (from 0)
Grayjay.Desktop> Unpacking objects: 100% (20/20), 2.07 KiB | 68.00 KiB/s, done.
Grayjay.Desktop> From https://gitlab.futo.org/videostreaming/JustCef
Grayjay.Desktop>  * branch            56f844fee7b8d26becbf94d4701e40ba7cd280d5 -> FETCH_HEAD
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> https://git-lfs.github.com/spec/v1 is not a valid attribute name: prebuilt/.gitattributes:1
Grayjay.Desktop> sha256:c1053553fbff49e3bc136efcf3612ab3639baec7914fa407472a8e74b440ff4d is not a valid attribute name: prebuilt/.gitattributes:2
Grayjay.Desktop> Submodule path 'JustCef': checked out '56f844fee7b8d26becbf94d4701e40ba7cd280d5'
Grayjay.Desktop> removing `.git'...
grayjay-frontend-npm-deps> building '/nix/store/slsi3yb3b3914cpixdx33j3660rxh5r2-grayjay-frontend-npm-deps.drv'

But surprisingly after an hour it finishes

2025-01-01_17-29

@Pandapip1
Copy link
Contributor

Well, it builds. I also ran it and it seems to run fine. So I guess I'll take another look at the derivation?

Copy link
Contributor

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just two nits

pkgs/by-name/gr/grayjay/package.nix Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Show resolved Hide resolved
@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Jan 2, 2025
@samfundev
Copy link
Author

I think the reason that LFS is taking so long is because it's downloading prebuilt binaries in JustCef. I'm currently using the prebuilt binaries, but perhaps we could skip LFS all together if JustCef was included as part of the build. I could try looking into building that instead of using the prebuilt binaries, but it looks somewhat complicated.

@sigboe
Copy link

sigboe commented Jan 17, 2025

There is a guy who has this built using buildDotnetModule in his custom NUR repo, he also has his build pushed to cachix, I haven't tried it as I haven't figured out how to run the program without editing my nix config

#366543 (comment)
https://codeberg.org/quasigod/nur

pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/gr/grayjay/package.nix Outdated Show resolved Hide resolved
@lzszt
Copy link
Contributor

lzszt commented Jan 19, 2025

The build works for me, but I get the following error when running grayjay.

Log output ``` CEF:Searching for dotcefnative, search paths: CEF: - /nix/store/q1gw4lh12i35c6z9m2dxmz43782asmx5-grayjay-3/lib/grayjay/cef/dotcefnative CEF: - /nix/store/q1gw4lh12i35c6z9m2dxmz43782asmx5-grayjay-3/lib/grayjay/dotcefnative CEF:Working directory '/nix/store/q1gw4lh12i35c6z9m2dxmz43782asmx5-grayjay-3/lib/grayjay/cef'. CEF:CEF exe path '/nix/store/q1gw4lh12i35c6z9m2dxmz43782asmx5-grayjay-3/lib/grayjay/cef/dotcefnative'. --change-stack-guard-on-fork=disable --disable-chrome-runtime --parent-to-child 115 --child-to-parent 118 --disable-web-security --use-views Program:Main: Starting DotCefProcess finished (10ms) Program:Main: Starting window. Receive loop started. CEF:Could not start dynamically linked executable: /nix/store/q1gw4lh12i35c6z9m2dxmz43782asmx5-grayjay-3/lib/grayjay/cef/dotcefnative CEF:NixOS cannot run dynamically linked executables intended for generic CEF:linux environments out of the box. For more information, see: CEF:https://nix.dev/permalink/stub-ld GrayjayServer:RunServerAsync: Called with (proxyUrl = ). Receive loop stopped. Unhandled exception. System.AggregateException: One or more errors occurred. (Broken pipe) ---> System.IO.IOException: Broken pipe ---> System.Net.Sockets.SocketException (32): Broken pipe at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsync(Socket socket, CancellationToken cancellationToken) at System.Net.Sockets.Socket.SendAsync(ReadOnlyMemory`1 buffer, SocketFlags socketFlags, CancellationToken cancellationToken) at System.IO.Pipes.PipeStream.WriteAsyncCore(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.IO.Pipes.PipeStream.WriteAsyncCore(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at System.IO.Pipes.PipeStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at DotCef.DotCefProcess.CallAsync(OpcodeController opcode, Byte[] body, Int32 offset, Int32 size, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at DotCef.DotCefProcess.CallAsync(OpcodeController opcode, Byte[] body, Int32 offset, Int32 size, CancellationToken cancellationToken) at DotCef.DotCefProcess.CreateWindowAsync(String url, Int32 minimumWidth, Int32 minimumHeight, Int32 preferredWidth, Int32 preferredHeight, Boolean fullscreen, Boolean contextMenuEnable, Boolean shown, Boolean developerToolsEnabled, Boolean resizable, Boolean frameless, Boolean centered, Boolean proxyRequests, Boolean logConsole, Func`3 requestProxy, Boolean modifyRequests, Func`3 requestModifier, Boolean modifyRequestBody, String title, String iconPath, CancellationToken cancellationToken) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at DotCef.DotCefProcess.CreateWindowAsync(String url, Int32 minimumWidth, Int32 minimumHeight, Int32 preferredWidth, Int32 preferredHeight, Boolean fullscreen, Boolean contextMenuEnable, Boolean shown, Boolean developerToolsEnabled, Boolean resizable, Boolean frameless, Boolean centered, Boolean proxyRequests, Boolean logConsole, Func`3 requestProxy, Boolean modifyRequests, Func`3 requestModifier, Boolean modifyRequestBody, String title, String iconPath, CancellationToken cancellationToken) at Grayjay.Desktop.Program.Main(String[] args) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Grayjay.Desktop.Program.Main(String[] args) at Grayjay.Desktop.Program.(String[] args) --- End of stack trace from previous location --- at System.IO.Pipes.PipeStream.WriteAsyncCore(ReadOnlyMemory`1 source, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.IO.Pipes.PipeStream.WriteAsyncCore(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at DotCef.DotCefProcess.CallAsync(OpcodeController opcode, Byte[] body, Int32 offset, Int32 size, CancellationToken cancellationToken) at DotCef.DotCefProcess.CreateWindowAsync(String url, Int32 minimumWidth, Int32 minimumHeight, Int32 preferredWidth, Int32 preferredHeight, Boolean fullscreen, Boolean contextMenuEnable, Boolean shown, Boolean developerToolsEnabled, Boolean resizable, Boolean frameless, Boolean centered, Boolean proxyRequests, Boolean logConsole, Func`3 requestProxy, Boolean modifyRequests, Func`3 requestModifier, Boolean modifyRequestBody, String title, String iconPath, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Grayjay.Desktop.Program.Main(String[] args) at Grayjay.Desktop.Program.(String[] args) ```

@samfundev
Copy link
Author

Sorry, I had nix-ld enabled. I've added autoPatchelfHook and moved the dependencies to buildInputs. Also tested playing and downloading a video again.

@normalcea
Copy link
Contributor

normalcea commented Jan 19, 2025

I tested this PR on my non-NixOS Linux Mint install with X11 Cinnamon and NixGL. After adding a YouTube source, no audio would play and the desktop detected no audio playing from grayjay (didn't show up at all)

output from nix-build -A grayjay && nix run --impure github:normalcea/nixGL-fork -- ./result/bin/Grayjay

# Likely nixGL specific on my end

CEF:MESA-LOADER: failed to open dri: /nix/store/ak5hicfnzhd1kwk7dzlyy4w8sg8zq8hn-mesa-24.3.3/lib/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/gbm:/nix/store/ak5hicfnzhd1kwk7dzlyy4w8sg8zq8hn-mesa-24.3.3/lib/gbm, suffix _gbm)

# (later when playing a video, no audio plays)

CEF:ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/nix/store/y26wywsahsr3swpnlm4b41px4c035mva-alsa-lib-1.2.13/lib/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
CEF:[2761966:2761966:0119/164821.833698:ERROR:alsa_util.cc(204)] PcmOpen: default,No such device or address
CEF:ALSA lib dlmisc.c:339:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_pipewire.so (/nix/store/y26wywsahsr3swpnlm4b41px4c035mva-alsa-lib-1.2.13/lib/alsa-lib/libasound_module_pcm_pipewire.so: cannot open shared object file: No such file or directory)
CEF:[2761966:2761966:0119/164821.833781:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,No such device or address

# (after running for a while)

CEF:Warning: libX11-xcb.so.1: cannot open shared object file: No such file or directory
CEF:Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_intel.so. Ignoring this JSON
CEF:Warning: libLLVM-17.so.1: cannot open shared object file: No such file or directory
CEF:Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so. Ignoring this JSON
CEF:Warning: libLLVM-17.so.1: cannot open shared object file: No such file or directory
CEF:Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so. Ignoring this JSON
CEF:Warning: libzstd.so.1: cannot open shared object file: No such file or directory
CEF:Warning: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Ignoring this JSON
CEF:Warning: vkCreateInstance: Found no drivers!
CEF:Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
CEF:    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:106)
CEF:
CEF:[2751991:2751991:0119/164219.507537:ERROR:gpu_blocklist.cc(71)] Unable to get gpu adapter

Also is there any information for building on darwin? The derivation is very Linux-centric with no guardrails on Linux only dependencies used (x11, alsa-lib, etc) as Grayjay advertises being cross-platform.

TL;DR

  • Builds successfully.
  • No sound plays from application.
  • Various shared object file warnings related to graphics.

@normalcea
Copy link
Contributor

Grayjay version 3 has been superseded by Grayjay version 4. Plugins break if the application isn't using the latest upstream release so this PR will need to be updated with version 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: lib The Nixpkgs function library 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: Grayjay Desktop
10 participants