#1 2017-07-19 04:19:30

notPolPot
Member

Models don't render and screen tearing from hell

After compiling Tesseract from the latest SVN revision on Fedora 26, no in-game models render except the player's gun. Several models still cast shadows and I am able to collide with all models. The screen is also sometimes separated by thick black bars, with the upper portions either freezing for several seconds or flickering black for no apparent reason.
Here is an Imgur gallery: https://imgur.com/a/4xuvH
GPU: Nvidia GTX 760 Ti
Driver: 4.0.0 Nvidia 381.22
GLSL: 4.00 Nvidia via Cg compiler
Also, the prebuilt First Edition binaries suffer from none of these issues.

Offline

#2 2017-07-22 20:18:54

lxqueen
Member

Re: Models don't render and screen tearing from hell

This probably won't help a huge amount, but I had this issue recently as well - after a software update it seems to have strangely disappeared. (Also running 381.22 with a GTX 960, however on Solus instead of Fedora). This makes me think another piece of software temporarily screwed up outside of Tesseract, but I don't know for sure.

Offline

#3 2017-07-24 00:25:36

notPolPot
Member

Re: Models don't render and screen tearing from hell

lxqueen wrote:

This makes me think another piece of software temporarily screwed up outside of Tesseract, but I don't know for sure.

Yesterday I found a Tesseract build on a backup drive from October and it renders normally too, so you're probably right.

Offline

#4 2017-07-27 18:12:27

notPolPot
Member

Re: Models don't render and screen tearing from hell

I compiled it in a Ubuntu VM and, as expected, the Ubuntu build ran fine in Fedora 26. One difference I noticed was compiling in Fedora gave two warnings about crypto.cpp and Ubuntu did not. I don't know if this is related, but it's worth mentioning.

g++ -O3 -fomit-frame-pointer -ffast-math -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Igame -Ienet/include -I/usr/X11R6/include `sdl2-config --cflags`   -c -o shared/crypto.o shared/crypto.cpp
shared/crypto.cpp: In member function ‘bool gfield::invert(const gfield&)’:
shared/crypto.cpp:332:31: warning: array subscript is above array bounds [-Warray-bounds]
             digit tmp = digits[i];
                         ~~~~~~^
g++ -O3 -fomit-frame-pointer -ffast-math -Wall -fsigned-char -fno-exceptions -fno-rtti -DSTANDALONE -Istandalone/shared -Istandalone/engine -Istandalone/game -Ishared -Iengine -Igame -Ienet/include -c -o standalone/shared/crypto.o shared/crypto.cpp
shared/crypto.cpp: In member function ‘bool gfield::invert(const gfield&)’:
shared/crypto.cpp:332:31: warning: array subscript is above array bounds [-Warray-bounds]
             digit tmp = digits[i];
                         ~~~~~~^

Offline

#5 2017-07-28 16:45:11

lxqueen
Member

Re: Models don't render and screen tearing from hell

I remember seeing that issue too, but after my system upgrade it stopped showing... so I took a closer look at the software update and found that GCC and G++ had been downgraded from 7.1 to 6.4 - if I recall correctly, Fedora has switched to the 7 series now. I don't know if that's the issue for sure, I'm not too well versed in C or C++, but it's just what jumped out at me.

For reference I'll leave the full update log below, just in case. (Again, this is Solus.)

