Open Tsubajashi opened 11 months ago
Hi @Tsubajashi,
Hmm, I couldn't reproduce this issue. I tried every option in the preferences, but still couldn't trigger this issue. I'm clueless at the moment.
i can only reproduce this on ubuntu 23.04 ironically. on Nobara, PopOS, or arch, it "just works". not sure why it doesnt work on 23.04.
I see. Let me try with Ubuntu 23.04 on the VM then.
just for info: i cannot reproduce it in a VM. so i guess it has something to do with ubuntu 23.04 + nvidia. works flawlessly in Boxes (Flatpak) and VMWare Workstation Player. it probably has something to do with my setup, although i just dont know what that would be. i dont really do anything different in other distros to get it running with nvidia.
i have some problem in ubuntu 23
Same issue here, everything ends up more red.
Hmm, I wonder what will happen if you play the video using the renderer (Hanabi's built-in video player). Please follow these steps:
./run.sh renderer
and paste the terminal output here. Please check if the colors are displayed correctly or not. (A fullscreen window will be shown, playing the chosen video) Hi, I am on Wayland and i have the same issue. Here the debug
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/peripherals/mouse/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.179: watch_fast: "/org/gnome/desktop/a11y/interface/" (establishing: 0, active: 0)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/peripherals/mouse/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
(gjs:9215): dconf-DEBUG: 19:25:04.180: watch_established: "/org/gnome/desktop/a11y/interface/" (establishing: 1)
(gjs:9215): Gtk-DEBUG: 19:25:04.183: Connecting to session manager
(gjs:9215): dconf-DEBUG: 19:25:04.209: change_fast
Gjs-Console-Message: 19:25:04.211: using GtkMediaFile for video output
(gjs:9215): Gdk-DEBUG: 19:25:04.300: warning: queue 0x72b854000be0 destroyed while proxies still attached:
(gjs:9215): Gdk-DEBUG: 19:25:04.300: wl_seat@7 still attached
(gjs:9215): Gdk-DEBUG: 19:25:04.300: xdg_wm_base@6 still attached
(gjs:9215): Gdk-DEBUG: 19:25:04.300: wl_subcompositor@5 still attached
(gjs:9215): Gdk-DEBUG: 19:25:04.300: wl_compositor@4 still attached
(gjs:9215): Gdk-DEBUG: 19:25:04.300: wl_registry@2 still attached
here the comparison with clapper
If I can help in any way I am available
I try to install a virtual machine with the same version of ubuntu and replicate all the installation steps to see if I get the same problem.
Also #102, it seems everyone who has this issue is from Ubuntu...
On the VM it renders the video correctly. I followed the installation steps of ubuntu 23.04 (even though I have ubuntu 23.10). This afternoon I will also try to install the extensions I have on my pc and see if anything breaks. If even installing the extensions I don't encounter any problems, I might start to think that during an OS update, or after making (maybe not me directly) changes to some configuration file something broke.
I think I found the solution. Clapper I installed it by compiling it from source.
To test if the problem was really due to clapper not installed properly i uninstalled it and rerun Hanabi. The result surprised me, it rendered the video correctly in the first moments then at some point it started to flicker and I could hear the audio twice.
@LukeScrewdriver
Clapper I installed it by compiling it from source.
Note that from your output:
Gjs-Console-Message: 19:25:04.211: using GtkMediaFile for video output
Which means that you are not (or at least were not) using Clapper with Hanabi when you encountered this issue.
@Rafostar Thanks.
To me it now says this:
Gjs-Console-Message: 17:44:09.363: using clappersink for video output
I think that is correct
This is just my theory based on the issues so far:
GtkMediaFile
has some issues with Nvidia GPUs, but has no issue in VM because we are using software rendering (assume no GPU passthrough).GtkMediaFile
because clappersink
isn't available (not installed/snap version/not found for some reason), which causes this issue if the user has a Nvidia GPU.Things you can check for Clapper:
snap list
. If there is clapper
in the list, then it's the Snap version.Check gst-inspect-1.0 clapper
, the output should look like this:
Plugin Details:
Name clapper
Description Clapper elements
Filename /lib/x86_64-linux-gnu/gstreamer-1.0/libgstclapper.so
Version 0.5.2
License LGPL
Source module clapper
Binary package gst-plugin-clapper
Origin URL https://github.com/Rafostar/clapper
clappersink: Clapper video sink
1 features:
+-- 1 elements
using clappersink for video output
if clappersink
is used, and vice versa.@LukeScrewdriver
I think I found the solution. Clapper I installed it by compiling it from source.
You managed to resolve the issue by installing Clapper from the source, am I right? Or do you still have the issue?
Sorry, I misunderstood myself. I would like to point out that I do not have an nvidia video card but intel (intel iris xe). Clapper I initially installed it by compiling it from source. By doing it this way I had problems. I found that it was also present on apt so I removed it and reinstalled it from apt. Doing it that way solved the problem.
Sorry again for the confusion.
So to sum up what @LukeScrewdriver did: He had Clapper manually complied from source, but it was not actually used by Hanabi then (either sink was not compiled as part of clapper or installed in a place where host GStreamer plugin scanner could not find it). Problem occured. He replaced his installation of Clapper with apt package, Clapper is now found and used by Hanabi and problem is gone.
Clapper not installed, or the user installed Clapper from the App Center, which defaults to the Snap version instead.
This theory seems now very likely. Especially since users who showcased it working correctly in Clapper next to the Hanabi. They might have either Snap or Clapper sink installed/missing in a way that prevents Hanabi to find it.
Also, note that what seems to actually happen in this issue is simply wrong video format either assumed or incorrectly treated as something else, e.g: video is RGB but it's displayed as it were BGR or vice versa.
Has any progress been made on this issue? I'm experiencing it on Ubuntu 23.10, Gnome 45.2
Has any progress been made on this issue? I'm experiencing it on Ubuntu 23.10, Gnome 45.2
Never mind, I installed Clapper right after I said that and it fixed my issue
Description When a Video is played back through hanabi, it seems like the colors are not correct.
However, when played back directly through Clapper (built from source) it looks absolutely fine.
![grafik](https://github.com/jeffshee/gnome-ext-hanabi/assets/21346945/ec1b27bb-c380-45e4-b8cd-0de9968b414b)
OS and Shell Information Please provide your OS name and version, GNOME Shell version, and the session type (X11/Wayland).
Steps to Reproduce Please provide the steps to reproduce the bug you are encountering.
Expected Behavior It should look exactly like it does in Clapper.
Actual Behavior Colors are completely wrong.
Additional Information I'm not sure how to debug this, or which logs may be interesting. im happy to help, i just need a few pointers on what is needed to find out why this error seemingly exists.
The video in question, but any video has that same error: https://mylivewallpapers.com/anime/giyu-tomioka-kimetsu-no-yaiba-live-wallpaper/