Bug 269296 - x11-drivers/xf86-video-intel: update to 2023-02-01 snapshot
Summary: x11-drivers/xf86-video-intel: update to 2023-02-01 snapshot
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL: https://gitlab.freedesktop.org/xorg/d...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-03 04:30 UTC by Jan Beich
Modified: 2023-02-28 12:25 UTC (History)
4 users (show)

See Also:


Attachments
v1 (apply via "git am") (2.14 KB, patch)
2023-02-03 04:30 UTC, Jan Beich
no flags Details | Diff
Works as before for me (a few mins, UXA)... SNA was fine too. (23.71 KB, text/plain)
2023-02-28 02:06 UTC, Paul Dufresne
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2023-02-03 04:30:03 UTC
Created attachment 239870 [details]
v1 (apply via "git am")
Comment 1 Emmanuel Vadot freebsd_committer freebsd_triage 2023-02-03 07:11:32 UTC
Ok with the patch after someone tested.
Comment 2 Paul Dufresne 2023-02-28 02:06:58 UTC
Created attachment 240472 [details]
Works as before for me (a few mins, UXA)... SNA was fine too.
Comment 3 Paul Dufresne 2023-02-28 02:08:35 UTC
built with "portmaster x11-drivers/xf86-video-intel".

paul@dufresnep:~ $ pkg info xf86-video-intel
xf86-video-intel-2.99.917.923,1
Name           : xf86-video-intel
Version        : 2.99.917.923,1
Installed on   : Mon Feb 27 20:31:59 2023 EST
Origin         : x11-drivers/xf86-video-intel
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : x11-drivers
Licenses       : MIT
Maintainer     : x11@FreeBSD.org
WWW            : https://01.org/linuxgraphics/
Comment        : X.Org legacy driver for Intel integrated graphics chipsets
Options        :
	UDEV           : on
	XVMC           : on
Shared Libs required:
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-02-28 02:20:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33b0eb073cf57e95656700701f8fc4872e3904ff

commit 33b0eb073cf57e95656700701f8fc4872e3904ff
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-01 18:07:58 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-28 02:19:19 +0000

    x11-drivers/xf86-video-intel: update to 2.99.917.923 (2023-02-01 snapshot)

    Changes:        https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/compare/31486f40f8e8...b74b67f0f321
    PR:             269296
    Tested by:      Paul Dufresne
    Approved by:    manu

 x11-drivers/xf86-video-intel/Makefile | 5 ++---
 x11-drivers/xf86-video-intel/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)
Comment 5 Jan Beich freebsd_committer freebsd_triage 2023-02-28 02:20:27 UTC
Thanks for testing.
Comment 6 jakub_lach 2023-02-28 12:25:03 UTC
(In reply to Jan Beich from comment #5)

FWIW, with sna I had to apply 

--- src/sna/kgem.c.orig	2021-01-15 20:59:05 UTC
+++ src/sna/kgem.c
@@ -68,7 +68,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int num
 #define DBG_NO_CACHE_LEVEL 0
 #define DBG_NO_CPU 0
 #define DBG_NO_CREATE2 0
-#define DBG_NO_USERPTR 0
+#define DBG_NO_USERPTR 1
 #define DBG_NO_UNSYNCHRONIZED_USERPTR 0
 #define DBG_NO_COHERENT_MMAP_GTT 0
 #define DBG_NO_LLC 0

to run Firefox (same as before).