Re: 11-BETA, WebGL, modesetting and Radeon HD-5450: breaks X

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Mon 13 Oct 2025 at 08:13:50 +1300, Lloyd Parkes wrote:
> On 13/10/2025 06:27, Robert Swindells wrote:
> > What is in the /dev/dri directory?
> > 
> > It should be:
> > card0      card2      renderD128 renderD130
> > card1      card3      renderD129 renderD131
> 
> The card[0-3] device nodes need to be writable by the logged in user.

Yes I have that in an unsafe manner... 0666...

> I have an ongoing issue where those device nodes keep getting set to 0640
> instead of 0660.
> 
> If you run "glxinfo -B" you will get a short(er) description of your current
> OpenGL configuration with a chance to see error messages at the top of the
> output.

On 10.1:

$ glxinfo -B
name of display: :0
Xlib: sequence lost (0x10018 > 0x1a) in reply type 0x0!
Xlib: sequence lost (0x1001d > 0x1f) in reply type 0x0!
Xlib: sequence lost (0x10022 > 0x24) in reply type 0x0!
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD CEDAR (DRM 2.50.0 / 10.1, LLVM 13.0.0) (0x68f9)
    Version: 19.1.17
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1023 MB, largest block: 1023 MB
    VBO free aux. memory - total: 1021 MB, largest block: 1021 MB
    Texture free memory - total: 1023 MB, largest block: 1023 MB
    Texture free aux. memory - total: 1021 MB, largest block: 1021 MB
    Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB
    Renderbuffer free aux. memory - total: 1021 MB, largest block: 1021 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 2045 MB
    Currently available dedicated video memory: 1023 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CEDAR (DRM 2.50.0 / 10.1, LLVM 13.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.1.17
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 19.1.17
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.1.17
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

On test box (now installed again with 11-BETA):

$ glxinfo -B
name of display: :10
display: :10  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD CEDAR (DRM 2.50.0 / 11.0_BETA, LLVM 13.0.0) (0x68f9)
    Version: 21.3.7
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1023 MB, largest block: 1023 MB
    VBO free aux. memory - total: 1021 MB, largest block: 1021 MB
    Texture free memory - total: 1023 MB, largest block: 1023 MB
    Texture free aux. memory - total: 1021 MB, largest block: 1021 MB
    Renderbuffer free memory - total: 1023 MB, largest block: 1023 MB
    Renderbuffer free aux. memory - total: 1021 MB, largest block: 1021 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 2045 MB
    Currently available dedicated video memory: 1023 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CEDAR (DRM 2.50.0 / 11.0_BETA, LLVM 13.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.3.7
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.3.7
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.3.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

which is nearly the same. Mesa is newer, and "Xlib: sequence lost (0x10018 >
0x1a) in reply type 0x0!" is missing.

But general openGL things seem to work on 10.1 even if Firefox complains
about that "render node".

> Ng? mihi,
> Lloyd
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmjsALEACgkQmYnGRWHD
+9MPfwf/a0UkPXOv9ZvZ4f6OD0Ox8WaOQl0Gi+X0LuD4zybJ4LcvF6m2fUzj/Fll
38NGQ+tTbiQBRQxCjkhH7R6oL84JZt1z/3bGXQBEsVaDu2Nl7DY74gqe6pee8jbf
TsznBbxQP+jI7MxXKnoD1wKNGb9hHCy0928Q9UWgLCu5YzAEUAJhCs33bX6XUl1v
NWysrBuusxsyqlNklU9DwYeuBFDsltTgGrH3lYxtP+QJL/mYDzsdPltVm3dHwlN3
w/GcHWAhBt6y2mVDk337g30Onzz68BCOoDbSbY4aGBHKgTiC3SJqRGcFwg8XwUNo
1E6eAlVTK13d7gEnlF5V+TmiZ7mkRQ==
=uPfi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.