mesa icon indicating copy to clipboard operation
mesa copied to clipboard

ac100: uvcvideo devices don't work with grate-driver

Open emulti opened this issue 4 years ago • 3 comments

After installing the grate-driver libdrm, opentegra, mesa and libvdpau I noticed that the uvcvideo webcam device on AC100 no longer works. This was functional with stock mesa/libdrm/modesetting on 5.7.8.

tested with xawtv and guvcview, see attached logs. guvcview gives a little more information in the error message.

Also, the uvcvideo driver loads with some 'entity was not initialized' errors on the linux-grate kernel. On upstream 5.7.8 it loads OK.

Please see attached log. uvcvideo.txt

emulti avatar Jul 21 '20 12:07 emulti

This doesn't sound related to mesa at all, as that is a user space driver.

kusma avatar Jul 21 '20 13:07 kusma

uvcvideo is a kernel module- the error message refers to Mesa & grate driver. Apologies if I have misplaced the report.

emulti avatar Jul 21 '20 13:07 emulti

@kusma The log contains:

Mesa 19.3.1 implementation error: Failed to link fixed function fragment shader: error: Too many fragment shader default uniform block components

../src/gallium/drivers/grate/fp/tgsi.c:161:emit_tgsi_instr: Assertion `!"unsupported TGSI-opcode!"' failed.

@emulti Please add LIBGL_ALWAYS_SOFTWARE=1 to environment variables.

digetx avatar Jul 21 '20 13:07 digetx