NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/58374: X stopped working



The following reply was made to PR kern/58374; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/58374: X stopped working
Date: Sat, 29 Jun 2024 15:19:43 +0200

 This turned out to not be caused by changes in NetBSD, but a local change
 to the update method I use on this machine and a machine specific hack
 that script had that I added years ago and forgot - and now overlooked
 during the update of the script.
 
 I forgot the details, but some time ago Jared helped me debug this issue
 and it turned out my machine could not use VESA (I think since I switched
 from BIOS boot to UEFI). Back then we found no easy way to recognize the
 situation and work around it, but instead I started removing the
 vesa modules after each update:
 
 	rm -f /usr/X11R7/lib/modules/drivers/vesa_drv.so*
 
 This makes X work again for me. Difference in Xorg.0.log:
 
 Before (broken):
 
 [   304.729] (==) Matched ati as autoconfigured driver 0
 [   304.729] (==) Matched modesetting as autoconfigured driver 1
 [   304.729] (==) Matched vesa as autoconfigured driver 2
 [   304.729] (==) Matched wsfb as autoconfigured driver 3
 [   304.729] (==) Assigned the driver to the xf86ConfigLayout
 [   304.729] (II) LoadModule: "ati"
 [   304.729] (II) Loading /usr/X11R7/lib/modules/drivers/ati_drv.so
 [   304.729] (II) Module ati: vendor="X.Org Foundation"
 [   304.729] 	compiled for 1.21.1.9, module version = 22.0.0
 [   304.729] 	Module class: X.Org Video Driver
 [   304.729] 	ABI class: X.Org Video Driver, version 25.2
 [   304.736] (II) LoadModule: "radeon"
 [   304.736] (II) Loading /usr/X11R7/lib/modules/drivers/radeon_drv.so
 [   304.736] (II) Module radeon: vendor="X.Org Foundation"
 [   304.736] 	compiled for 1.21.1.9, module version = 22.0.0
 [   304.736] 	Module class: X.Org Video Driver
 [   304.736] 	ABI class: X.Org Video Driver, version 25.2
 [   304.736] (II) LoadModule: "modesetting"
 [   304.736] (II) Loading /usr/X11R7/lib/modules/drivers/modesetting_drv.so
 [   304.737] (II) Module modesetting: vendor="X.Org Foundation"
 [   304.737] 	compiled for 1.21.1.9, module version = 1.21.1
 [   304.737] 	Module class: X.Org Video Driver
 [   304.737] 	ABI class: X.Org Video Driver, version 25.2
 [   304.737] (II) LoadModule: "vesa"
 [   304.737] (II) Loading /usr/X11R7/lib/modules/drivers/vesa_drv.so
 [   304.737] (II) Module vesa: vendor="X.Org Foundation"
 [   304.737] 	compiled for 1.21.1.9, module version = 2.6.0
 [   304.737] 	Module class: X.Org Video Driver
 [   304.737] 	ABI class: X.Org Video Driver, version 25.2
 [   304.737] (II) LoadModule: "wsfb"
 [   304.737] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
 [   304.737] (II) Module wsfb: vendor="X.Org Foundation"
 [   304.737] 	compiled for 1.21.1.9, module version = 0.4.0
 [   304.737] 	ABI class: X.Org Video Driver, version 25.2
 [   304.737] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
 
 
 Now (working) [but also with amdgpu kernel support, ignore that part]:
 
 [    18.098] (==) Matched vesa as autoconfigured driver 2
 [    18.098] (==) Matched wsfb as autoconfigured driver 3
 [    18.098] (==) Assigned the driver to the xf86ConfigLayout
 [    18.098] (II) LoadModule: "ati"
 [    18.099] (II) Loading /usr/X11R7/lib/modules/drivers/ati_drv.so
 [    18.099] (II) Module ati: vendor="X.Org Foundation"
 [    18.099]    compiled for 1.21.1.9, module version = 22.0.0
 [    18.099]    Module class: X.Org Video Driver
 [    18.099]    ABI class: X.Org Video Driver, version 25.2
 [    18.112] (II) LoadModule: "amdgpu"
 [    18.112] (II) Loading /usr/X11R7/lib/modules/drivers/amdgpu_drv.so
 [    18.114] (II) Module amdgpu: vendor="X.Org Foundation"
 [    18.114]    compiled for 1.21.1.9, module version = 23.0.0
 [    18.114]    Module class: X.Org Video Driver
 [    18.114]    ABI class: X.Org Video Driver, version 25.2
 [    18.114] (II) LoadModule: "modesetting"
 [    18.114] (II) Loading /usr/X11R7/lib/modules/drivers/modesetting_drv.so
 [    18.115] (II) Module modesetting: vendor="X.Org Foundation"
 [    18.115]    compiled for 1.21.1.9, module version = 1.21.1
 [    18.115]    Module class: X.Org Video Driver
 [    18.115]    ABI class: X.Org Video Driver, version 25.2
 [    18.115] (II) LoadModule: "vesa"
 [    18.115] (WW) Warning, couldn't open module vesa
 [    18.115] (EE) Failed to load module "vesa" (module does not exist, 0)
 >>>>>        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 [    18.115] (II) LoadModule: "wsfb"
 [    18.115] (II) Loading /usr/X11R7/lib/modules/drivers/wsfb_drv.so
 [    18.116] (II) Module wsfb: vendor="X.Org Foundation"
 [    18.116]    compiled for 1.21.1.9, module version = 0.4.0
 [    18.116]    ABI class: X.Org Video Driver, version 25.2
 [    18.116] (II) AMDGPU: Driver for AMD Radeon:
         All GPUs supported by the amdgpu kernel driver
 [    18.116] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
 [    18.116] (II) wsfb: driver for wsdisplay framebuffer: wsfb
 [    18.116] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
 


Home | Main Index | Thread Index | Old Index