Page MenuHome

Radeon HD, MESA Linux Gallium r600, Light and Shadows Broken
Open, NormalPublic

Description

System Information
Operating system: Ubuntu 18,10
Graphics card: Radeon HD 7600m
Drivers: MESA Devel 19 (there are better, but some problems on blender? on the drivers? must be solved)
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

Blender Version
Broken:
blender-2.80-d96596de294e-linux-glibc224-x86_64

Worked:
blender-2.80-5e091de0dc6-linux-glibc224-x86_64 ( 30 october 2018)

Short description of error
Linux, Gallium r600, Mesa 19-devel, Light and Shadows Broken totally ..
ESM, VSM shadows not work,
Lights broken

see videos
https://youtu.be/GWEjU51GwVU
https://youtu.be/LtAmDBSXOLQ
https://youtu.be/ruQvL7zqvmQ

I tried an 30 October build with the same drivers and it works (I do not have any more recent ones)
(ESM shadows only thing that did not work with these drivers with this build)

screenshot with the working well October 30 build


Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Incomplete priority.Mon, Dec 31, 12:55 PM

Attach the output of --debug-gpu and also try if --debug-gpu-force-workarounds helps.

I tried ... no improvement with "debug - gpu - workaround" and does not produce any results in the console ...
probably these gpu workarounds are useful only for windows ..

with "debug - gpu" ... no improvement, but it produces these results in the console: that from ignorant they seem "clean" .. they do not produce errors in the console ..


I think they are visual errors, some algorithms that are not well interpreted .. maybe errors of mesa-gallium drivers that have different APIs to produce a certain result ....

in case I sent this bug report to the mesa drivers guys,
someone a few months ago there was dedicated and had greatly improved these drivers on this generation of video cards ...

now the problem with the shadows ESM and VSM has worsened ..
and the problem of lights emerged ..

https://bugzilla.freedesktop.org/show_bug.cgi?id=105371#c18

I think that only someone who has these GPU with linux can solve this problem ..
perhaps communicating with the boys of MESA-devel Gallium ...

@Germano Cavalcante (mano-wii) this is bread for your teeth

Sebastian Parborg (zeddb) raised the priority of this task from Incomplete to Normal.Tue, Jan 1, 1:58 AM

From the mesa ticket, this does sound like a driver issue. However, let's hope @Clément Foucault (fclem) can give us some more insight.

in case it may serve, this is the result of the apitrace https://apitrace.github.io/ as subjected here:
(note* are post made on 2018-08-13)
https://bugzilla.freedesktop.org/show_bug.cgi?id=105371#c10

the file can be analyzed with the apitrace-gui app
https://packages.debian.org/sid/apitrace-gui

noki paike (amonpaike) updated the task description. (Show Details)

I made a 6 minute video playing with blender and with the console "debug-gpu" in the foreground .. maybe it could be useful to investigate what happens

https://youtu.be/VxLYh-PFdlA

I think that only someone who has these GPU with linux can solve this problem ..
perhaps communicating with the boys of MESA-devel Gallium ...

@Germano Cavalcante (mano-wii) this is bread for your teeth

The videos are very descriptive and will definitely help!
However I use windows exclusively and I can't replicate the problem.
If Clément doesn't find out what is happening and the problem continues for a long time, I can switch to Linux to replicate and try to solve ;)

hahaha
Come on, @Germano Cavalcante (mano-wii) put a Mint 19.1 in a flashusb and try what happens without installing anything on the hard disk ...

do not forget this if you have a laptop with two gpu like mine .. otherwise blender starts with the intel gpu

DRI_MODE=1 ./blender
https://www.linuxmint.com/download.php

for mesa-devel drivers updated daily ..
(mint is compatible with ubuntu but more friendly interface for windows users)
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

there is also the ppa padoka .. do not like it .. but on the page there is a list of many features that can be enabled via the console with the gallium drivers ... (also work with oibaf and maybe even with the official mesa)
https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa