Current-Users archive

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

Re: i915 observations (UXA attempt)



On Fri, 22 Jul 2022, Frank Kardel wrote:

> Sadly no luck here. I blindly used X -configure, removed references to the
> NVIDIA card,
> 
> set Option     "AccelMethod" "UXA" and started kdm.
> 
> When startingI was greeted with:
> 
> [    89.357] (II) IGLX: Loaded and initialized swrast
> [    89.357] (II) GLX: Initialized DRISWRAST GL provider for screen 0
> [    89.357] (II) Initializing extension XFree86-VidModeExtension
> [    89.358] (II) Initializing extension XFree86-DGA
> [    89.358] (II) Initializing extension XFree86-DRI
> [    89.358] (II) Initializing extension DRI2
> [    89.360] (EE) intel(0): intel_uxa_set_pixmap_bo: size of buffer object
> does not match constraints: size=8388608, must be greater than 8294400, but
> less than 4194304
> [    89.361] (EE)
> 
> and in my simple world is it hard to provide a solution for 8294400 < X <
> 4194304.
> 
> Did I miss something in the configuration?

I'll have a look at the log and dmesg later.  In my case, I constructed
a minimal "xorg.conf" by grabbing the relevant pieces from
"/var/log/Xorg.0.log".  This was enough to set the required options
without too much fuss.  Please see it attached.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
# new intel driver does not work with AccelMethod SNA on 82G41 built-in
# video right now.  Force AccelMethod UXA as a workaround.

# Alternatively, use "modesetting" driver as a workaround.

# old (2014) intel driver works well with default AccelMethod SNA.

# For SNA (xf86-video-intel-2014) or UXA (xf86-video-intel), save
# performance penalty by disabling "TearFree".

Section "Device"
	Identifier	"Builtin Default intel Device 0"
#	Driver	"modesetting"
	Driver	"intel"
	Option	"TearFree"	"false"
# patch from mrg@ chooses UXA by default on older intel devices.
#	Option	"AccelMethod"	"UXA"
EndSection


Home | Main Index | Thread Index | Old Index