[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-19 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #8 from Mauro Carvalho Chehab  ---
(In reply to ceolesen from comment #7)
> Created attachment 109447 [details]
> attachment-10474-0.html
> 
> Thank you very much for the quick response. Much appreciated. Also thank
> you for the hint to use the accelerated driver thus hopefully saving CPU
> cycles. I was not aware I was not using such. Wondering why Fedora did not
> include that out-of-the-box.

Probably because accel is hardware-dependent.

> But I just installed the accel driver and both
> Kaffeine and VLC now work. Great. Thus, I guess I won't be needing the VLC
> update after all if they are for the unaccel driver? I see others have
> already tested it.

Yeah, you won't need due to this, but rc2 is likely more stable than a random
VLC nightly build. So, I would upgrade anyway.

> Btw, the computer is a brand new run-of-the-mill Dell
> Inspiron 5770 64bit laptop with integrated graphics on which I installed
> Fedora 27 KDE spin next to the residing Windows 10 followed by a few other
> packages incl. VLC.

Fedora usually runs nicely on Dell machines.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #7 from ceole...@gmail.com ---
Thank you very much for the quick response. Much appreciated. Also thank
you for the hint to use the accelerated driver thus hopefully saving CPU
cycles. I was not aware I was not using such. Wondering why Fedora did not
include that out-of-the-box. But I just installed the accel driver and both
Kaffeine and VLC now work. Great. Thus, I guess I won't be needing the VLC
update after all if they are for the unaccel driver? I see others have
already tested it. Btw, the computer is a brand new run-of-the-mill Dell
Inspiron 5770 64bit laptop with integrated graphics on which I installed
Fedora 27 KDE spin next to the residing Windows 10 followed by a few other
packages incl. VLC.

On Tue, Dec 19, 2017 at 11:01 AM, Mauro Carvalho Chehab <
bugzilla_nore...@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=388020
>
> Mauro Carvalho Chehab  changed:
>
>What|Removed |Added
> 
> 
>  Resolution|--- |FIXED
>  Status|CONFIRMED   |RESOLVED
>
> --- Comment #6 from Mauro Carvalho Chehab  ---
> (In reply to Mauro Carvalho Chehab from comment #5)
> > (In reply to Mauro Carvalho Chehab from comment #4)
> > > As reporrted at VLC Trac
> > > https://trac.videolan.org/vlc/ticket/19308#comment:1:
> > >
> > >  "This was fixed by dbaa579f207a80f59b705133dad6a5fbf0298943,
> > >   0af7adbca81a88218720851b803a5f9b1fcc8937
> > >
> > >   Please update to RC2"
> > >
> > > The problem seems to be with Fedora's VLC version that needs to be
> upgraded.
> > >
> > > I opened a bugzilla at Fedora rpmfusion:
> > >https://bugzilla.rpmfusion.org/show_bug.cgi?id=4742
> >
> > It seems that the bug was already fixed. See this BZ:
> >  https://bugzilla.rpmfusion.org/show_bug.cgi?id=4738
>
> I double-checked: installing the new packages with:
>
> $ sudo dnf upgrade --enablerepo rpmfusion-free-updates-testing  vlc
>
> fixed the issue.
>
> Btw, if you want to use vaapi accell drivers, you could install
> libva-intel-driver.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-19 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

Mauro Carvalho Chehab  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #6 from Mauro Carvalho Chehab  ---
(In reply to Mauro Carvalho Chehab from comment #5)
> (In reply to Mauro Carvalho Chehab from comment #4)
> > As reporrted at VLC Trac
> > https://trac.videolan.org/vlc/ticket/19308#comment:1:
> > 
> >  "This was fixed by dbaa579f207a80f59b705133dad6a5fbf0298943,
> >   0af7adbca81a88218720851b803a5f9b1fcc8937
> > 
> >   Please update to RC2"
> > 
> > The problem seems to be with Fedora's VLC version that needs to be upgraded.
> > 
> > I opened a bugzilla at Fedora rpmfusion:
> >https://bugzilla.rpmfusion.org/show_bug.cgi?id=4742
> 
> It seems that the bug was already fixed. See this BZ:
>  https://bugzilla.rpmfusion.org/show_bug.cgi?id=4738

I double-checked: installing the new packages with:

$ sudo dnf upgrade --enablerepo rpmfusion-free-updates-testing  vlc

fixed the issue.

Btw, if you want to use vaapi accell drivers, you could install
libva-intel-driver.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-19 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #5 from Mauro Carvalho Chehab  ---
(In reply to Mauro Carvalho Chehab from comment #4)
> As reporrted at VLC Trac
> https://trac.videolan.org/vlc/ticket/19308#comment:1:
> 
>  "This was fixed by dbaa579f207a80f59b705133dad6a5fbf0298943,
>   0af7adbca81a88218720851b803a5f9b1fcc8937
> 
>   Please update to RC2"
> 
> The problem seems to be with Fedora's VLC version that needs to be upgraded.
> 
> I opened a bugzilla at Fedora rpmfusion:
>https://bugzilla.rpmfusion.org/show_bug.cgi?id=4742

It seems that the bug was already fixed. See this BZ:
 https://bugzilla.rpmfusion.org/show_bug.cgi?id=4738

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-19 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #4 from Mauro Carvalho Chehab  ---
As reporrted at VLC Trac https://trac.videolan.org/vlc/ticket/19308#comment:1:

 "This was fixed by dbaa579f207a80f59b705133dad6a5fbf0298943,
  0af7adbca81a88218720851b803a5f9b1fcc8937

  Please update to RC2"

The problem seems to be with Fedora's VLC version that needs to be upgraded.

I opened a bugzilla at Fedora rpmfusion:
   https://bugzilla.rpmfusion.org/show_bug.cgi?id=4742

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-18 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

Mauro Carvalho Chehab  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #3 from Mauro Carvalho Chehab  ---
I opened a ticked at libVLC trac:
   https://trac.videolan.org/vlc/ticket/19308#ticket

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-18 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #2 from Mauro Carvalho Chehab  ---
(In reply to Mauro Carvalho Chehab from comment #1)
> It actually seems to be a bug at va-api or libvlc. From the logs, it is
> trying to load libva-intel-driver,
> but either your machine is using a different GPU or this package is not
> installed.
> 
> Here, when I start Kaffeine (on a machine with an Intel GPU), it displays:
> 
> libva info: VA-API version 0.40.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_40
> failed to open /usr/lib64/dri/hybrid_drv_video.so
> Failed to wrapper hybrid_drv_video.so
> libva info: va_openDriver() returns 0
> [7f3a18f5d000] avcodec decoder: Using Intel i965 driver for Intel(R)
> Skylake - 1.8.3 for hardware decoding
> 
> And video plays.
> 
> If, otherwise, I force Kaffeine to use a wrong driver:
> 
> $ LIBVA_DRIVER_NAME="r600" kaffeine
> 
> libva info: VA-API version 0.40.0
> libva info: va_getDriverName() returns 0
> libva info: User requested driver 'r600'
> libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
> libva info: Found init function __vaDriverInit_0_40
> libva error: /usr/lib64/dri/r600_drv_video.so init failed
> libva info: va_openDriver() returns 2
> [7fcc10001e80] glconv_vaapi_x11 gl error: vaInitialize: resource
> allocation failed
> 
> It tries it three times, then it crashes.
> 
> On your machine, it is either selecting a wrong driver (maybe
> LIBVA_DRIVER_NAME is set?) or your specific video adapter is not supported
> by the Intel driver.
> 
> A simple solution is to remove the libva package.

Btw, pointing to a wrong driver here shows the point at libvlc where it
crashes, with vlc-3.0.0-0.43.git20171208.fc27.x86_64:

#0  0x7fff7e92c4c6 in vlc_vaapi_InitializeInstanceDRM () at
/usr/lib64/vlc/plugins/video_output/libglconv_vaapi_drm_plugin.so
#1  0x7fff7e92bfa2 in Open () at
/usr/lib64/vlc/plugins/video_output/libglconv_vaapi_drm_plugin.so
#2  0x70905da3 in module_load.isra () at /lib64/libvlccore.so.9
#3  0x7090618f in vlc_module_load () at /lib64/libvlccore.so.9
#4  0x7fff855212f3 in opengl_init_program () at
/usr/lib64/vlc/plugins/video_output/libgl_plugin.so
#5  0x7fff855224c2 in vout_display_opengl_New () at
/usr/lib64/vlc/plugins/video_output/libgl_plugin.so
#6  0x7fff85527412 in Open () at
/usr/lib64/vlc/plugins/video_output/libgl_plugin.so
#7  0x70905da3 in module_load.isra () at /lib64/libvlccore.so.9
#8  0x7090618f in vlc_module_load () at /lib64/libvlccore.so.9
#9  0x7094214f in DisplayNew () at /lib64/libvlccore.so.9
#10 0x70943493 in vout_NewDisplay () at /lib64/libvlccore.so.9
#11 0x7094ff40 in vout_OpenWrapper () at /lib64/libvlccore.so.9
#12 0x70946283 in ThreadStart () at /lib64/libvlccore.so.9
#13 0x70947c61 in Thread () at /lib64/libvlccore.so.9
#14 0x71356609 in start_thread () at /lib64/libpthread.so.0
#15 0x71687e6f in clone () at /lib64/libc.so.6

On previous libVLC versions, when libva fails to open a driver, it falls back
to a non-accelerated driver. Clearly, there's a bug somewhere at libVLC.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kaffeine] [Bug 388020] Kaffeine crashes when video file or dvd is selected

2017-12-18 Thread Mauro Carvalho Chehab
https://bugs.kde.org/show_bug.cgi?id=388020

--- Comment #1 from Mauro Carvalho Chehab  ---
It actually seems to be a bug at va-api or libvlc. From the logs, it is trying
to load libva-intel-driver,
but either your machine is using a different GPU or this package is not
installed.

Here, when I start Kaffeine (on a machine with an Intel GPU), it displays:

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
failed to open /usr/lib64/dri/hybrid_drv_video.so
Failed to wrapper hybrid_drv_video.so
libva info: va_openDriver() returns 0
[7f3a18f5d000] avcodec decoder: Using Intel i965 driver for Intel(R)
Skylake - 1.8.3 for hardware decoding

And video plays.

If, otherwise, I force Kaffeine to use a wrong driver:

$ LIBVA_DRIVER_NAME="r600" kaffeine

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'r600'
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva error: /usr/lib64/dri/r600_drv_video.so init failed
libva info: va_openDriver() returns 2
[7fcc10001e80] glconv_vaapi_x11 gl error: vaInitialize: resource allocation
failed

It tries it three times, then it crashes.

On your machine, it is either selecting a wrong driver (maybe LIBVA_DRIVER_NAME
is set?) or your specific video adapter is not supported by the Intel driver.

A simple solution is to remove the libva package.

-- 
You are receiving this mail because:
You are watching all bug changes.