Bug 283646

Summary: x11-drivers/xf86-video-scfb: startx fails: (EE) scfb(0): scfb_mmap: Invalid argument
Product: Ports & Packages Reporter: Paul Scott <pscott>
Component: Individual Port(s)Assignee: freebsd-x11 (Nobody) <x11>
Status: New ---    
Severity: Affects Only Me CC: pscott
Priority: --- Flags: bugzilla: maintainer-feedback? (x11)
Version: Latest   
Hardware: arm64   
OS: Any   
Attachments:
Description Flags
X log showing scfb failure. none

Description Paul Scott 2024-12-26 23:55:40 UTC
Created attachment 256180 [details]
X log showing scfb failure.

FreeBSD 14.2:

startx

[   150.732] scfb: ScfbScreenInit 0
[   150.732] 	bitsPerPixel=32, depth=24, defaultVisual=TrueColor
	mask: ff0000,ff00,ff, offset: 16,8,0
[   150.732] mmap returns: addr 0x0 len 0x3e8000, fd 12, off 0
[   150.732] (EE) scfb(0): scfb_mmap: Invalid argument
[   150.732] (EE) 
Fatal server error:
[   150.732] (EE) AddScreen/ScreenInit failed for driver 0

Fails to start under FreeBSD 14.2-RELEASE.
Works correctly under FreeBSD 13.4-RELEASE.
Comment 1 Paul Scott 2024-12-26 23:58:26 UTC
While I don't think this is necessarily relevant, for full disclosure, I'm running FreeBSD 14.2-RELEASE under UTM virtualization on macOS. The problem does not occur running FreeBSD 13.4-RELEASE under the exact same environment.