Date: Sun, 8 May 2022 19:20:27 +0200 From: Maurizio Vairani <maurizio1018@gmail.com> To: Emmanuel Vadot <manu@bidouilliste.com> Cc: freebsd-x11@freebsd.org Subject: Re: Suspend/resume with graphics/drm-510-kmod on a Lenovo ThinkPad T450 minor issue Message-ID: <CAN0zgYXZ1wQnsjPmafieYekwNGKGHkmdSK51vs=SgAXkhKDwgg@mail.gmail.com> In-Reply-To: <20220508115909.07a9f93a317dc102da1d5179@bidouilliste.com> References: <CAN0zgYWsyb0=SDC6aSuWMZsK0egRuUocPq%2BQTdvcqQeFdH60sQ@mail.gmail.com> <20220508115909.07a9f93a317dc102da1d5179@bidouilliste.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000081e3a305de834f2c Content-Type: text/plain; charset="UTF-8" Il giorno dom 8 mag 2022 alle ore 11:59 Emmanuel Vadot < manu@bidouilliste.com> ha scritto: > > Hi Maurizio, > > On Sat, 7 May 2022 10:29:23 +0200 > Maurizio Vairani <maurizio1018@gmail.com> wrote: > > > Hi all, > > replacing the graphics/drm-fbsd13-kmod port with the > > graphics/drm-510-kmod-5.10.0, compiled from ports, the suspend/resume > cycle > > works on a Lenovo ThinkPad T450. I have found only a minor issue. Running > > mpv and vlc before and after the suspend/resume cycle I obtain some error > > messages on the console after resuming the laptop. > > Before suspending the laptop: > > > mpv Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ultra\)\ > > only\ video\ 1920x1080.webm > > (+) Video --vid=1 (*) (vp9 1920x1080 59.940fps) > > VO: [gpu] 1920x1080 yuv420p > > V: 00:00:10 / 00:02:38 (7%) Dropped: 20 > > > > Exiting... (Quit) > > > vlc Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ultra\)\ > > only\ video\ 1920x1080.webm > > VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2) > > [0000000800c5c060] main libvlc: Running vlc with the default interface. > Use > > 'cvlc' to use vlc without interface. > > libva info: VA-API version 1.14.0 > > libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so > > libva info: va_openDriver() returns -1 > > libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so > > libva info: Found init function __vaDriverInit_1_14 > > libva info: va_openDriver() returns 0 > > [000000080fc8f060] avcodec decoder: Using Intel i965 driver for Intel(R) > > Broadwell - 2.4.1 for hardware decoding > > [vp9 @ 0x80fc41e00] get_buffer() failed > > [vp9 @ 0x80fc41e00] thread_get_buffer() failed > > [vp9 @ 0x80fc42300] get_buffer() failed > > [vp9 @ 0x80fc42300] thread_get_buffer() failed > > QObject::~QObject: Timers cannot be stopped from another thread > > > > After the resume: > > > mpv Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ultra\)\ > > only\ video\ 1920x1080.webm > > 09:56:08 > > (+) Video --vid=1 (*) (vp9 1920x1080 59.940fps) > > libEGL warning: DRI2: failed to authenticate > > [vo/gpu/opengl] Suspected software renderer or indirect context. > > [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device > > [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be > > unavailable. > > WARNING: Kernel has no file descriptor comparison support: No such file > or > > directory > > VO: [gpu] 1920x1080 yuv420p > > V: 00:00:06 / 00:02:38 (4%) > > > > > vlc Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ultra\)\ > > only\ video\ 1920x1080.webm > > 09:56:19 > > VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2) > > [0000000800c5c060] main libvlc: Running vlc with the default interface. > Use > > 'cvlc' to use vlc without interface. > > libGL error: failed to authenticate magic 1 > > libGL error: failed to load driver: iris > > libEGL warning: DRI2: failed to authenticate > > libGL error: failed to authenticate magic 1 > > libGL error: failed to load driver: iris > > Failed to open VDPAU backend Shared object "libvdpau_va_gl.so" not found, > > required by "vlc" > > libEGL warning: DRI2: failed to authenticate > > [vp9 @ 0x82022ce00] get_buffer() failed > > [vp9 @ 0x82022ce00] thread_get_buffer() failed > > > > Note: after resuming the laptop mpv works only in full screen. > > -- > > Maurizio > > What hardware to do have ? (pciconf -lv vgapci0) > I can't reproduce here either on the console or from wayland, will try > xorg later. > > Cheers, > > -- > Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org> > Hi Emmanuel, thank you for the reply. The laptop runs Xorg and the hardware is: > pciconf -lv vgapci0 vgapci0@pci0:0:2:0: class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x1616 subvendor=0x17aa subdevice=0x5034 vendor = 'Intel Corporation' device = 'HD Graphics 5500' class = display subclass = VGA Regards -- Maurizio --00000000000081e3a305de834f2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">Il giorno dom 8 mag 2022 alle ore 11:= 59 Emmanuel Vadot <<a href=3D"mailto:manu@bidouilliste.com">manu@bidouil= liste.com</a>> ha scritto:<br></div><blockquote class=3D"gmail_quote" st= yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd= ing-left:1ex"><br> =C2=A0Hi Maurizio,<br> <br> On Sat, 7 May 2022 10:29:23 +0200<br> Maurizio Vairani <<a href=3D"mailto:maurizio1018@gmail.com" target=3D"_b= lank">maurizio1018@gmail.com</a>> wrote:<br> <br> > Hi all,<br> > replacing the graphics/drm-fbsd13-kmod port with the<br> > graphics/drm-510-kmod-5.10.0, compiled from ports, the suspend/resume = cycle<br> > works on a Lenovo ThinkPad T450. I have found only a minor issue. Runn= ing<br> > mpv and vlc before and after the suspend/resume cycle I obtain some er= ror<br> > messages on the console after resuming the laptop.<br> > Before suspending the laptop:<br> > > mpv Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ul= tra\)\<br> > only\ video\ 1920x1080.webm<br> >=C2=A0 (+) Video --vid=3D1 (*) (vp9 1920x1080 59.940fps)<br> > VO: [gpu] 1920x1080 yuv420p<br> > V: 00:00:10 / 00:02:38 (7%) Dropped: 20<br> > <br> > Exiting... (Quit)<br> > > vlc Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ul= tra\)\<br> > only\ video\ 1920x1080.webm<br> > VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)<br> > [0000000800c5c060] main libvlc: Running vlc with the default interface= . Use<br> > 'cvlc' to use vlc without interface.<br> > libva info: VA-API version 1.14.0<br> > libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so<br> > libva info: va_openDriver() returns -1<br> > libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so<br> > libva info: Found init function __vaDriverInit_1_14<br> > libva info: va_openDriver() returns 0<br> > [000000080fc8f060] avcodec decoder: Using Intel i965 driver for Intel(= R)<br> > Broadwell - 2.4.1 for hardware decoding<br> > [vp9 @ 0x80fc41e00] get_buffer() failed<br> > [vp9 @ 0x80fc41e00] thread_get_buffer() failed<br> > [vp9 @ 0x80fc42300] get_buffer() failed<br> > [vp9 @ 0x80fc42300] thread_get_buffer() failed<br> > QObject::~QObject: Timers cannot be stopped from another thread<br> > <br> > After the resume:<br> > > mpv Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ul= tra\)\<br> > only\ video\ 1920x1080.webm<br> >=C2=A0 09:56:08<br> >=C2=A0 (+) Video --vid=3D1 (*) (vp9 1920x1080 59.940fps)<br> > libEGL warning: DRI2: failed to authenticate<br> > [vo/gpu/opengl] Suspected software renderer or indirect context.<br> > [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device<br> > [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will = be<br> > unavailable.<br> > WARNING: Kernel has no file descriptor comparison support: No such fil= e or<br> > directory<br> > VO: [gpu] 1920x1080 yuv420p<br> > V: 00:00:06 / 00:02:38 (4%)<br> > <br> > > vlc Real\ 4K\ HDR\ 60fps\ -\ LG\ Jazz\ HDR\ UHD\ \(Chromecast\ Ul= tra\)\<br> > only\ video\ 1920x1080.webm<br> >=C2=A0 09:56:19<br> > VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)<br> > [0000000800c5c060] main libvlc: Running vlc with the default interface= . Use<br> > 'cvlc' to use vlc without interface.<br> > libGL error: failed to authenticate magic 1<br> > libGL error: failed to load driver: iris<br> > libEGL warning: DRI2: failed to authenticate<br> > libGL error: failed to authenticate magic 1<br> > libGL error: failed to load driver: iris<br> > Failed to open VDPAU backend Shared object "libvdpau_va_gl.so&quo= t; not found,<br> > required by "vlc"<br> > libEGL warning: DRI2: failed to authenticate<br> > [vp9 @ 0x82022ce00] get_buffer() failed<br> > [vp9 @ 0x82022ce00] thread_get_buffer() failed<br> > <br> > Note: after resuming the laptop mpv works only in full screen.<br> > --<br> > Maurizio<br> <br> =C2=A0What hardware to do have ? (pciconf -lv vgapci0)<br> =C2=A0I can't reproduce here either on the console or from wayland, wil= l try<br> xorg later.<br> <br> =C2=A0Cheers,<br> <br> -- <br> Emmanuel Vadot <<a href=3D"mailto:manu@bidouilliste.com" target=3D"_blan= k">manu@bidouilliste.com</a>> <manu@FreeBSD.org><br></blockquote><= div>Hi Emmanuel,</div><div>thank you for the reply. The laptop runs Xorg an= d the hardware is:</div><div>> pciconf -lv vgapci0<br>vgapci0@pci0:0:2:0= : class=3D0x030000 rev=3D0x09 hdr=3D0x00 vendor=3D0x8086 device=3D0x1616 su= bvendor=3D0x17aa subdevice=3D0x5034<br>=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 = =3D 'Intel Corporation'<br>=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D &= #39;HD Graphics 5500'<br>=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D di= splay<br>=C2=A0 =C2=A0 subclass =C2=A0 =3D VGA <br></div><div><br></div><di= v>Regards<br></div><div>--</div><div>Maurizio</div><div><br></div></div></d= iv> --00000000000081e3a305de834f2c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN0zgYXZ1wQnsjPmafieYekwNGKGHkmdSK51vs=SgAXkhKDwgg>