Skip to content

Instantly share code, notes, and snippets.

View elect86's full-sized avatar
🏠
Working from home

Giuseppe Barbieri elect86

🏠
Working from home
View GitHub Profile
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false
# Enabling automatic login
# AutomaticLoginEnable = true
elect@elect-desktop:~/IdeaProjects/gli$ gradle build
:compileKotlin^Celect@elect-desktop:~/IdeaProjects/gli$ ./gradlew build --info --debug
13:48:49.874 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /home/elect/.gradle/native
13:48:50.153 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build 642741e5-88d3-4743-8727-2d8ad6560681.1 in daemon client {pid=19556}
13:48:50.160 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface enp4s0
13:48:50.160 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
13:48:50.160 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a multicast interface? true
13:48:50.162 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /2a02:8108:4740:62a9:5021:35a0:ffb9:8bc1%enp4s0
13:48:50.162 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Addin
#version 330
#extension GL_ARB_draw_buffers : require
#include semantic.glsl
#include shade-blinnGaussSp.glsl
uniform sampler2D opaqueDepthTex;
layout (location = SUM_COLOR) out vec4 sumColor;
layout (location = SUM_WEIGHT) out float sumWeight;
elect@elect-desktop:~/Downloads/ogldev-source/tutorial02$ make
"make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/elect/Downloads/ogldev-source/tutorial02'
"make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux/tutorial02
make[2]: Entering directory '/home/elect/Downloads/ogldev-source/tutorial02'
mkdir -p build/Debug/GNU-Linux
rm -f "build/Debug/GNU-Linux/tutorial02.o.d"
g++ `pkg-config --cflags ImageMagick++ gl assimp glew freetype2 fontconfig` -c -g -I../Include -MMD -MP -MF "build/Debug/GNU-Linux/tutorial02.o.d" -o build/Debug/GNU-Linux/tutorial02.o tutorial02.cpp
Package glew was not found in the pkg-config search path.
Perhaps you should add the directory containing `glew.pc'
DKMS make.log for nvidia-375.39 for kernel 4.10.0-19-generic (x86_64)
gio 20 apr 2017, 20.34.25, CEST
make "CC=cc" KBUILD_VERBOSE= -C /lib/modules/4.10.0-19-generic/build M=/var/lib/dkms/nvidia/375.39/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.10.0-19-generic/build NV_KERNEL_OUTPUT=/lib/modules/4.10.0-19-generic/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-19-generic'
SYMLINK /var/lib/dkms/nvidia/375.39/build/nvidia/nv-kernel.o
SYMLINK /var/lib/dkms/nvidia/375.39/build/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: follow_pfn
CONFTEST: remap_pfn_range
CONFTEST: vmap
++++ Test Singleton.ctor()
++++ Test Singleton.lock()
SLOCK [T SingletonServerSocket1-localhost/127.0.0.1:59999 @ 1491117002114 ms III - Start
SLOCK [T main @ 1491117002114 ms +++ localhost/127.0.0.1:59999 - Locked within 1 ms, 1 attempts
++++ TestCase.setUp: com.jogamp.opengl.test.junit.jogl.glsl.TestGLSLShaderState01NEWT - test00NoShaderState_Validation
XineramaGetLibHandle: using lib libXinerama.so.1 -> 0x7fac946b7a30
XineramaGetQueryFunc: trying func 0x7fac946b7a30 -> XineramaIsActive
XineramaGetQueryFunc: got func 0x7fac27dfe180
XineramaIsEnabled: has Xinerama Ext: ext 1, query-func 0x7fac27dfe180
X11GLXContext [Version 4.5 (Core profile, arb, debug, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.5.0 NVIDIA 367.57 [GL 4.5.0, vendor 367.57.0 (NVIDIA 367.57)], options 0x7c25, this 0x5fdef03a, handle 0x7fac946d9700, isShared false, jogamp.opengl.gl4.GL4bcImpl@3b22cdd0,
"C:\Program Files\Java\jdk1.8.0_112\bin\java" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 171.2272.14\lib\idea_rt.jar=64446:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 171.2272.14\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_112\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_112\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_112
Computer Information:
Manufacturer: Acer
Model: Predator G3-605
Form Factor: Desktop
Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
CPU Family: 0x6
@elect86
elect86 / fs
Last active August 4, 2016 07:40
#version 330
#include semantic.glsl
// Outgoing final color.
layout (location = 1) out int outputColor;
in Block
{
flat int id;
if (size.x != width || size.y != height) {
size.set(width, height);
if (textureName.get(0) != 0) {
gl4.glDeleteTextures(Texture.MAX, textureName);
}
textureName.position(Texture.COLOR);
gl4.glCreateTextures(GL_TEXTURE_2D_MULTISAMPLE, 1, textureName);