Re: KDE Pim Apps fail on Wayland/Tumbleweed/Plasma6

Rodney Baker <[email protected]> Sat, 06 Apr 2024 16:18:32 +1030
Newsgroups gmane.linux.suse.kde
Message-ID <MEYP282MB3323ACFD22020D69DD1DF663BC022@MEYP282MB3323.AUSP282.PROD.OUTLOOK.COM>
On Saturday, 6 April 2024 15:41:20 ACDT Rodney Baker wrote:
> On Saturday, 6 April 2024 00:47:18 ACDT Rodney Baker wrote:
> > On Saturday, 6 April 2024 00:08:59 ACDT Rodney Baker wrote:
> > > On Friday, 5 April 2024 23:38:30 ACDT Rodney Baker wrote:
> > > [...]
> > > 
> > > Running vainfo shows:
> > > 
> > > ~ $ vainfo
> > > Trying display: wayland
> > > Trying display: x11
> > > libva info: VA-API version 1.20.0
> > > libva error: vaGetDriverNames() failed with unknown libva error
> > > libva info: User environment variable requested driver 'vdpau'
> > > libva info: Trying to open /usr/lib64/dri/vdpau_drv_video.so
> > > libva info: Found init function __vaDriverInit_1_20
> > > libva info: va_openDriver() returns 0
> > > vainfo: VA-API version: 1.20 (libva 2.20.1)
> > > vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for
> > > VA-API
> > > -
> > > 0.7.4
> > > vainfo: Supported profile and entrypoints
> > > 
> > >       VAProfileMPEG2Simple            : VAEntrypointVLD
> > >       VAProfileMPEG2Main              : VAEntrypointVLD
> > >       VAProfileMPEG4Simple            : VAEntrypointVLD
> > >       VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
> > >       <unknown profile>               : VAEntrypointVLD
> > >       VAProfileH264Main               : VAEntrypointVLD
> > >       VAProfileH264High               : VAEntrypointVLD
> > >       VAProfileVC1Simple              : VAEntrypointVLD
> > >       VAProfileVC1Main                : VAEntrypointVLD
> > >       VAProfileVC1Advanced            : VAEntrypointVLD
> > > 
> > > Seems related but I don't know what's causing the failure.
> > > 
> > > ~ $ ls -l /usr/lib64/*vdpau*
> > > lrwxrwxrwx 1 root root    31 Apr  4 18:26 /usr/lib64/libvdpau_nvidia.so
> > > ->
> > > vdpau/libvdpau_nvidia.so.550.67
> > > lrwxrwxrwx 1 root root    13 Mar  1 20:47 /usr/lib64/libvdpau.so ->
> > > libvdpau.so.1
> > > lrwxrwxrwx 1 root root    17 Mar  1 20:47 /usr/lib64/libvdpau.so.1 ->
> > > libvdpau.so.1.0.0
> > > -rwxr-xr-x 1 root root 18408 Mar  1 20:47 /usr/lib64/libvdpau.so.1.0.0
> > > 
> > > No idea if any of that is relevant or not.
> > 
> > If I run vainfo under Wayland I get:
> > 
> > ~ $ vainfo
> > Trying display: wayland
> > libva info: VA-API version 1.20.0
> > libva info: User environment variable requested driver 'vdpau'
> > libva info: Trying to open /usr/lib64/dri/vdpau_drv_video.so
> > libva info: Found init function __vaDriverInit_1_20
> > libva error: /usr/lib64/dri/vdpau_drv_video.so init failed
> > libva info: va_openDriver() returns -1
> > vaInitialize failed with error code -1 (unknown libva error),exit
> > 
> > The exact text of the error dialog after trying to run Kmail under Wayland
> > and then going back to X11 is:
> > 
> > "The Email progam encountered a fatal error and will terminate now. The
> > error was:
> > Timeout trying to get lock."
> > 
> > Regards,
> 
> The timeout may be a race condition - it does not appear to occur when
> running Kmail under gdb.

It doesn't crash when running it under gdb in Wayland with "gdb --args kmail 
--platform xcb" either...

-- 
==========================================================================================================
Rodney Baker
[email protected]
==========================================================================================================