Date: Mon, 3 Apr 2023 22:57:45 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Jan Beich <jbeich@freebsd.org> Cc: multimedia@freebsd.org Subject: Re: Poor performance with Alder Lake graphics (ThinkPad T16) Message-ID: <CAN6yY1vAvV4nWh91XtP3hrhPoDHcbyWgxOpWYUhVJEaO7rNBAQ@mail.gmail.com> In-Reply-To: <bkk6-5itr-wny@FreeBSD.org> References: <CAN6yY1uvk5QdAcfnqoUVDH-sO6t9sJ4OWCBjB2pQee%2B8MqDCPQ@mail.gmail.com> <bkk6-5itr-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000aef08105f87c5b2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 2, 2023 at 9:51=E2=80=AFAM Jan Beich <jbeich@freebsd.org> wrote= : > Kevin Oberman <rkoberman@gmail.com> writes: > > > Since update to drm-550-kmod I noticed n seeming improvement over scfb.= I > > ran glxgears and saw agour 900 fps. > > glxgears should never show more FPS than monitor refresh rate unless it > uses software rendering or VSYNC is disabled via vblank_mode=3D0 in > environ(7) or ~/.drirc. If you need to benchmark GPU use at least > glmark2 + vkmark.h Yes, I meant 515 and I was running novsync. glmark2 reports: ** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control! ** Failed to set swap interval. Results may be bounded above by refresh rate. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D glmark2 2023.01 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D OpenGL Information GL_VENDOR: Mesa/X.org GL_RENDERER: llvmpipe (LLVM 15.0.7, 256 bits) GL_VERSION: 4.5 (Compatibility Profile) Mesa 22.3.7 Surface Config: buf=3D32 r=3D8 g=3D8 b=3D8 a=3D8 depth=3D32 stencil=3D0= samples=3D0 Surface Size: 800x600 windowed =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D [build] use-vbo=3Dfalse: FPS: 188 FrameTime: 5.330 ms [build] use-vbo=3Dtrue: FPS: 175 FrameTime: 5.718 ms [texture] texture-filter=3Dnearest: FPS: 492 FrameTime: 2.033 ms [texture] texture-filter=3Dmipmap: FPS: 377 FrameTime: 2.655 ms [shading] shading=3Dgouraud: FPS: 127 FrameTime: 7.888 ms [shading] shading=3Dblinn-phong-inf: FPS: 128 FrameTime: 7.819 ms [shading] shading=3Dphong: FPS: 123 FrameTime: 8.162 ms [shading] shading=3Dcel: FPS: 104 FrameTime: 9.682 ms [bump] bump-render=3Dhigh-poly: FPS: 72 FrameTime: 13.924 ms [bump] bump-render=3Dnormals: FPS: 314 FrameTime: 3.191 ms [bump] bump-render=3Dheight: FPS: 351 FrameTime: 2.852 ms [effect2d] kernel=3D0,1,0;1,-4,1;0,1,0;: FPS: 383 FrameTime: 2.612 ms [effect2d] kernel=3D1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 404 FrameTime: 2.4= 76 ms [pulsar] light=3Dfalse:quads=3D5:texture=3Dfalse: FPS: 433 FrameTime: 2.312= ms [desktop] blur-radius=3D5:effect=3Dblur:passes=3D1:separable=3Dtrue:windows= =3D4: FPS: 177 [desktop] effect=3Dshadow:windows=3D4: FPS: 214 FrameTime: 4.677 ms [buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-fraction=3D= 0.5:update-method=3Dmap: FPS: 94 FrameTime: 10.693 ms [buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-fraction=3D= 0.5:update-method=3Dsubdata: FPS: 92 FrameTime: 10.904 ms [buffer] columns=3D200:interleave=3Dtrue:update-dispersion=3D0.9:update-fraction=3D0= .5:update-method=3Dmap: FPS: 88 FrameTime: 11.398 ms [ideas] speed=3Dduration: FPS: 132 FrameTime: 7.579 ms [jellyfish] <default>: FPS: 95 FrameTime: 10.626 ms [terrain] <default>: FPS: 13 FrameTime: 77.267 ms [shadow] <default>: FPS: 92 FrameTime: 10.976 ms [refract] <default>: FPS: 23 FrameTime: 43.605 ms [conditionals] fragment-steps=3D0:vertex-steps=3D0: FPS: 178 FrameTime: 5.6= 40 ms [conditionals] fragment-steps=3D5:vertex-steps=3D0: FPS: 145 FrameTime: 6.9= 31 ms [conditionals] fragment-steps=3D0:vertex-steps=3D5: FPS: 241 FrameTime: 4.1= 61 ms [function] fragment-complexity=3Dlow:fragment-steps=3D5: FPS: 167 FrameTime= : 6.002 ms [function] fragment-complexity=3Dmedium:fragment-steps=3D5: FPS: 151 FrameT= ime: 6.626 ms [loop] fragment-loop=3Dfalse:fragment-steps=3D5:vertex-steps=3D5: FPS: 146 FrameTime: 6.892 ms [loop] fragment-steps=3D5:fragment-uniform=3Dfalse:vertex-steps=3D5: FPS: 1= 52 FrameTime: 6.600 ms [loop] fragment-steps=3D5:fragment-uniform=3Dtrue:vertex-steps=3D5: FPS: 15= 0 FrameTime: 6.709 ms =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D glmark2 Score: 192 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D vkmark was less successful: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D vkmark 2017.08-29-gd872846 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Vendor ID: 0x10005 Device ID: 0x0 Device Name: llvmpipe (LLVM 15.0.7, 256 bits) Driver Version: 1 Device UUID: 76616c2d750000000000000000000000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D [vertex] device-local=3Dtrue: FPS: 143 FrameTime: 6.993 ms [vertex] device-local=3Dfalse: FPS: 117 FrameTime: 8.547 ms [texture] anisotropy=3D0: FPS: 318 FrameTime: 3.145 ms [texture] anisotropy=3D16: At that point, the benchmark hungup up and, after waiting a few minutes, I killed it. While I have little understanding of these benchmarks, the numbers look pretty bad as does the warning at the start of the run. (That note was repeated at the start of each test.) Assuming drm-550-kmod is typo for drm-515-kmod. > > > [vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device > > [vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will b= e > > unavailable. > > VT_GETMODE isn't supposed to be used outside of --gpu-context=3Ddrm and > maybe --gpu-context=3Ddisplayvk. Both are intended for playing videos > with the best performance directly on KMS console like /dev/ttyv0. > > In short, ignore this error due to auto-detection scrambling to find any > accelerated GPU context. > > > [vo/gpu/opengl] Suspected software renderer or indirect context. > [...] > > error: Kernel is too old (4.16+ required) or unusable for Iris. > > Check your dmesg logs for loading failures. > [...] > > libEGL warning: DRI2: failed to authenticate > > Looks like OpenGL acceleration failed under Xorg for some reason. > Maybe caused by https://github.com/freebsd/edrm-kmod/issues/175 > <https://github.com/freebsd/drm-kmod/issues/175> Nope. glxinfo looks fine. Can't believe that this graphics is MUCH worse than my 12 year old Ivy Lake system. > Am I doing something wrong or is there a lack of support for Alder Lake > > graphics? N.B. Alder Lake graphics is Iris and I think Gallium might be > > needed. > > If /dev/dri exists and kmscube runs fine then your GPU is properly > supported. > It exists and kmscube runs. > > VA-API is separate from OpenGL. VA-API on Alder Lake needs > libva-intel-media-driver > but the actual support depends on PCI ID e.g., may require newer version > than then one packaged. > OK. I am now running libva-intel-media-driver. Still not seeing the video acceleration that I would expect. 12 threads running and hte total CPU usage is 9& to play a 1392x1072 video. > > > Should I use xf86-intel-drive? > > Did you miss Intel copyright in libwayland and Wayland code in Mesa?\ Never looked, I'll admit. > > Intel stopped contributing to modesetting years ago, sometime after > Ice Lake launch. xf86-video-intel was deprecated by Intel before that. > modesetting is still maintained by others and doesn't need GPU-specific > support but has many bugs compared to Wayland rendering e.g., atomic > mode setting is broken. This is likely a limitation of DDX layer in Xorg > compared to other X11 servers. > I was unaware that Intel dropped out of the modesetting work. I was aware that xf86-video-intel was really out of date which is why I moved to modesetting. xf86-video-intel may work if you add Alder Lake PCI IDs similar to Tiger > Lake. > However, performance on Cannon Lake and later is likely very poor due to > > https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/commit/7181= c5a41c3f Yes, that looks like a problem. Alder Lake is 12th Gen. and I don't supose that a new backend is on the horizon, but my 10th Gen Comet Lake system had much better performance and it should have had that issue, too. Color me very confused. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000aef08105f87c5b2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:small">On Sun, Apr 2, 2023 at 9:51=E2= =80=AFAM Jan Beich <<a href=3D"mailto:jbeich@freebsd.org">jbeich@freebsd= .org</a>> wrote:</div></div><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">Kevin Oberman <<a href=3D"mailto:rkober= man@gmail.com" target=3D"_blank">rkoberman@gmail.com</a>> writes:<br> <br> > Since update to drm-550-kmod I noticed n seeming improvement over scfb= . I<br> > ran glxgears and saw agour 900 fps.<br> <br> glxgears should never show more FPS than monitor refresh rate unless it<br> uses software rendering or VSYNC is disabled via vblank_mode=3D0 in<br> environ(7) or ~/.drirc. If you need to benchmark GPU use at least<br> glmark2 + vkmark.<span class=3D"gmail_default" style=3D"font-family:tahoma,= sans-serif;font-size:small">h</span></blockquote><div>=C2=A0</div><div><spa= n class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:= small">Yes, I meant 515 and I was running novsync.</span> <br></div><div><d= iv style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_d= efault">glmark2 reports:</div><div style=3D"font-family:tahoma,sans-serif;f= ont-size:small" class=3D"gmail_default">** GLX does not support GLX_EXT_swa= p_control or GLX_MESA_swap_control!<br>** Failed to set swap interval. Resu= lts may be bounded above by refresh rate.<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0 =C2= =A0 glmark2 2023.01<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0 =C2=A0 OpenGL Information= <br>=C2=A0 =C2=A0 GL_VENDOR: =C2=A0 =C2=A0 =C2=A0Mesa/X.org<br>=C2=A0 =C2= =A0 GL_RENDERER: =C2=A0 =C2=A0llvmpipe (LLVM 15.0.7, 256 bits)<br>=C2=A0 = =C2=A0 GL_VERSION: =C2=A0 =C2=A0 4.5 (Compatibility Profile) Mesa 22.3.7<br= >=C2=A0 =C2=A0 Surface Config: buf=3D32 r=3D8 g=3D8 b=3D8 a=3D8 depth=3D32 = stencil=3D0 samples=3D0<br>=C2=A0 =C2=A0 Surface Size: =C2=A0 800x600 windo= wed<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D</div><div style=3D"font-family:tahoma,sans-serif;f= ont-size:small" class=3D"gmail_default">[build] use-vbo=3Dfalse: FPS: 188 F= rameTime: 5.330 ms</div><div style=3D"font-family:tahoma,sans-serif;font-si= ze:small" class=3D"gmail_default">[build] use-vbo=3Dtrue: FPS: 175 FrameTim= e: 5.718 ms</div><div style=3D"font-family:tahoma,sans-serif;font-size:smal= l" class=3D"gmail_default">[texture] texture-filter=3Dnearest: FPS: 492 Fra= meTime: 2.033 ms</div><div style=3D"font-family:tahoma,sans-serif;font-size= :small" class=3D"gmail_default">[texture] texture-filter=3Dmipmap: FPS: 377= FrameTime: 2.655 ms</div><div style=3D"font-family:tahoma,sans-serif;font-= size:small" class=3D"gmail_default">[shading] shading=3Dgouraud: FPS: 127 F= rameTime: 7.888 ms</div><div style=3D"font-family:tahoma,sans-serif;font-si= ze:small" class=3D"gmail_default">[shading] shading=3Dblinn-phong-inf: FPS:= 128 FrameTime: 7.819 ms</div><div style=3D"font-family:tahoma,sans-serif;f= ont-size:small" class=3D"gmail_default">[shading] shading=3Dphong: FPS: 123= FrameTime: 8.162 ms</div>[shading] shading=3Dcel: FPS: 104 FrameTime: 9.68= 2 ms</div><div>[bump] bump-render=3Dhigh-poly: FPS: 72 FrameTime: 13.924 ms= </div><div><div style=3D"font-family:tahoma,sans-serif;font-size:small" cla= ss=3D"gmail_default">[bump] bump-render=3Dnormals: FPS: 314 FrameTime: 3.19= 1 ms<br></div>[bump] bump-render=3Dheight: FPS: 351 FrameTime: 2.852 ms</di= v><div>[effect2d] kernel=3D0,1,0;1,-4,1;0,1,0;: FPS: 383 FrameTime: 2.612 m= s</div><div>[effect2d] kernel=3D1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 404 Fr= ameTime: 2.476 ms</div><div>[pulsar] light=3Dfalse:quads=3D5:texture=3Dfals= e: FPS: 433 FrameTime: 2.312 ms</div><div>[desktop] blur-radius=3D5:effect= =3Dblur:passes=3D1:separable=3Dtrue:windows=3D4: FPS: 177 <br></div><div>[d= esktop] effect=3Dshadow:windows=3D4: FPS: 214 FrameTime: 4.677 ms</div><div= >[buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-f= raction=3D0.5:update-method=3Dmap: FPS: 94 FrameTime: 10.693 ms</div><div>[= buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-fra= ction=3D0.5:update-method=3Dsubdata: FPS: 92 FrameTime: 10.904 ms</div><div= >[buffer] columns=3D200:interleave=3Dtrue:update-dispersion=3D0.9:update-fr= action=3D0.5:update-method=3Dmap: FPS: 88 FrameTime: 11.398 ms</div><div>[i= deas] speed=3Dduration: FPS: 132 FrameTime: 7.579 ms</div><div>[jellyfish] = <default>: FPS: 95 FrameTime: 10.626 ms</div><div>[terrain] <defau= lt>: FPS: 13 FrameTime: 77.267 ms</div><div><div style=3D"font-family:ta= homa,sans-serif;font-size:small" class=3D"gmail_default">[shadow] <defau= lt>: FPS: 92 FrameTime: 10.976 ms</div><div style=3D"font-family:tahoma,= sans-serif;font-size:small" class=3D"gmail_default">[refract] <default&g= t;: FPS: 23 FrameTime: 43.605 ms</div><div style=3D"font-family:tahoma,sans= -serif;font-size:small" class=3D"gmail_default">[conditionals] fragment-ste= ps=3D0:vertex-steps=3D0: FPS: 178 FrameTime: 5.640 ms</div><div style=3D"fo= nt-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">[condi= tionals] fragment-steps=3D5:vertex-steps=3D0: FPS: 145 FrameTime: 6.931 ms<= /div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"= gmail_default">[conditionals] fragment-steps=3D0:vertex-steps=3D5: FPS: 241= FrameTime: 4.161 ms</div><div style=3D"font-family:tahoma,sans-serif;font-= size:small" class=3D"gmail_default">[function] fragment-complexity=3Dlow:fr= agment-steps=3D5: FPS: 167 FrameTime: 6.002 ms</div><div style=3D"font-fami= ly:tahoma,sans-serif;font-size:small" class=3D"gmail_default">[function] fr= agment-complexity=3Dmedium:fragment-steps=3D5: FPS: 151 FrameTime: 6.626 ms= </div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D= "gmail_default">[loop] fragment-loop=3Dfalse:fragment-steps=3D5:vertex-step= s=3D5: FPS: 146 FrameTime: 6.892 ms</div><div style=3D"font-family:tahoma,s= ans-serif;font-size:small" class=3D"gmail_default">[loop] fragment-steps=3D= 5:fragment-uniform=3Dfalse:vertex-steps=3D5: FPS: 152 FrameTime: 6.600 ms</= div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class=3D"g= mail_default">[loop] fragment-steps=3D5:fragment-uniform=3Dtrue:vertex-step= s=3D5: FPS: 150 FrameTime: 6.709 ms</div><div style=3D"font-family:tahoma,s= ans-serif;font-size:small" class=3D"gmail_default"><br></div>=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 glmark2 Score: 192 <br= >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D</div><div><br></div><div><div style=3D"font-family:tahom= a,sans-serif;font-size:small" class=3D"gmail_default">vkmark was less succe= ssful:</div><div style=3D"font-family:tahoma,sans-serif;font-size:small" cl= ass=3D"gmail_default">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0 =C2=A0 vkmark 2017.08-29-= gd872846<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0 =C2=A0 Vendor ID: =C2=A0 =C2=A0 =C2= =A00x10005<br>=C2=A0 =C2=A0 Device ID: =C2=A0 =C2=A0 =C2=A00x0<br>=C2=A0 = =C2=A0 Device Name: =C2=A0 =C2=A0llvmpipe (LLVM 15.0.7, 256 bits)<br>=C2=A0= =C2=A0 Driver Version: 1<br>=C2=A0 =C2=A0 Device UUID: =C2=A0 =C2=A076616c= 2d750000000000000000000000<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>[vertex] device-local=3Dtr= ue: FPS: 143 FrameTime: 6.993 ms<br>[vertex] device-local=3Dfalse: FPS: 117= FrameTime: 8.547 ms<br>[texture] anisotropy=3D0: FPS: 318 FrameTime: 3.145= ms<br>[texture] anisotropy=3D16:</div><div style=3D"font-family:tahoma,san= s-serif;font-size:small" class=3D"gmail_default">At that point, the benchma= rk hungup up and, after waiting a few minutes, I killed it.</div><div style= =3D"font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">= <br></div><div style=3D"font-family:tahoma,sans-serif;font-size:small" clas= s=3D"gmail_default">While I have little understanding of these benchmarks, = the numbers look pretty bad as does the warning at the start of the run. (T= hat note was repeated at the start of each test.)</div><div style=3D"font-f= amily:tahoma,sans-serif;font-size:small" class=3D"gmail_default"><br></div>= </div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex"> Assuming drm-550-kmod is typo for drm-515-kmod.<br> <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> <br> VT_GETMODE isn't supposed to be used outside of --gpu-context=3Ddrm and= <br> maybe --gpu-context=3Ddisplayvk. Both are intended for playing videos<br> with the best performance directly on KMS console like /dev/ttyv0.<br> <br> In short, ignore this error due to auto-detection scrambling to find any<br= > accelerated GPU context.<br> <br> > [vo/gpu/opengl] Suspected software renderer or indirect context.<br> [...]<br> > error: Kernel is too old (4.16+ required) or unusable for Iris.<br> > Check your dmesg logs for loading failures.<br> [...]<br> > libEGL warning: DRI2: failed to authenticate<br> <br> Looks like OpenGL acceleration failed under Xorg for some reason.<br> Maybe caused by <a href=3D"https://github.com/freebsd/drm-kmod/issues/175" = rel=3D"noreferrer" target=3D"_blank">https://github.com/freebsd/<span title= =3D"Suggestion" role=3D"button" class=3D"gmail-sb gmail-rE gmail-kTjEtc" ta= bindex=3D"0">e</span>drm-kmod/issues/175</a></blockquote><div>=C2=A0</div><= div><span class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;fo= nt-size:small">Nope. glxinfo looks fine.</span></div><div><span class=3D"gm= ail_default" style=3D"font-family:tahoma,sans-serif;font-size:small"><br></= span></div><div><span class=3D"gmail_default" style=3D"font-family:tahoma,s= ans-serif;font-size:small">Can't believe that this graphics is MUCH wor= se than my 12 year old Ivy Lake system.<br></span></div><div><span class=3D= "gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small"><br= ></span></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px= 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> > Am I doing something wrong or is there a lack of support for Alder Lak= e<br> > graphics? N.B. Alder Lake graphics is Iris and I think Gallium might b= e<br> > needed.<br> <br> If /dev/dri exists and kmscube runs fine then your GPU is properly supporte= d.<br></blockquote><div><br></div><div style=3D"font-family:tahoma,sans-ser= if;font-size:small" class=3D"gmail_default">It exists and kmscube runs.</di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> VA-API is separate from OpenGL. VA-API on Alder Lake needs libva-intel-medi= a-driver<br> but the actual support depends on PCI ID e.g., may require newer version<br= > than then one packaged.<br></blockquote><div><br></div><div style=3D"font-f= amily:tahoma,sans-serif;font-size:small" class=3D"gmail_default">OK. I am n= ow running libva-intel-media-driver. Still not seeing the video acceleratio= n that I would expect. 12 threads running and hte total CPU usage is 9&= to play a 1392x1072 video.<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"> <br> >=C2=A0 Should I use xf86-intel-drive?<br> <br> Did you miss Intel copyright in libwayland and Wayland code in Mesa?<span c= lass=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:sma= ll">\</span></blockquote><div><br></div><div style=3D"font-family:tahoma,sa= ns-serif;font-size:small" class=3D"gmail_default">Never looked, I'll ad= mit.</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8= ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br> Intel stopped contributing to modesetting years ago, sometime after<br> Ice Lake launch. xf86-video-intel was deprecated by Intel before that.<br> modesetting is still maintained by others and doesn't need GPU-specific= <br> support but has many bugs compared to Wayland rendering e.g., atomic<br> mode setting is broken. This is likely a limitation of DDX layer in Xorg<br= > compared to other X11 servers.<br></blockquote><div><br></div><div style=3D= "font-family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">I w= as unaware that Intel dropped out of the modesetting work. I was aware that= xf86-video-intel was really out of date which is why I moved to modesettin= g.</div><div style=3D"font-family:tahoma,sans-serif;font-size:small" class= =3D"gmail_default"><br></div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex"> xf86-video-intel may work if you add Alder Lake PCI IDs similar to Tiger La= ke.<br> However, performance on Cannon Lake and later is likely very poor due to<br= > <a href=3D"https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/co= mmit/7181c5a41c3f" rel=3D"noreferrer" target=3D"_blank">https://gitlab.free= desktop.org/xorg/driver/xf86-video-intel/-/commit/7181c5a41c3f</a></blockqu= ote><div><br></div><div style=3D"font-family:tahoma,sans-serif;font-size:sm= all" class=3D"gmail_default">Yes, that looks like a problem. Alder Lake is = 12th Gen. and I don't supose that a new backend is on the horizon, but = my 10th Gen Comet Lake system had much better performance and it should hav= e had that issue, too.</div><div style=3D"font-family:tahoma,sans-serif;fon= t-size:small" class=3D"gmail_default"><br></div><div style=3D"font-family:t= ahoma,sans-serif;font-size:small" class=3D"gmail_default">Color me very con= fused.<br></div></div><span class=3D"gmail_signature_prefix">-- </span><br>= <div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir= =3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">Kevin Oberman, Part ti= me kid herder and retired Network Engineer<br>E-mail: <a href=3D"mailto:rko= berman@gmail.com" target=3D"_blank">rkoberman@gmail.com</a><br></div><div>P= GP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683</div></div></div><= /div></div></div></div></div></div> --000000000000aef08105f87c5b2a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vAvV4nWh91XtP3hrhPoDHcbyWgxOpWYUhVJEaO7rNBAQ>