14-STABLE: No XVideo using xf86-video-intel on i7-9700, modesetting or using a c works.

Hello,

I've moved my system from an i7-3770K (Ausus P8C) to an i7-9700 (P330) based board.
When using the xf86-video-intel driver, I have no XVideo ("no adaptors found"). Using
the modesetting driver, it works.

Out of curiosity, I booted Ubuntu 22, switched from Wayland to X11, switched from the
default modesetting driver to xf86-video-intel (a slightly older version than the latest on
FreeBSD), and xvinfo spit out:

Code:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Textured Video"
    number of ports: 64
    port base: 75
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x20
    number of attributes: 2
...
  Adaptor #1: "Intel(R) Video Sprite"
    number of ports: 1
    port base: 139
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x20
    number of attributes: 3

Any ideas why XVideo does not work on FreeBSD-14 with an i7-9700? I uses latest
drm-kmod, xf86-video-intel, Xorg from ports. I tried the official packages as well.
 
No idea why the subject got messed up. It should have been:
"14-STABLE: No XVideo using xf86-video-intel on i7-9700, modesetting or using a i7-3770K CPU works"
 
Yup, I can confirm this problem on the i5-4590 as well.
It hangs on boot just after loading the i915kms, disabling it allow me to boot just fine, it is a no issue for me since this is my nfs server (and future build server).
But I will hold the jump to stable in my notebook because of this.
 
When using the xf86-video-intel driver, I have no XVideo ("no adaptors found")
Could you post the resulting link of cat /var/log/Xorg.0.log | nc termbin.com 9999 ?

Your Intel Core i7-9700 is from release date 2019 of "Coffee Lake" architecture, and has "UHD Graphics 630", I do not see that one listed at x11-drivers/xf86-video-intel, only "Intel(R) HD Graphics,".

xf86-video-intel is an old (longtime not being further developed anymore) 2D driver, not using Kernel Mode Setting (KMS), this would not be my first choice for a relelatively modern CPU like an i7-9700. Don't know why this works in Ubuntu though; version difference maybe?
 
Could you post the resulting link of cat /var/log/Xorg.0.log | nc termbin.com 9999 ?

Sure:

xf86-video-intel is an old (longtime not being further developed anymore) 2D driver, not using Kernel Mode Setting (KMS), this would not be my first choice for a relelatively modern CPU like an i7-9700. Don't know why this works in Ubuntu though; version difference maybe?
I know that xf86-video-intel is outdated. I have used it all the time on the i7-3770K and
that's why I started with it after moving the system disks to new i7-9700 board. After
noticing that XVideo doesn't work I switch to the modesetting driver. However, I noticed
that with the modesetting driver the box consumes 7.1 Watts instead of 6.5 with the
xf86-video-intel. So I got curious what happens with Ubuntu...
 
Could you post the resulting link of cat /var/log/Xorg.0.log | nc termbin.com 9999 ?

Your Intel Core i7-9700 is from release date 2019 of "Coffee Lake" architecture, and has "UHD Graphics 630", I do not see that one listed at x11-drivers/xf86-video-intel, only "Intel(R) HD Graphics,".

xf86-video-intel is an old (longtime not being further developed anymore) 2D driver, not using Kernel Mode Setting (KMS), this would not be my first choice for a relelatively modern CPU like an i7-9700. Don't know why this works in Ubuntu though; version difference maybe?
Coffee Lake and Cabby lake has same UHD graphics 630 difference is only speed one is 1.15 another is 1.20 max speed.
When you install drm-kmod it pulls all the stuff you need and dont need ( like firmware ) i would say try to reinstall
  • pkg install graphics/gpu-firmware-kmod
and see where it goes.
Obviously if you compile - recompile what you need.
And if you look at ports:
Code:
graphics/gpu-firmware-intel: Fix cannonlake/coffeelake

cnl firmwares are for cannonlake so introduce this module.
cml firmwares are the GuC/HuC firmware for cometlake, which uses
the dmc kabylake firmware so move them accordingly.
 
Any ideas why XVideo does not work on FreeBSD-14 with an i7-9700? I uses latest
drm-kmod, xf86-video-intel, Xorg from ports. I tried the official packages as well.
drm-61-kmod worked fine for me with Intel UHD 630 (i5-8400H/Coffeelake) on 14.1, but didn't on 14.2. Using drm-515-kmod works fine!

I think drm-kmod uses the later drm-61-kmod by-default.
 
xf86-video-intel is an old (longtime not being further developed anymore) 2D driver, not using Kernel Mode Setting (KMS), this would not be my first choice for a relelatively modern CPU like an i7-9700. Don't know why this works in Ubuntu though; version difference maybe?

The Intel DDX driver worked for me on UHD 630 about a week ago on 14.1, but with Xfce's compositor enabled stuff was laggy-looking (compositor off was fine but there was tearing and Intel DDX TearFree didn't work, I'm thinking because of UXA vs SNA). It happened on GNOME on Fedora Linux too but I recall doing something to fix it randomly at some point.

I haven't noticed a difference between Intel DDX and modesetting Xfce and GNOME, but I like the idea of Intel DDX better and test it out every now and then :p
 
drm-61-kmod worked fine for me with Intel UHD 630 (i5-8400H/Coffeelake) on 14.1, but didn't on 14.2. Using drm-515-kmod works fine!
What do you mean by "worked"? drm-61-kmod works here with 14.2 (console and X11).
The only thing that doesn't work is XVideo when using xf86-video-intel (see Subject).

Or did you want to say: When using drm-515-kmod on 14.2 together with xf86-video-intel
I have working XVideo?
 
Coffee Lake and Cabby lake has same UHD graphics 630 difference is only speed one is 1.15 another is 1.20 max speed.
When you install drm-kmod it pulls all the stuff you need and dont need ( like firmware ) i would say try to reinstall
  • pkg install graphics/gpu-firmware-kmod
and see where it goes.

I have tried drm-61-kmod and xf86-video-intel freshly compiled from ports and
as pkg. I have installed the latest FW (only kbl_dmc_ver1_04 gets loaded).
No XVideo.
 
Back
Top