Operation #121: upgrade
Date: 2017-07-21 00:49

    * perl-io-socket-ssl is upgraded from 2.044-5-1-x86_64 to 2.044-6-1-x86_64.
    * sonnet is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kwidgetsaddons is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * kid3-core is upgraded from 3.5.0-2-1-x86_64 to 3.5.0-3-1-x86_64.
    * kid3-qt is upgraded from 3.5.0-2-1-x86_64 to 3.5.0-3-1-x86_64.
    * mesalib is upgraded from 17.1.1-56-1-x86_64 to 17.1.5-60-1-x86_64.
    * kwayland is upgraded from 5.35.0-2-1-x86_64 to 5.36.0-3-1-x86_64.
    * lightdm-gtk-greeter is upgraded from 2.0.2-27-1-x86_64 to 2.0.2-28-1-x86_64.
    * solus-artwork is upgraded from 16-31-1-x86_64 to 18-33-1-x86_64.
    * kcoreaddons is upgraded from 5.35.0-7-1-x86_64 to 5.36.0-8-1-x86_64.
    * kwindowsystem is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kcrash is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * geoclue is upgraded from 2.4.4-9-1-x86_64 to 2.4.7-10-1-x86_64.
    * libstdc++-32bit is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.
    * gfortran is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.
    * ki18n is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kconfig is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * kitemviews is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * karchive is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kguiaddons is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kauth is upgraded from 5.35.0-7-1-x86_64 to 5.36.0-8-1-x86_64.
    * kcodecs is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kconfigwidgets is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kiconthemes is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * openal-soft is upgraded from 1.17.2-4-1-x86_64 to 1.18.0-5-1-x86_64.
    * openal-soft-32bit is upgraded from 1.17.2-4-1-x86_64 to 1.18.0-5-1-x86_64.
    * xorg-server is upgraded from 1.18.4-34-1-x86_64 to 1.18.4-35-1-x86_64.
    * libpcap-32bit 1.3.0-2-1-x86_64 is installed.
    * attica is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * kcompletion is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kdbusaddons is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kservice is upgraded from 5.35.0-6-1-x86_64 to 5.36.0-7-1-x86_64.
    * ktextwidgets is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kglobalaccel is upgraded from 5.35.0-3-1-x86_64 to 5.36.0-4-1-x86_64.
    * kxmlgui is upgraded from 5.35.0-6-1-x86_64 to 5.36.0-7-1-x86_64.
    * kbookmarks is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * nvidia-340-glx-driver-modaliases is upgraded from 340.102-108-1-x86_64 to 340.102-111-1-x86_64.
    * ncurses-32bit 5.9-8-1-x86_64 is installed.
    * phonon is upgraded from 4.9.0-3-1-x86_64 to 4.9.1-4-1-x86_64.
    * knotifications is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * solid is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kjobwidgets is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kwallet is upgraded from 5.35.0-5-1-x86_64 to 5.36.0-6-1-x86_64.
    * kio is upgraded from 5.35.0-8-1-x86_64 to 5.36.0-9-1-x86_64.
    * knewstuff is upgraded from 5.35.0-6-1-x86_64 to 5.36.0-7-1-x86_64.
    * gpart 0.3-1-1-x86_64 is installed.
    * mpg123-32bit 1.25.2-9-1-x86_64 is installed.
    * wine-32bit 2.11-19-1-x86_64 is installed.
    * playonlinux is upgraded from 4.2.12-7-1-x86_64 to 4.2.12-8-1-x86_64.
    * g++ is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.
    * kfilemetadata is upgraded from 5.35.0-9-1-x86_64 to 5.36.0-10-1-x86_64.
    * linux-firmware is upgraded from 20170404-11-1-x86_64 to 20170511-14-1-x86_64.
    * imagemagick is upgraded from 7.0.6_0-25-1-x86_64 to 7.0.6_1-26-1-x86_64.
    * ypkg is upgraded from 23-91-1-x86_64 to 23-93-1-x86_64.
    * accountsservice is upgraded from 0.6.43-21-1-x86_64 to 0.6.43-23-1-x86_64.
    * linux-lts is upgraded from 4.9.32-31-1-x86_64 to 4.9.38-34-1-x86_64.
    * lsof 4.89-1-1-x86_64 is installed.
    * firefox is upgraded from 54.0.1-97-1-x86_64 to 54.0.1-98-1-x86_64.
    * frameworkintegration is upgraded from 5.35.0-2-1-x86_64 to 5.36.0-3-1-x86_64.
    * mesalib-devel is upgraded from 17.1.1-56-1-x86_64 to 17.1.5-60-1-x86_64.
    * git is upgraded from 2.13.2-52-1-x86_64 to 2.13.3-53-1-x86_64.
    * opus is upgraded from 1.2-6-1-x86_64 to 1.2.1-7-1-x86_64.
    * nvidia-glx-driver-32bit is upgraded from 381.22-153-1-x86_64 to 381.22-156-1-x86_64.
    * nvidia-glx-driver is upgraded from 381.22-153-1-x86_64 to 381.22-156-1-x86_64.
    * mutter is upgraded from 3.24.3-30-1-x86_64 to 3.24.4-31-1-x86_64.
    * knotifyconfig is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * kdenlive is upgraded from 17.04.2-18-1-x86_64 to 17.04.3-19-1-x86_64.
    * kpackage is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * kdeclarative is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * linux-headers is upgraded from 4.9.27-7-1-x86_64 to 4.9.36-8-1-x86_64.
    * budgie-desktop is upgraded from 10.3.1-131-1-x86_64 to 10.3.1-143-1-x86_64.
    * budgie-screenshot-applet is upgraded from 0.4.2-16-1-x86_64 to 0.4.2-17-1-x86_64.
    * numpy is upgraded from 1.13.0-10-1-x86_64 to 1.13.1-11-1-x86_64.
    * nvidia-304-glx-driver-modaliases is upgraded from 304.135-144-1-x86_64 to 304.135-147-1-x86_64.
    * kinit is upgraded from 5.35.0-6-1-x86_64 to 5.36.0-7-1-x86_64.
    * gvfs is upgraded from 1.32.1-22-1-x86_64 to 1.32.1-23-1-x86_64.
    * gvfs-goa is upgraded from 1.32.1-22-1-x86_64 to 1.32.1-23-1-x86_64.
    * breeze-icons is upgraded from 5.35.0-4-1-x86_64 to 5.36.0-5-1-x86_64.
    * mesalib-32bit is upgraded from 17.1.1-56-1-x86_64 to 17.1.5-60-1-x86_64.
    * libgcc-32bit is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.
    * gcc is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.
    * fpc is upgraded from 3.0.2-4-1-x86_64 to 3.0.2-5-1-x86_64.
    * librsvg is upgraded from 2.40.16-11-1-x86_64 to 2.40.17-12-1-x86_64.
    * librsvg-32bit is upgraded from 2.40.16-11-1-x86_64 to 2.40.17-12-1-x86_64.
    * budgie-desktop-branding is upgraded from 8-23-1-x86_64 to 16-32-1-x86_64.
    * gparted is upgraded from 0.28.1-14-1-x86_64 to 0.28.1-15-1-x86_64.
    * openblas is upgraded from 0.2.19-8-1-x86_64 to 0.2.19-9-1-x86_64.
    * kcmutils is upgraded from 5.35.0-3-1-x86_64 to 5.36.0-4-1-x86_64.
    * nvidia-glx-driver-modaliases is upgraded from 381.22-153-1-x86_64 to 381.22-156-1-x86_64.
    * php is upgraded from 7.1.6-42-1-x86_64 to 7.1.7-44-1-x86_64.
    * mesalib-demos is upgraded from 17.1.1-56-1-x86_64 to 17.1.5-60-1-x86_64.
    * libgomp-32bit is upgraded from 7.1.0-28-1-x86_64 to 6.4.0-29-1-x86_64.

Offline

Board footer