tech-x11 archive

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

Re: 10.0_RC1 on NVIDIA T400



On Wed, Nov 22, 2023 at 06:02:40PM +0000, Robert Swindells wrote:
> 
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > glamor is not working for some reason:
> > [   323.179] (II) Loading sub module "glamoregl"
> > [   323.179] (II) LoadModule: "glamoregl"
> > [   323.180] (II) Loading /usr/X11R7/lib/modules/libglamoregl.so
> > [   323.181] (II) Module glamoregl: vendor="X.Org Foundation"
> > [   323.181]    compiled for 1.21.1.9, module version = 1.0.1
> > [   323.181]    ABI class: X.Org ANSI C Emulation, version 0.4
> > [   323.259] (EE) modeset(0): eglInitialize() failed
> > [   323.259] (II) modeset(0): glamor initialization failed
> 
> I see differences in chipset support for nouveau between MesaLib.old and
> MesaLib in xsrc, this could cause glamor to not initialize.
> 
> > but that's not so important for me; glxgears with default options is giving
> > more than 250FPS which should be good enough for my use case (my current
> > workstation gives 60FPS :).
> > mplayer is slow though; that could be annoying as more and more documentation
> > come as video. Will try modular Xorg and see if it's better.
> 
> You may be running software rendering, just on a fast CPU.
> 
> Try running 'glxinfo -B' to see how it is configured.
> 
> I think that either modular Xorg if you want to run NetBSD 10, or
> building MesaLib instead of the default MesaLib.old in -current will
> give you a version of mesa with better support for that GPU.

With modurar xorg it's not better.
I get the same glxgear performances and mplayer is as slow.
glxinfo -B gives:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 13.0.1, 256 bits) (0xffffffff)
    Version: 21.3.9
    Accelerated: no
    Video memory: 32456MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.9
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 21.3.9
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.9
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

xorg.log says:
[...]
[153241.232] (II) LoadModule: "glx"
[153241.232] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libglx.so
[153241.236] (II) Module glx: vendor="X.Org Foundation"
[153241.236]    compiled for 1.21.1.8, module version = 1.0.0
[153241.236]    ABI class: X.Org Server Extension, version 10.0
[153241.236] (II) LoadModule: "modesetting"
[153241.236] (II) Loading /usr/pkg/lib/xorg/modules/drivers/modesetting_drv.so
[153241.236] (II) Module modesetting: vendor="X.Org Foundation"
[153241.236]    compiled for 1.21.1.8, module version = 1.21.1
[153241.236]    Module class: X.Org Video Driver
[153241.236]    ABI class: X.Org Video Driver, version 25.2
[...]
[153241.236] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[153241.236] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[153241.241] (WW) Falling back to old probe method for modesetting
[153241.241] (II) modeset(0): using default device
[153241.241] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[153241.241] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[153241.241] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[153241.241] (==) modeset(0): RGB weight 888
[153241.241] (==) modeset(0): Default visual is TrueColor
[153241.241] (II) Loading sub module "glamoregl"
[153241.241] (II) LoadModule: "glamoregl"
[153241.241] (II) Loading /usr/pkg/lib/xorg/modules/libglamoregl.so
[153241.247] (II) Module glamoregl: vendor="X.Org Foundation"
[153241.247]    compiled for 1.21.1.8, module version = 1.0.1
[153241.247]    ABI class: X.Org ANSI C Emulation, version 0.4
[153241.288] (II) modeset(0): Refusing to try glamor on llvmpipe
[153241.288] (II) modeset(0): glamor initialization failed
[153241.288] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[153241.288] (II) modeset(0): Double-buffered shadow updates: off
[153241.309] (II) modeset(0): Output DP-1 has no monitor section
[153241.312] (II) modeset(0): Output DP-2 has no monitor section
[153241.320] (II) modeset(0): Output DP-3 has no monitor section
[...]
[153241.385] (II) Initializing extension GLX
[153241.385] (II) AIGLX: Screen 0 is not DRI2 capable
[153241.386] (II) IGLX: Loaded and initialized swrast
[153241.386] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[153241.386] (II) Initializing extension XFree86-VidModeExtension
[153241.386] (II) Initializing extension XFree86-DGA
[153241.386] (II) Initializing extension XFree86-DRI
[153241.386] (II) Initializing extension DRI2
[153241.386] (II) modeset(0): Damage tracking initialized
[153241.386] (II) modeset(0): Setting screen physical size to 1016 x 285

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index