Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2024 07:49:44 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Milan Obuch <freebsd-x11@dino.sk>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Alderlake status? (problem with video on Yoga Book)
Message-ID:  <20240428094944.5b0e28f2@ernst.home>
In-Reply-To: <20240427145025.4be8a75f@zeta.dino.sk>
References:  <20240427145025.4be8a75f@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Apr 2024 14:50:25 +0200
Milan Obuch <freebsd-x11@dino.sk> wrote:

> Hi,
>
> I am working on Yoga Book, installing X the usual way, and it works
> well, or at least partially. It has Alder Lake CPU:
>
> vgapci0@pci0:0:2:0:     class=3D0x030000 rev=3D0x00 hdr=3D0x00 vendor=3D=
0x8086 device=3D0x46d2 subvendor=3D0x8086 subdevice=3D0x7270
>     vendor     =3D 'Intel Corporation'
>     device     =3D 'Alder Lake-N [UHD Graphics]'
>     class      =3D display
>     subclass   =3D VGA
>     bar   [10] =3D type Memory, range 64, base 0x6000000000, size 167772=
16, enabled
>     bar   [18] =3D type Prefetchable Memory, range 64, base 0x4000000000=
, size 268435456, enabled
>     bar   [20] =3D type I/O Port, range 32, base 0x4000, size 64, enable=
d
>
> Playing video with vlc basically just works, I am experiencing some
> unexpected behaviour, however. Last time, video stopped, and there are
> some messages repeatedly logged on console and /var/log/messages:
>
> drmn0: [drm] Resetting rcs0 for CS error
> drmn0: [drm] GPU HANG: ecode 12:1:7d05520f, in vlc [109629]
>
> Then some messages like
>
> Fence expiration time out i915-drmn0:vlc[109629]:630f6!
>
> followed with GPU hang messages as above (too numerous to count them),
> after some time vlc dies, but GPU hang messages are continuing, just
> without mentioning vlc.
>
> Then X fails, but trying to start it anew is not possible, because...
>
> [163977.753] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListene=
r() failed
> [163977.753] _XSERVTransMakeAllCOTSServerListeners: server already runni=
ng
> [163977.753] (EE)
> Fatal server error:
> [163977.753] (EE) Cannot establish any listening sockets - Make sure an =
X server isn't already running(EE)
> [163977.753] (EE)
> Please consult the The X.Org Foundation support
>          at http://wiki.x.org
>  for help.
> [163977.753] (EE) Please also check the log file at "/var/log/Xorg.0.log=
" for additional information.
> [163977.753] (EE)
> [163977.753] (EE) Server terminated with error (1). Closing log file.
>

I had this problem with restarting X too.  It turned out that X0-lock
was still present under /tmp.  Deleting it as root fixed that.

I use a NVIDIA GPU, so I can't help with the Alder Lake problem.

> It is necessary to restart it now... and video plays again. There may
> be some other problems, I just documented the one as it just occured.
>
> Is anybody working on Alder Lake support? I can test something, I am
> currently running 15-CURRENT (maybe a week old), but I don't know much
> about video from kernel and firmware perspective...
>

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240428094944.5b0e28f2>