YouTube video rendering slow on XFCE FreeBSD 15.0

I have installed FreeBSD 15.0 on Lenovo ideapad 100s 14ibr. Along with
drm-kmod and xf86-video-intel However, the videos are rendering slow. If I remove xf86-video-intel then XFCE wont load. Any solutions to this issue please?
Thanks & Best Regards
Michael
 
If you know what model CPU you have it would be helpful. Graphics are built into the CPU in most cases.

From my reading Lenovo ideapad 100s 14ibr could be N3060 Intel CPU.
Can you confirm? There are several models.
 
Post your /var/log/Xorg.0.log; cat /var/log/Xorg.0.log | nc termbin.com 9999
Hi, Thanks. Please see following: https://termbin.com/lxop
If you know what model CPU you have it would be helpful. Graphics are built into the CPU in most cases.

From my reading Lenovo ideapad 100s 14ibr could be N3060 Intel CPU.
Can you confirm? There are several models.
Hi Thanks.Yes. Intel Celeron N3060 processor.
Thanks Best Regards
Michael
 
intel(0): Allocated new frame buffer 1366x768 stride 5632, tiled
[ 19.562] (II) UXA(0): Driver registered support for the following operations:
[ 19.562] (II) solid

Like I said earlier. The xf86-video-intel driver is junk. That is what is causing slow videos. You have a super slow CPU (power efficient) and software rendering will not work well.

What you need to load is "MODESETTING" driver. That gives you accelerated video from GPU. i915kms driver is not "INTEL" in 20-intel.conf.

I know this is contrary to what the manual says. It acts like INTEL setting works. That setting requires xf86-video-intel which is junk and should be removed.

You need Modesetting. Check threads here. I am sorry the manual is not correct. Things are really wrong there.


Unfortunately I have recently had trouble with N3160 graphics so I am curious if it is just me. They are similar CPU.
So try a configuration file for me to see if MODESETTING/i915kms works as it should.

Create this custom file and retry Xorg:
/usr/local/etc/X11/xorg.cond.d/20-video.conf
Code:
Section "Device"
    Identifier "Card0"
    Driver     "modesetting"
EndSection

If it bombs out please submit another Xorg.0.log for us.
 
It tells you whether you have acceleration for video in an x11 server.
Never tried that one and its installed already. Output seems useless.. glmark2 has the real skinny.
Code:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "GLAMOR Textured Video"
    number of ports: 16
    port base: 151
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 5
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 8192 x 8192
    Number of image formats: 3
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x3231564e (NV12)
        guid: 4e563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 2
        type: YUV (planar)

GLMARK2

Code:
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      Intel
    GL_RENDERER:    Mesa Intel(R) UHD Graphics 630 (CFL GT2)
    GL_VERSION:     4.6 (Compatibility Profile) Mesa 24.1.7
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 3187 FrameTime: 0.314 ms
=======================================================
                                  glmark2 Score: 3186
=======================================================
[/CMD]
 
Never tried that one and its installed already. Output seems useless.. glmark2 has the real skinny.
Code:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "GLAMOR Textured Video"
    number of ports: 16
    port base: 151
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 5
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 8192 x 8192
    Number of image formats: 3
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x3231564e (NV12)
        guid: 4e563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 2
        type: YUV (planar)

GLMARK2

Code:
=======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      Intel
    GL_RENDERER:    Mesa Intel(R) UHD Graphics 630 (CFL GT2)
    GL_VERSION:     4.6 (Compatibility Profile) Mesa 24.1.7
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 3187 FrameTime: 0.314 ms
=======================================================
                                  glmark2 Score: 3186
=======================================================
[/CMD]
I have exatly the same result with xvinfo as you on Lenovo Tinkpad T495.
 
Some more references:
 
Back to the original poster.

I have a platform with N3160. It is the same generation as N3060. These are chips that seem to have i915kms driver issues. They work fine with drm-510-kmod. Nothing after that works.
Unfortunately that driver is only available on FreeBSD 13.5-RELEASE and 13-STABLE and that branch goes EOL in 7 months.

So if you want to see working accelerated graphics install 13.5-RELEASE and install drm-510-kmod. No gpu-firmware package needed.
 
Like I said earlier. The xf86-video-intel driver is junk. That is what is causing slow videos. You have a super slow CPU (power efficient) and software rendering will not work well.

What you need to load is "MODESETTING" driver. That gives you accelerated video from GPU. i915kms driver is not "INTEL" in 20-intel.conf.

I know this is contrary to what the manual says. It acts like INTEL setting works. That setting requires xf86-video-intel which is junk and should be removed.

You need Modesetting. Check threads here. I am sorry the manual is not correct. Things are really wrong there.


Unfortunately I have recently had trouble with N3160 graphics so I am curious if it is just me. They are similar CPU.
So try a configuration file for me to see if MODESETTING/i915kms works as it should.

Create this custom file and retry Xorg:
/usr/local/etc/X11/xorg.cond.d/20-video.conf
Code:
Section "Device"
    Identifier "Card0"
    Driver     "modesetting"
EndSection

If it bombs out please submit another Xorg.0.log for us.
Please refer following: https://termbin.com/76p5 Thanks Best Regards
 
Back
Top