Hello,
I wanted to try Gnome on Wayland with the Nvidia proprietary drivers, since that's a change that seems to be coming down the pipe for F36. Most other things seem to work fine, but I cannot get videos to play, not in MPV and not in Totem either. I only get audio. However, videos inside Firefox seem to play just fine. Has anyone experienced this and maybe found a fix?
On Thu, 2022-03-03 at 19:09 +0200, Matti Pulkkinen wrote:
Hello,
I wanted to try Gnome on Wayland with the Nvidia proprietary drivers, since that's a change that seems to be coming down the pipe for F36. Most other things seem to work fine, but I cannot get videos to play, not in MPV and not in Totem either. I only get audio. However, videos inside Firefox seem to play just fine. Has anyone experienced this and maybe found a fix?
Install codecs from RPMfusion? I think Firefox has its own built-in codecs.
poc
On Thu, 2022-03-03 at 20:08 +0200, Matti Pulkkinen wrote:
to, 2022-03-03 kello 17:33 +0000, Patrick O'Callaghan kirjoitti:
Install codecs from RPMfusion?
That's a good call, but I already did that before switching over to Wayland and video works perfectly over on the Xorg side.
Hmm. I don´t use Wayland so have nothing to add.
poc
On Thu, 03 Mar 2022 18:23:39 +0000 Patrick O'Callaghan wrote:
Hmm. I don´t use Wayland so have nothing to add.
I don't know what you are using to play the video, but if you install mplayer (from rpmfusion), it has a gazillion "VIDEO OUTPUT DRIVERS" (see that section in the man page).
I suspect some video drivers don't work in wayland, but with mplayer you can try different -vo options to see if one works.
to, 2022-03-03 kello 13:33 -0500, Tom Horsley kirjoitti:
I don't know what you are using to play the video, but if you install mplayer (from rpmfusion), it has a gazillion "VIDEO OUTPUT DRIVERS" (see that section in the man page).
I suspect some video drivers don't work in wayland, but with mplayer you can try different -vo options to see if one works.
I tried both MPV and Totem like I explained in the first email, but neither worked. Mplayer, however, was able to play videos, though Mplayer itself had no OSD or other kind of interface visible, which I'm not sure is normal.
That said, after I realized VSCodium also didn't work right (the window was blank even though the mouse cursor changed to indicate there should be clickable things on screen) I switched back to Xorg. Seems like Nvidia isn't quite ready for Wayland just yet. Thanks for the help anyway. Maybe I'll try again once F36 rolls around.
On 3/3/22 13:16, Matti Pulkkinen wrote:
to, 2022-03-03 kello 13:33 -0500, Tom Horsley kirjoitti:
I don't know what you are using to play the video, but if you install mplayer (from rpmfusion), it has a gazillion "VIDEO OUTPUT DRIVERS" (see that section in the man page).
I suspect some video drivers don't work in wayland, but with mplayer you can try different -vo options to see if one works.
I tried both MPV and Totem like I explained in the first email, but neither worked. Mplayer, however, was able to play videos, though Mplayer itself had no OSD or other kind of interface visible, which I'm not sure is normal.
That is normal. Try vlc if you want an interface.
On Thu, 2022-03-03 at 13:33 -0500, Tom Horsley wrote:
On Thu, 03 Mar 2022 18:23:39 +0000 Patrick O'Callaghan wrote:
Hmm. I don´t use Wayland so have nothing to add.
I don't know what you are using to play the video, but if you install mplayer (from rpmfusion), it has a gazillion "VIDEO OUTPUT DRIVERS" (see that section in the man page).
I suspect some video drivers don't work in wayland, but with mplayer you can try different -vo options to see if one works.
For the record, I'm not the OP. I don't have a problem playing video on X11.
poc
On Thu, Mar 3, 2022 at 4:17 PM Matti Pulkkinen mkjpul@utu.fi wrote:
[...] That said, after I realized VSCodium also didn't work right (the window was blank even though the mouse cursor changed to indicate there should be clickable things on screen) I switched back to Xorg. Seems like Nvidia isn't quite ready for Wayland just yet. [...]
I don't think this is an issue with Nvidia. I recently tried Wayland and most of the programs I ran displayed a title bar and nothing else - this on a system that does not have Nvidia. I think the issue is that the *program* doesn't support Wayland, and the bit that is supposed to provide backwards compatibility with X11 isn't automatically configured.
On Thu, 2022-03-03 at 23:16 +0200, Matti Pulkkinen wrote:
Mplayer itself had no OSD or other kind of interface visible, which I'm not sure is normal.
I haven't used it for ages, but the letter "o" key was a hotkey to cycle through the on-screen-display options. Mplayer, itself, is a command line thing. There were GUIs for it, such as smplayer, that gave you playlists, etc.
On 3/3/22 14:51, Go Canes wrote:
On Thu, Mar 3, 2022 at 4:17 PM Matti Pulkkinen mkjpul@utu.fi wrote:
[...] That said, after I realized VSCodium also didn't work right (the window was blank even though the mouse cursor changed to indicate there should be clickable things on screen) I switched back to Xorg. Seems like Nvidia isn't quite ready for Wayland just yet. [...]
I don't think this is an issue with Nvidia. I recently tried Wayland and most of the programs I ran displayed a title bar and nothing else
- this on a system that does not have Nvidia. I think the issue is
that the *program* doesn't support Wayland, and the bit that is supposed to provide backwards compatibility with X11 isn't automatically configured.
It must be an NVidia thing. I'm using Wayland with an AMD graphics card and everything works. Even OBS works now. Any program that doesn't know about Wayland will use the XWayland server and will work fine as long they aren't trying to do something special like read other windows.
On Fri, Mar 4, 2022 at 1:45 AM Samuel Sieb samuel@sieb.net wrote:
[...] Any program that doesn't know about Wayland will use the XWayland server and will work fine as long they aren't trying to do something special like read other windows.
This does not match my experience with Wayland on F35 (fresh install using KDE, in case it matters). In my case gimp and xsane only provided window title bars with no associated windows. I don't remember what else I may have tried before switching back to xorg. If it works for you, be happy.
to, 2022-03-03 kello 17:51 -0500, Go Canes kirjoitti:
I don't think this is an issue with Nvidia. I recently tried Wayland and most of the programs I ran displayed a title bar and nothing else
- this on a system that does not have Nvidia. I think the issue is
that the *program* doesn't support Wayland, and the bit that is supposed to provide backwards compatibility with X11 isn't automatically configured.
The thing is though that I use Wayland on two laptops that have Intel or AMD graphics, and neither of them exhibit this problem. I couldn't tell you why you experienced this issue on a system that doesn't have Nvidia, but I can say for certain that these same exact programs do not have issues running under Wayland on my other non-Nvidia computers.
On 3/4/22 05:32, Go Canes wrote:
On Fri, Mar 4, 2022 at 1:45 AM Samuel Sieb samuel@sieb.net wrote:
[...] Any program that doesn't know about Wayland will use the XWayland server and will work fine as long they aren't trying to do something special like read other windows.
This does not match my experience with Wayland on F35 (fresh install using KDE, in case it matters). In my case gimp and xsane only
That definitely does matter, since a lot of "Wayland" is implemented by the window manager. Gnome works great, KDE still needs some work.