Solved Unable to launch games after upgrading to 12.2

Hi,

I upgraded to 12.2 from 12.0 and also followed the suggestion to build and install pkg/drm-fbsd12.0-kmod from ports, however the OpenGL version is still stuck at 1.3(output below) and as a result few things like games(pkg/supertuxkart) and hardware rendering of pkg/enlightenment are not working anymore. The game used to launch fine before the upgrade.


Code:
glxinfo | grep OpenGL
libGL error: MESA-LOADER: failed to retrieve device information
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Unknown Intel Chipset
OpenGL version string: 1.3 Mesa 20.2.3
OpenGL extensions:

I have Debian 10 as dual boot and it shows OpenGL 3.0 in use.
 
Yeah, the user is member of the video group and earlier this PC used to have Nvidia, I had removed it while on 12.0 and it was working ok with IGP.
 
This has the entire list, let me know if you need anything else.


Edit: It shows up in the Xorg.log:


Code:
[    20.744] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    20.744] (==) intel(0): RGB weight 888
[    20.744] (==) intel(0): Default visual is TrueColor
[    20.744] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 2500
 
Ok, I tried both. Removed the intel driver and without setting anything, next installed it and set the config, the error was the same:


Code:
[  5709.998] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[  5709.998] (II) Module fb: vendor="X.Org Foundation"
[  5709.998]    compiled for 1.20.9, module version = 1.0.0
[  5709.998]    ABI class: X.Org ANSI C Emulation, version 0.4
[  5709.999] Require OpenGL version 2.1 or later.
[  5709.999] (EE) modeset(0): Failed to initialize glamor at ScreenInit() time.
[  5709.999] (EE)
Fatal server error:
[  5709.999] (EE) AddScreen/ScreenInit failed for driver 0

Complete log: https://paste.debian.net/hidden/8bc94403/
 
Thanks for suggesting this, https://dpaste.com/2DUGHZCGR

Edit:
It is solved! Thanks for your suggestions and support !

I had to change the /etc/rc.conf entry(like below), it was correct before the upgrade but I had changed it after xorg stopped working after upgrading to 12.2, this was after reading some forum post and thinking that I may have to just pass the argument without the path, I was reminded of this when I built and installed the port, it showed it in the post install message, but ignored it.

Finally with so many things that I tried and nothing left, I took a shot at changing and it worked! :D

The snippet from /etc/rc.conf:

Code:
#settings for iGPU
kld_list="/boot/modules/i915kms.ko"
#kld_list="i915kms.ko"    #Commented as this won't work.

And to enable tty, setting in /boot/loader.conf:

Code:
kern.vty=vt
 
Back
Top