[Bug 270509] Various x11-drivers/xf86-video drivers erroneously assume that no kernel driver will attach to graphics cards (need local patches)
Date: Fri, 31 May 2024 04:09:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270509 --- Comment #37 from Paul Telles (Starcat) <tellesp2002@gmail.com> --- I encountered the same issue on an IBM server. # dmidecode -t system # dmidecode 3.5 # SMBIOS entry point at 0x7e7bf000 Found SMBIOS entry point in EFI, reading table from /dev/mem. SMBIOS 2.7 present. Handle 0x0015, DMI type 1, 27 bytes System Information Manufacturer: IBM Product Name: IBM System x3300 M4 -[7382PBC]- [...] # pciconf -lv | grep -B3 display vgapci0@pci0:4:0:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x102b device=0x0534 subvendor=0x1014 subdevice=0x0405 vendor = 'Matrox Electronics Systems Ltd.' device = 'G200eR2' class = display # pkg search xf86-video-mga xf86-video-mga-2.0.0_4,3 X.Org mga display driver # cat /var/log/Xorg.0.log [ 208.073] X.Org X Server 1.21.1.13 X Protocol Version 11, Revision 0 [ 208.073] Current Operating System: FreeBSD bluey 14.1-RC1 FreeBSD 14.1-RC1 releng/14.1-n267678-4de43de58f51 GENERIC amd64 [ 208.073] [ 208.073] Current version of pixman: 0.42.2 [ 208.073] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 208.073] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 208.074] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 30 22:21:32 2024 [ 208.134] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d" [ 208.134] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" [ 208.148] (==) No Layout section. Using the first Screen section. [ 208.148] (==) No screen section available. Using defaults. [ 208.148] (**) |-->Screen "Default Screen Section" (0) [ 208.148] (**) | |-->Monitor "<default monitor>" [ 208.149] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 208.149] (**) | |-->Device "Card0" [ 208.149] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 208.149] (**) Allowing byte-swapped clients [ 208.149] (==) Automatically adding devices [ 208.149] (==) Automatically enabling devices [ 208.149] (==) Automatically adding GPU devices [ 208.149] (==) Automatically binding GPU devices [ 208.149] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 208.307] (==) FontPath set to: /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/75dpi/, catalogue:/usr/local/etc/X11/fontpath.d [ 208.307] (==) ModulePath set to "/usr/local/lib/xorg/modules" [ 208.307] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 208.307] (II) Module ABI versions: [ 208.307] X.Org ANSI C Emulation: 0.4 [ 208.307] X.Org Video Driver: 25.2 [ 208.307] X.Org XInput driver : 24.4 [ 208.307] X.Org Server Extension : 10.0 [ 208.310] (--) PCI:*(4@0:0:0) 102b:0534:1014:0405 rev 0, Mem @ 0x92000000/16777216, 0x917fc000/16384, 0x91800000/8388608, BIOS @ 0x????????/65536 [ 208.311] (II) LoadModule: "glx" [ 208.339] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 208.407] (II) Module glx: vendor="X.Org Foundation" [ 208.407] compiled for 1.21.1.13, module version = 1.0.0 [ 208.407] ABI class: X.Org Server Extension, version 10.0 [ 208.407] (II) LoadModule: "mga" [ 208.408] (II) Loading /usr/local/lib/xorg/modules/drivers/mga_drv.so [ 208.423] (II) Module mga: vendor="X.Org Foundation" [ 208.423] compiled for 1.21.1.13, module version = 2.0.0 [ 208.423] Module class: X.Org Video Driver [ 208.423] ABI class: X.Org Video Driver, version 25.2 [ 208.423] (II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w, mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag200 SE A PCI, mgag200 SE B PCI, mgag200 EV Maxim, mgag200 ER SH7757, mgag200 eW Nuvoton, mgag200 eW3 Nuvoton, mgag200eH, mgag200eH3, mgag400, mgag550 [ 208.424] (--) Using syscons driver with X support (version 2.0) [ 208.424] (--) using VT number 9 [ 208.424] (EE) mga: The PCI device 0x534 at 04@00:00:0 has a kernel module claiming it. [ 208.424] (EE) mga: This driver cannot operate until it has been unloaded. [ 208.424] (EE) No devices detected. [ 208.424] (EE) Fatal server error: [ 208.424] (EE) no screens found(EE) [ 208.424] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 208.424] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 208.424] (EE) [ 208.424] (EE) Server terminated with error (1). Closing log file. # -- You are receiving this mail because: You are the assignee for the bug.