About Store Forum Documentation Contact



Post Reply 
Linux graphics problem
Author Message
krokodilcapa Offline
Member

Post: #1
Linux graphics problem
Hi!

I experience graphics problems on ubuntu with nvidia drivers. In the editor viewport everything is fine, but if I build any of the tutorials, or my project there are black pixels on the most part of the image. I tried on ubuntu 18.04, 19.04, nvidia-390/nvidia-430 and also with the latest driver from their site, all results in the same.

I can upload pictures a bit later when I get home.
09-09-2019 09:20 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Linux graphics problem
You're welcome to upload the pics, but if cleaning/rebuilding the engine/project won't help, then this is most likely a graphics driver bug.
09-09-2019 11:12 AM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #3
RE: Linux graphics problem
The strange is, as I said, in the editor viewport there is no issue, only in my own build.
09-09-2019 12:47 PM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #4
RE: Linux graphics problem
Here is the picture, as I promised. Sorry for the bad camera quality, but print screen was far worse.[Image: vgRz2q.th.jpg]
09-09-2019 04:41 PM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #5
RE: Linux graphics problem
It seems Renderer.combine = true; solves the problem.
09-09-2019 09:48 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Linux graphics problem
https://github.com/Esenthel/EsenthelEngi...T.cpp#L144
Can you try replacing this:
Code:
void ImageRT::discard()
{
with this
Code:
void ImageRT::discard()
{
  return;
09-10-2019 05:40 AM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #7
RE: Linux graphics problem
Sure, thanks, I'll try it.
09-10-2019 09:07 AM
Find all posts by this user Quote this message in a reply
krokodilcapa Offline
Member

Post: #8
RE: Linux graphics problem
Hi!

I tried it, and it solved the issue. Thanks! smile
09-10-2019 09:29 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: Linux graphics problem
Ok, perhaps I should disable this for Linux if the drivers don't support it well. Thanks for letting me know
09-11-2019 03:12 PM
Find all posts by this user Quote this message in a reply
Post Reply