Hello.
On my laptop (Thinkpad T440s with KXStudio 14.04) the programs setBfree and Shuriken are just black rectangles. They seem to work for the rest, but they are impossible to use as everything is invisible.
What may be the problem, and why those two? Are they using some particular libraries that I may be missing?
Thanks!
Window rendering problem on setBfree and Shuriken
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 226
- Joined: Wed May 07, 2014 9:50 pm
- Location: UK
- Has thanked: 1 time
- Been thanked: 1 time
Re: Window rendering problem on setBfree and Shuriken
So, I reckon the problem may have to do with OpenGL.
Is there any non-3D version of the UI available somewhere?
From the output below I guessed I had to install all the libtxc-dxtn, but the output stayed the same...any ideas?
Is there any non-3D version of the UI available somewhere?
From the output below I guessed I had to install all the libtxc-dxtn, but the output stayed the same...any ideas?
Code: Select all
paul@ThinkPad:~$ strace -e open setBfreeUI
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libftgl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libjack.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libglapi.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXext.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXdamage.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb-present.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxcb-sync.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libxshmfence.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libdrm.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libGLU.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libdbus-1.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/x86_64-linux-gnu/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libpng12.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/dev/shm/jack-shm-registry", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 4
open("/dev/shm/jack-1001-1", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 4
open("/dev/shm/jack-1001-0", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 4
open("/dev/shm/jack-1001-6", O_RDWR|O_NOFOLLOW|O_CLOEXEC) = 4
open("/dev/shm/sem.jack_sem.1001_default_setBfree DSP Tonewheel Organ", O_RDWR|O_NOFOLLOW) = 4
open("/home/paul/.Xauthority", O_RDONLY) = 6
open("/dev/dri/card0", O_RDWR|O_CLOEXEC) = 6
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/libudev.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/libcgmanager.so.0", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/libnih.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/libnih-dbus.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/etc/udev/udev.conf", O_RDONLY|O_CLOEXEC) = 7
open("/sys/devices/pci0000:00/0000:00:02.0/uevent", O_RDONLY|O_CLOEXEC) = 7
open("/run/udev/data/+pci:0000:00:02.0", O_RDONLY|O_CLOEXEC) = 7
open("/usr/lib/x86_64-linux-gnu/dri/tls/i965_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/dri/i965_dri.so", O_RDONLY|O_CLOEXEC) = 7
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
open("/usr/lib/x86_64-linux-gnu/libdrm_intel.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2", O_RDONLY|O_CLOEXEC) = 7
open("/usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/usr/lib/x86_64-linux-gnu/libpciaccess.so.0", O_RDONLY|O_CLOEXEC) = 7
open("/etc/drirc", O_RDONLY) = 7
open("/home/paul/.drirc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
open("/lib/x86_64-linux-gnu/tls/x86_64/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so", O_RDONLY|O_CLOEXEC) = 7
open("/etc/drirc", O_RDONLY) = 7
open("/home/paul/.drirc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf", O_RDONLY) = 7
open("/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf", O_RDONLY) = 7
open("/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf", O_RDONLY) = 7
Keep on rocking in the free world!
-
- Established Member
- Posts: 226
- Joined: Wed May 07, 2014 9:50 pm
- Location: UK
- Has thanked: 1 time
- Been thanked: 1 time
Re: Window rendering problem on setBfree and Shuriken
I love you! It's finally working!!falkTX wrote:There's an environment variable to run mesa GL stuff in software mode, that might help.Code: Select all
env LIBGL_ALWAYS_SOFTWARE=1 setBfreeUI
What exactly is going on, though?
Keep on rocking in the free world!
-
- Established Member
- Posts: 226
- Joined: Wed May 07, 2014 9:50 pm
- Location: UK
- Has thanked: 1 time
- Been thanked: 1 time
Re: Window rendering problem on setBfree and Shuriken
Yeah, exactly, I do not have a dedicated GPU. Is there a way to tell my system to do so always?falkTX wrote:Your video card or drivers don't support the features setBfree needs.paul wrote:What exactly is going on, though?
Using that variable makes the openGL stuff run in the CPU instead of the video card. (which is often slower)
Keep on rocking in the free world!
-
- Established Member
- Posts: 226
- Joined: Wed May 07, 2014 9:50 pm
- Location: UK
- Has thanked: 1 time
- Been thanked: 1 time
Re: Window rendering problem on setBfree and Shuriken
Ok thank you so much!falkTX wrote:Yes, add this line to the end of your ~/.bashrc file:paul wrote:Yeah, exactly, I do not have a dedicated GPU. Is there a way to tell my system to do so always?Next time you login all OpenGL calls will be done in software.Code: Select all
export LIBGL_ALWAYS_SOFTWARE=1
Keep on rocking in the free world!