On Wed, Jun 08, 2022 at 12:23:11AM +0100, Chris Narkiewicz wrote:
> I collected few more details. Since I'm using intel GPU and efifb, I
> thought that using wsfb me a usable X11. Then I tried vesa. Neither
> driver worked. I attached Xorg.0.logs for both below. dmesg and
> whatnot is in my original report above.
> 
> I'm wondering if that has something to do with
> https://github.com/openbsd/xenocara/commit/2da519d378dfd037874293e15c7e7a6b55c65307
> perhaps? Did it get into the snapshot?

For intel parts the only change in libdrm is declaring a variable at the
start of the function and adding pci ids.  I don't see how any problems
could come from that.

What is the last snapshot you used that worked?

> 
> Also, with some guidance, prehaps I could do a bisect on snapshots to 
> pinpoint the
> version when it broke? 
> 
> Relevant wsfb driver complaint::
> 
> [    66.402] (II) wsfb: driver for wsdisplay framebuffer: wsfb
> [    66.402] (WW) Falling back to old probe method for wsfb
> [    66.402] (II) wsfb(0): using default device
> [    66.402] (EE) wsfb(0): ioctl WSDISPLAYIO_LINEBYTES: Inappropriate ioctl 
> for device
> 
> Relevant VESA complaint about address being out of range:
> 
> [   211.897] (II) VESA(0): initializing int10
> [   211.897] (EE) VESA(0): V_BIOS address 0x90680 out of range
> 
> Here is the config file that I placed in my
> /etc/X11/xorg.conf.d/00-monitor.conf:
> 
> Section "Device"
>     Identifier   "Framebuffer"
>     Driver       "wsfb" # or vesa
>     BoardName    "Graphics Adapter"
> EndSection
> 
> Section "Monitor"
>     Identifier   "Monitor"
>     ModelName    "Monitor"
>     HorizSync    1.0 - 1000.0
>     VertRefresh  1.0 - 1000.0
> EndSection
> 
> Section "Screen"
>     Identifier   "Screen"
>     Device       "Framebuffer"
>     Monitor      "Monitor"
>     DefaultDepth 24
>     SubSection "Display"
>         Viewport   0 0
>         Depth      24
>         Modes  "1920x1080"
>     EndSubSection
> EndSection
> 
> Here are Xorg.0.log for wsfb drvier:
> 
> [    66.268] (--) checkDevMem: using aperture driver /dev/xf86
> [    66.301] (--) Using wscons driver on /dev/ttyC4
> [    66.331] 
> X.Org X Server 1.21.1.3
> X Protocol Version 11, Revision 0
> [    66.331] Current Operating System: OpenBSD tauceti.etacassiopeiae.net 7.1 
> GENERIC.MP#575 amd64
> [    66.331]  
> [    66.332] Current version of pixman: 0.40.0
> [    66.332]  Before reporting problems, check http://wiki.x.org
>       to make sure that you have the latest version.
> [    66.332] Markers: (--) probed, (**) from config file, (==) default 
> setting,
>       (++) from command line, (!!) notice, (II) informational,
>       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [    66.333] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun  8 00:11:25 
> 2022
> [    66.338] (==) Using config directory: "/etc/X11/xorg.conf.d"
> [    66.339] (==) Using system config directory 
> "/usr/X11R6/share/X11/xorg.conf.d"
> [    66.343] (==) No Layout section.  Using the first Screen section.
> [    66.343] (**) |-->Screen "Screen" (0)
> [    66.343] (**) |   |-->Monitor "Monitor"
> [    66.347] (**) |   |-->Device "Framebuffer"
> [    66.347] (==) Automatically adding devices
> [    66.347] (==) Automatically enabling devices
> [    66.347] (==) Not automatically adding GPU devices
> [    66.347] (==) Automatically binding GPU devices
> [    66.348] (==) Max clients allowed: 256, resource mask: 0x1fffff
> [    66.357] (==) FontPath set to:
>       /usr/X11R6/lib/X11/fonts/misc/,
>       /usr/X11R6/lib/X11/fonts/TTF/,
>       /usr/X11R6/lib/X11/fonts/OTF/,
>       /usr/X11R6/lib/X11/fonts/Type1/,
>       /usr/X11R6/lib/X11/fonts/100dpi/,
>       /usr/X11R6/lib/X11/fonts/75dpi/
> [    66.357] (==) ModulePath set to "/usr/X11R6/lib/modules"
> [    66.357] (II) The server relies on wscons to provide the list of input 
> devices.
>       If no devices become available, reconfigure wscons or disable 
> AutoAddDevices.
> [    66.357] (II) Loader magic: 0x1c77a19b7c0
> [    66.357] (II) Module ABI versions:
> [    66.357]  X.Org ANSI C Emulation: 0.4
> [    66.357]  X.Org Video Driver: 25.2
> [    66.357]  X.Org XInput driver : 24.4
> [    66.357]  X.Org Server Extension : 10.0
> [    66.359] (--) PCI:*(0@0:2:0) 8086:3184:8086:2212 rev 6, Mem @ 
> 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x00001000/64
> [    66.359] (II) LoadModule: "glx"
> [    66.366] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> [    66.400] (II) Module glx: vendor="X.Org Foundation"
> [    66.400]  compiled for 1.21.1.3, module version = 1.0.0
> [    66.400]  ABI class: X.Org Server Extension, version 10.0
> [    66.400] (II) LoadModule: "wsfb"
> [    66.401] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so
> [    66.401] (II) Module wsfb: vendor="X.Org Foundation"
> [    66.401]  compiled for 1.21.1.3, module version = 0.4.1
> [    66.401]  ABI class: X.Org Video Driver, version 25.2
> [    66.402] (II) wsfb: driver for wsdisplay framebuffer: wsfb
> [    66.402] (WW) Falling back to old probe method for wsfb
> [    66.402] (II) wsfb(0): using default device
> [    66.402] (EE) wsfb(0): ioctl WSDISPLAYIO_LINEBYTES: Inappropriate ioctl 
> for device
> [    66.402] (II) UnloadModule: "wsfb"
> [    66.402] (EE) Screen(s) found, but none have a usable configuration.
> [    66.402] (EE) 
> Fatal server error:
> [    66.402] (EE) no screens found(EE) 
> [    66.402] (EE) 
> Please consult the The X.Org Foundation support 
>        at http://wiki.x.org
>  for help. 
> [    66.402] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
> additional information.
> [    66.403] (EE) 
> [    66.408] (EE) Server terminated with error (1). Closing log file.
> 
> 
> Here is for vesa driver:
> 
> [   211.815] (--) checkDevMem: using aperture driver /dev/xf86
> [   211.843] (--) Using wscons driver on /dev/ttyC4
> [   211.877] 
> X.Org X Server 1.21.1.3
> X Protocol Version 11, Revision 0
> [   211.877] Current Operating System: OpenBSD tauceti.etacassiopeiae.net 7.1 
> GENERIC#552 amd64
> [   211.878]  
> [   211.878] Current version of pixman: 0.40.0
> [   211.878]  Before reporting problems, check http://wiki.x.org
>       to make sure that you have the latest version.
> [   211.878] Markers: (--) probed, (**) from config file, (==) default 
> setting,
>       (++) from command line, (!!) notice, (II) informational,
>       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [   211.879] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun  7 09:43:13 
> 2022
> [   211.881] (==) Using config directory: "/etc/X11/xorg.conf.d"
> [   211.881] (==) Using system config directory 
> "/usr/X11R6/share/X11/xorg.conf.d"
> [   211.882] (==) No Layout section.  Using the first Screen section.
> [   211.882] (**) |-->Screen "Screen" (0)
> [   211.882] (**) |   |-->Monitor "Monitor"
> [   211.884] (**) |   |-->Device "Framebuffer"
> [   211.885] (==) Automatically adding devices
> [   211.885] (==) Automatically enabling devices
> [   211.885] (==) Not automatically adding GPU devices
> [   211.885] (==) Automatically binding GPU devices
> [   211.885] (==) Max clients allowed: 256, resource mask: 0x1fffff
> [   211.885] (==) FontPath set to:
>       /usr/X11R6/lib/X11/fonts/misc/,
>       /usr/X11R6/lib/X11/fonts/TTF/,
>       /usr/X11R6/lib/X11/fonts/OTF/,
>       /usr/X11R6/lib/X11/fonts/Type1/,
>       /usr/X11R6/lib/X11/fonts/100dpi/,
>       /usr/X11R6/lib/X11/fonts/75dpi/
> [   211.885] (==) ModulePath set to "/usr/X11R6/lib/modules"
> [   211.885] (II) The server relies on wscons to provide the list of input 
> devices.
>       If no devices become available, reconfigure wscons or disable 
> AutoAddDevices.
> [   211.885] (II) Loader magic: 0x2f2128e67c0
> [   211.885] (II) Module ABI versions:
> [   211.885]  X.Org ANSI C Emulation: 0.4
> [   211.885]  X.Org Video Driver: 25.2
> [   211.885]  X.Org XInput driver : 24.4
> [   211.885]  X.Org Server Extension : 10.0
> [   211.886] (--) PCI:*(0@0:2:0) 8086:3184:8086:2212 rev 6, Mem @ 
> 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x00001000/64
> [   211.886] (II) LoadModule: "glx"
> [   211.889] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
> [   211.893] (II) Module glx: vendor="X.Org Foundation"
> [   211.893]  compiled for 1.21.1.3, module version = 1.0.0
> [   211.893]  ABI class: X.Org Server Extension, version 10.0
> [   211.893] (II) LoadModule: "vesa"
> [   211.894] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
> [   211.894] (II) Module vesa: vendor="X.Org Foundation"
> [   211.894]  compiled for 1.21.1.3, module version = 2.3.4
> [   211.894]  Module class: X.Org Video Driver
> [   211.894]  ABI class: X.Org Video Driver, version 25.2
> [   211.894] (II) VESA: driver for VESA chipsets: vesa
> [   211.894] (II) Loading sub module "vbe"
> [   211.894] (II) LoadModule: "vbe"
> [   211.895] (II) Loading /usr/X11R6/lib/modules/libint10.so
> [   211.895] (II) Module int10: vendor="X.Org Foundation"
> [   211.895]  compiled for 1.21.1.3, module version = 1.0.0
> [   211.895]  ABI class: X.Org Video Driver, version 25.2
> [   211.895] (II) Loading sub module "int10"
> [   211.895] (II) LoadModule: "int10"
> [   211.897] (II) Loading /usr/X11R6/lib/modules/libint10.so
> [   211.897] (II) Module int10: vendor="X.Org Foundation"
> [   211.897]  compiled for 1.21.1.3, module version = 1.0.0
> [   211.897]  ABI class: X.Org Video Driver, version 25.2
> [   211.897] (II) VESA(0): initializing int10
> [   211.897] (EE) VESA(0): V_BIOS address 0x90680 out of range
> [   211.897] (II) UnloadModule: "vesa"
> [   211.897] (II) UnloadSubModule: "int10"
> [   211.897] (II) Unloading int10
> [   211.897] (II) UnloadSubModule: "int10"
> [   211.897] (II) Unloading int10
> [   211.897] (EE) Screen(s) found, but none have a usable configuration.
> [   211.897] (EE) 
> Fatal server error:
> [   211.897] (EE) no screens found(EE) 
> [   211.897] (EE) 
> Please consult the The X.Org Foundation support 
>        at http://wiki.x.org
>  for help. 
> [   211.897] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
> additional information.
> [   211.897] (EE) 
> [   211.903] (EE) Server terminated with error (1). Closing log file.
> 
> Best regards,
> Chris Narkiewicz
> 


Reply via email to