NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mpv and estd and --vo=xv
On Thu, 15 Jul 2021, Rhialto wrote:
On my 10 years old laptop, which has Intel graphics, which were
accellerated until (I think) I installed NetBSD 9, I found that the best
way to run is with the intel (not modesetting) driver, and have
LIBGL_ALWAYS_SOFTWARE=1.
That is because the intel driver supports XVideo and tries GL but it
crashes, and the modesetting driver doesn't support either. For viewing
videos the XVideo is good enough.
When I disable LIBGL_ALWAYS_SOFTWARE, and use mpv --vo=gpu, the graphics
crash logs this to the console:
Ah...well, there's not much that can be done if one has buggy drivers and
has to resort to the software GL renderer. But, for your other card, you
can try moving the symlinks for the DRI modules out of the way if they
point to gallium_dri.so, which is the SW rasterizer:
$ ls -l /usr/X11R7/lib/modules/dri | fgrep gallium
...
lrwxr-xr-x 1 root wheel 14 Jul 14 08:33 nouveau_dri.so -> gallium_dri.so
lrwxr-xr-x 1 root wheel 16 Jul 14 08:33 nouveau_dri.so.0 -> gallium_dri.so.0
lrwxr-xr-x 1 root wheel 14 Jul 14 08:33 r300_dri.so -> gallium_dri.so
lrwxr-xr-x 1 root wheel 16 Jul 14 08:33 r300_dri.so.0 -> gallium_dri.so.0
lrwxr-xr-x 1 root wheel 14 Jul 14 08:33 r600_dri.so -> gallium_dri.so
lrwxr-xr-x 1 root wheel 16 Jul 14 08:33 r600_dri.so.0 -> gallium_dri.so.0
lrwxr-xr-x 1 root wheel 14 Jul 14 08:33 radeonsi_dri.so -> gallium_dri.so
lrwxr-xr-x 1 root wheel 16 Jul 14 08:33 radeonsi_dri.so.0 -> gallium_dri.so.0
...
The idea is to see if the same stuff brought in by MesaLib will do better:
$ ls -l /usr/pkg/lib/dri/
total 237956
-rwxr-xr-x 5 root wheel 14698592 Apr 8 06:55 i915_dri.so
-rwxr-xr-x 5 root wheel 14698592 Apr 8 06:55 i965_dri.so
-rw-r--r-- 1 root wheel 9137246 Jan 13 2021 i965_drv_video.a
-rwxr-xr-x 1 root wheel 1047 Jan 13 2021 i965_drv_video.la
-rwxr-xr-x 1 root wheel 8243720 Jan 13 2021 i965_drv_video.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 kms_swrast_dri.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 nouveau_dri.so
-rwxr-xr-x 3 root wheel 9945232 Apr 8 06:55 nouveau_drv_video.so
-rwxr-xr-x 5 root wheel 14698592 Apr 8 06:55 nouveau_vieux_dri.so
-rwxr-xr-x 5 root wheel 14698592 Apr 8 06:55 r200_dri.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 r300_dri.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 r600_dri.so
-rwxr-xr-x 3 root wheel 9945232 Apr 8 06:55 r600_drv_video.so
-rwxr-xr-x 5 root wheel 14698592 Apr 8 06:55 radeon_dri.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 radeonsi_dri.so
-rwxr-xr-x 3 root wheel 9945232 Apr 8 06:55 radeonsi_drv_video.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 swrast_dri.so
-rwxr-xr-x 7 root wheel 17440168 Apr 8 06:55 vmwgfx_dri.so
Let's hope these are not LLVMsoftpipe rasterizers too...
-RVP
Home |
Main Index |
Thread Index |
Old Index