[varmisanth@varmisanth:~]$ vesktop
[5796:0922/004909.462168:ERROR:ffmpeg_common.cc(959)] Unsupported pixel format: -1
[5705:0922/005008.832864:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005008.832881:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488387331 and trying to renegotiate stream parameters
[5705:0922/005008.845180:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005008.845195:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488370947 and trying to renegotiate stream parameters
[5705:0922/005008.855102:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005008.855116:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488174339 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
[2024-09-22 00:50:09.785] [venmic] [info] [patchbay] (handle) found default metadata: 40
[2024-09-22 00:50:09.785] [venmic] [info] [patchbay] (meta_update) speaker name: "bluez_output.28_FA_19_20_90_1D.1"
[2024-09-22 00:50:09.785] [venmic] [info] [patchbay] (get) running venmic 6.1.0
[2024-09-22 00:50:12.678] [venmic] [info] [patchbay] (create_mic) created: 101
[5705:0922/005012.742173:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005012.742200:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488387331 and trying to renegotiate stream parameters
[5705:0922/005012.775192:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005012.775212:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488370947 and trying to renegotiate stream parameters
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:425 pw_thread_loop_wait()
[5705:0922/005012.847537:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005012.847570:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488387331 and trying to renegotiate stream parameters
[5705:0922/005012.881980:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005012.881997:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488370947 and trying to renegotiate stream parameters
[5705:0922/005012.908729:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[5705:0922/005012.908746:ERROR:shared_screencast_stream.cc(938)] Dropping DMA-BUF modifier: 144115188488174339 and trying to renegotiate stream parameters
[OpenH264] this = 0x0x37340b650fc0, Warning:Actual input framerate 0.000000 is different from framerate in setting 30.000000, suggest to use other rate control modes
[OpenH264] this = 0x0x37340b650fc0, Warning:Actual input framerate 0.000000 is different from framerate in setting 29.000000, suggest to use other rate control modes
[OpenH264] this = 0x0x37340b650fc0, Warning:Actual input framerate 0.000000 is different from framerate in setting 26.000000, suggest to use other rate control modes
[OpenH264] this = 0x0x37340b650fc0, Warning:Actual input framerate 0.000000 is different from framerate in setting 26.000000, suggest to use other rate control modes
[OpenH264] this = 0x0x37340b650fc0, Warning:Actual input framerate 0.000000 is different from framerate in setting 27.000000, suggest to use other rate control modes
Please share your pipewire config. Also, is vesktop running under XWayland or native Wayland (via Ozone)?
My pipewire config:
- pipewire/default.nix
{
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}
I guess, i’m running vesktop under native wayland ( not sure ).
What compositor and xdg portals are you using?
Also you’ll need to enable rtkit at a minimum
Hyprland with aquamarine (replace of wlroots).
My xdg-desktop-portals:
{ pkgs
, ...
}:
{
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-wlr
pkgs.xdg-desktop-portal-gtk
];
};
}
And also i have rtkit, just in other file.
hyprland’s portal does the job that wlr’s does, so I’d just keep the hyprland and gtk portals. (And hyprland’s portal should be pulled in by the nixos module already.) Though I can’t guarantee it’s compatible with aquamarine, I’ve never heard of that.
Either way you’ll probably also want to check the status of the portals’ systemd services to see if there are errors, and verify if you’re running vesktop via native wayland or not.
Alright, but I can confidently say that it doesn’t work even without wlr, I’ve already tried with portals, and also, without the hyprland portal, the window chooser doesn’t appear. I’ll send the service statuses when I get home. As I understand it, we are in different time zones, which is why I’m responding with a significant delay.
● xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
Loaded: loaded (/etc/systemd/user/xdg-desktop-portal-hyprland.service; linked-runtime; preset: enabled)
Active: active (running) since Thu 2024-09-26 19:42:20 EEST; 3min 30s ago
Invocation: a6ff6c86692248189431c1b1f43dc5f7
Main PID: 1611 (.xdg-desktop-po)
Tasks: 9 (limit: 19061)
Memory: 12.2M (peak: 13.5M)
CPU: 33ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal-hyprland.service
└─1611 /nix/store/s9qwlasdlwbqpm35ar764drzdizqmnv8-xdg-desktop-portal-hyprland-1.3.3/libexec/xdg-desktop-portal-hyprland
Sep 26 19:42:20 varmisanth systemd[1425]: Starting Portal service (Hyprland implementation)...
Sep 26 19:42:20 varmisanth systemd[1425]: Started Portal service (Hyprland implementation).
Edited config:
{ pkgs
, ...
}:
{
xdg.portal = {
enable = true;
config = {
common = {
default = "*";
};
};
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
};
}
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}
{
security = {
rtkit.enable = true;
};
}