[ports/graphics/mesa-dri] Segfault in i965_dri.so

<[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <20200421012334.3e725348@mscad14>
Greetings.

 After a recent OS & ports update, I found that running programs like mpv,
 mplayer and glxgears results in coredumps because of a segfault in
 /usr/local/lib/dri/i965_dri.so. The platform is based on a m3-7Y30 CPU,
 using i916kms driver.

 A bit of digging around showed that there is a bug that manifests at
 ./work/mesa-18.3.2/src/compiler/glsl/builtin_variables.cpp, line 918:
    add_uniform(type("gl_DepthRangeParameters"), "gl_DepthRange");
 Looks like type("gl_DepthRangeParameters") returns zero, because Mesa
 cannot find the name "gl_DepthRangeParameters" in its hash table.

 Commenting out the line and recompiling the port makes system usable
 again.

 Just FYI. I don't know how to fix this.

-- 
[SorAlx]  ridin' VN2000 Classic LT
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
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.