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

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Sun 12 Oct 2025 at 18:27:40 +0100, Robert Swindells wrote:
> Rhialto <[email protected]> wrote:
> > On Sun 12 Oct 2025 at 15:38:29 +0100, Robert Swindells wrote:
> >> I am using a Radeon HD-5450 with -current, works fine including playing
> >> videos.
> >
> > And how about viewing https://webglsamples.org/aquarium/aquarium.html
> > in Firefox (I use 142.0.1nb1 but I first saw it with one from a year
> > ago, 123 or so I think it was). In particular *switching away* from the
> > tab (or switching to a different workspace in ctwm) seems to trigger it
> > for me. It takes 20-30 seconds maybe before it happens.
> 
> Works fine for me in Firefox 142.0.3.
> 
> > I am starting to wonder about my setup with 10.1. Maybe it doesn't
> > actually use accelleration, because this page
> > https://webglreport.com/?v=2 reports
> 
> For me it reads:
> 
> Platform: 	Linux x86_64
> Browser User Agent: 	Mozilla/5.0 (X11; NetBSD x86_64; rv:143.0) Gecko/20100101 Firefox/143.0
> Context Name: 	webgl2
> GL Version: 	WebGL 2.0
> Shading Language Version: 	WebGL GLSL ES 3.00
> Vendor: 	Mozilla
> Renderer: 	Radeon HD 3200 Graphics, or similar

Interesting... then I wonder what other thing is different for me that
apparently is "required" to get the GPU lockups...

> Unmasked Vendor: 	X.Org
> Unmasked Renderer: 	Radeon HD 3200 Graphics, or similar
> Antialiasing: 	Available
> ANGLE: 	No
> Major Performance Caveat: 	No

> Do you have a render node?

I would assume that this is /dev/dri/renderD128, right?

> What is in the /dev/dri directory?
> 
> It should be:
> card0      card2      renderD128 renderD130
> card1      card3      renderD129 renderD131

On the 10.1 I have currently

$ l -R /dev/dri
total 45
drwxr-xr-x   3 root  wheel       512 May 19  2024 ./
drwxr-xr-x  10 root  wheel     44032 Sep 11 18:19 ../
crw-rw-rw-   1 root  wheel  180,   0 Dec  6  2015 card0
drwxr-xr-x   2 root  wheel       512 Apr 29  2024 not/
crw-rw-rw-   1 root  wheel  180, 128 Apr  8  2024 renderD128

/dev/dri/not:
total 2
drwxr-xr-x  2 root  wheel       512 Apr 29  2024 ./
drwxr-xr-x  3 root  wheel       512 May 19  2024 ../
crw-rw----  1 root  wheel  180,   1 Aug  3  2018 card1
crw-rw----  1 root  wheel  180,   2 Aug  3  2018 card2
crw-rw----  1 root  wheel  180,   3 Aug  3  2018 card3
crw-rw----  1 root  wheel  180, 129 Apr  8  2024 renderD129
crw-rw----  1 root  wheel  180, 130 Apr  8  2024 renderD130
crw-rw----  1 root  wheel  180, 131 Apr  8  2024 renderD131

and as mentioned with this, Firefox claims there is no "render node".

On the test machine there is (I moved stuff around today and in the end
I wanted the "render node" disabled)

$ l -R /dev/dri/
total 41
drwxr-xr-x   3 root  wheel     512 Oct 12 18:20 ./
drwxr-xr-x  10 root  wheel   39936 Oct 12 18:55 ../
crw-rw-rw-   1 root  wheel  180, 0 Dec  6  2015 card0
crw-rw-rw-   1 root  wheel  180, 1 Aug  3  2018 card1
crw-rw-rw-   1 root  wheel  180, 2 Aug  3  2018 card2
crw-rw-rw-   1 root  wheel  180, 3 Aug  3  2018 card3
drwxr-xr-x   2 root  wheel     512 Oct 12 18:20 not/

/dev/dri/not:
total 2
drwxr-xr-x  2 root  wheel       512 Oct 12 18:20 ./
drwxr-xr-x  3 root  wheel       512 Oct 12 18:20 ../
crw-rw-rw-  1 root  wheel  180, 128 May 11  2024 renderD128
crw-rw-rw-  1 root  wheel  180, 129 May 19  2024 renderD129

With the files dri/not/* moved to dri/, I get "Radeon HD 3200 Graphics,
or similar" in webglreport and unfortunately the "   605.220608]
radeon0: warn: GPU lockup (current fence id 0x0000000000009932 last
fence id 0x0000000000009940 on ring 3)".

-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+9MFAmjr/jgACgkQmYnGRWHD
+9P/pwf+J9JFyoISUSJ78202CG+dWSnmFSldA9rQTuRmejDH4BGpeNyS3TU7KeDj
J1oBQamxCUSIZS0AVqnthY0WjVhNIvbylqTnc7Abivhwnb2IYc2LXXawIfYx8KEO
4YO/UoXbvGuJ68PQgosUUhQQ/FZXXxotQF0iB4HF0EL/Q2H9E+P0FnONHJd9LBOt
gCNujmQppevJlg4G2jjYwvSwEAzVl+fD3Yt0/buFZlR12i0Uv13ymNyhBEaK6uH3
Fzoy8As7cz7qc2qYPwcGFL/UbC0O3/5XQUterLqUVpXJWch9nX6W6hf5F+Iw9Zyy
0JW9a+oyAK9DJBN+Ulfm62H5uJ8Meg==
=I6KM
-----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.