Can't log in with graphics/drm-515-kmod

Don't rely on glxinfo only. Try running "vainfo" or "vkmark" before and after a suspend/resume cycle and report back.
Code:
$ doas vainfo ; doas vkmark
doas: vainfo: command not found
doas: vkmark: command not found
 
LOL, you have to install the relevant packages of course (libva-utils and, guess what?, vkmark). And no "doas", you're supposed to run this commands as your user - not root.
 
I'm not 100% sure whether a pkg upgrade would replace the locally built drm-kmod, as that comes from a different "repo" source.
pkg would upgrade locally built (with ports) ones if pkgs registered (official and/or, if any, local) on the repo are newer and installed pkgs are NOT locked.
To be 100% sure, run pkg upgrade -n (dry-run) before actual run.
 
… Try running "vainfo" or "vkmark" before and after a suspend/resume cycle …

Before:

Code:
% vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit
% pkg iinfo vaapi
gstreamer1-vaapi-1.22.4
% pkg iinfo libva
libva-2.22.0
libva-utils-2.22.0
% uname -aKU
FreeBSD mowa219-gjp4-zbook-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT main-n271686-3d89acf59098 GENERIC-NODEBUG amd64 1500023 1500023
%

Should I do something?

NVIDIA graphics here, and requirements for libva-nvidia-driver are not met.
 
I'm sorry but I'm not familiar with anything Nvidia (actually I don't want to have anything to do with them). In my case vainfo works just fine before and after a suspend/resume cycle after I change a sysctl parameter:
Code:
kern.vt.suspendswitch = 0

This is the output I get, regardless if it's before or after a suspend/resume cycle:
Code:
[15:28][fmc000@tu45b-freebsd][~]
 ╰─$ vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.4.3 (intel-media-23.4.3)
vainfo: Supported profile and entrypoints
...

Shot in the dark: do you have
Code:
libva-nvidia-driver-0.0.12
installed?
 
Back
Top