Package Details: tetzle 2.0.3-3

Git Clone URL: https://aur.archlinux.org/tetzle.git (read-only)
Package Base: tetzle
Description: A tetromino jigsaw puzzle game
Upstream URL: http://gottcode.org/tetzle/
Licenses: GPL3
Submitter: gottcode
Maintainer: gottcode
Last Packager: gottcode
Votes: 8
Popularity: 0.000303
First Submitted: 2008-06-28 15:49
Last Updated: 2015-06-09 10:01

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

haawda commented on 2014-10-05 16:22

I used the propiatary nvidia driver, but obviously an inadequate version for my card. Arch Linux changed the packaging regarding this, and switching to the nvidia-340xx toolchain solved my issue. Sorry for the noise.

gottcode commented on 2014-10-05 15:34

@haawda Are you using the binary nvidia driver, or nouveau? It doesn't crash for me with either, so I'm not sure why it is for you.

haawda commented on 2014-10-05 14:29

Segmentation fault, maybe due to som nvidia updates.

haawda commented on 2013-10-19 23:18

Today I got an update with net qt5 packages. This made tetzle at least build, but not work as expected. Moving pieces around does not work.

With the new PKGBUILD it is working again, thanks.

gottcode commented on 2013-10-18 21:21

It appears that latest version of Qt 5 no longer includes the OpenGL header file and a proper fix to Tetzle will take some time, so for now I have switched Tetzle to only building with Qt 4. Let me know if that fixes your compile problems!

haawda commented on 2013-10-18 20:18

Hello,

I have problems building this:

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DVERSIONSTR=\"2.0.3\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/include/qt -I/usr/include/qt/QtOpenGL -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -o board.o src/board.cpp
In file included from src/board.h:23:0,
from src/board.cpp:20:
src/graphics_layer.h:78:61: error: 'GL_QUADS' was not declared in this scope
virtual void draw(const VertexArray& region, GLenum mode = GL_QUADS)=0;
^
src/graphics_layer.h:115:60: error: 'GL_QUADS' was not declared in this scope
virtual void draw(const VertexArray& array, GLenum mode = GL_QUADS);
^
src/graphics_layer.h:152:60: error: 'GL_QUADS' was not declared in this scope
virtual void draw(const VertexArray& array, GLenum mode = GL_QUADS);
^
src/graphics_layer.h:168:60: error: 'GL_QUADS' was not declared in this scope
virtual void draw(const VertexArray& array, GLenum mode = GL_QUADS);
^
src/graphics_layer.h:178:60: error: 'GL_QUADS' was not declared in this scope
virtual void draw(const VertexArray& array, GLenum mode = GL_QUADS);
^
In file included from src/board.cpp:27:0:
src/piece.h: In member function 'void Piece::drawTiles() const':
src/piece.h:129:35: error: call to 'virtual void GraphicsLayer::draw(const VertexArray&, GLenum)' uses the default argument for parameter 2, which is not yet defined
graphics_layer->draw(m_tile_array);
^
src/piece.h: In member function 'void Piece::drawShadow() const':
src/piece.h:134:37: error: call to 'virtual void GraphicsLayer::draw(const VertexArray&, GLenum)' uses the default argument for parameter 2, which is not yet defined
graphics_layer->draw(m_shadow_array);
^
src/board.cpp: In member function 'void Board::drawArray(const VertexArray&, const QColor&, const QColor&)':
src/board.cpp:1091:28: error: call to 'virtual void GraphicsLayer::draw(const VertexArray&, GLenum)' uses the default argument for parameter 2, which is not yet defined
graphics_layer->draw(array);
^
make: *** [board.o] Error 1

gottcode commented on 2013-07-09 19:17

I'm glad I was able to help!

haawda commented on 2013-07-09 18:16

I pasted the output here: http://paste.pound-python.org/show/34795/

This seems to show, that I have to recompile some qt5 parts, because I have libxcb-git from AUR installed, so I only have the shared libs in a higher so-name.

Thanks for the valuable hint. I really appreciate your help.

gottcode commented on 2013-07-09 09:46

What results do you get if you run:

QT_DEBUG_PLUGINS=1 tetzle

Have you tried recompiling Tetzle? The only marginally related thing I can think of is a known bug in Qt 5.1 where if the program was compiled against Qt 5.0 and now is running against Qt 5.1 it has issues with loading libraries (which the xcb backend is). A simple recompile so that program is compiled against Qt 5.1 as well is a workaround (this is the Qt 5.1 bug: https://bugreports.qt-project.org/browse/QTBUG-32284).

haawda commented on 2013-07-08 20:01

I have

$ pacman -Qis qt
local/poppler-qt 0.22.5-1
Poppler Qt bindings
local/qscintilla 2.7.2-2
A port to Qt4 of Neil Hodgson's Scintilla C++ editor class
local/qt4 4.8.5-1
A cross-platform application and UI framework
local/qt5-base 5.1.0-1 (qt qt5)
A cross-platform application and UI framework
local/qt5-declarative 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (QtQml, QtQuick)
local/qt5-jsbackend 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (QtV8)
local/qt5-sensors 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (QtSensors)
local/qt5-tools 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (Development
Tools, QtHelp)
local/qt5-translations 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (Translations)
local/qt5-webkit 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (QtWebKit)
local/qt5-xmlpatterns 5.1.0-1 (qt qt5)
A cross-platform application and UI framework (QtXmlPatterns)
local/qtchooser 31-1
Wrap the other Qt tools by searching for different instances of
Qt on the system
local/qtikz-svn 213-1
A small application helping you to create TikZ diagrams (from
the LaTeX pgf package)
local/qtwebkit 2.3.1-2
An open source web browser engine (Qt port)

gottcode commented on 2013-07-08 10:16

@StefanHusmann Huh. I've never seen that before, and it works for me with a fresh compile of both the Qt4 and Qt5 versions. What version of Qt are you using? Have you tried a fresh build?

haawda commented on 2013-07-07 21:56

I get

$ tetzle
Failed to load platform plugin "xcb". Available platforms are:
linuxfb
minimal
offscreen
xcb

together with a segfault. Any clues?

gottcode commented on 2013-03-01 14:17

@mrbit You're welcome.

mrbit commented on 2013-03-01 13:57

ok, thanks gottcode

gottcode commented on 2013-03-01 13:53

@mrbit qt5-base is no longer in testing, so that won't be necessary.

mrbit commented on 2013-03-01 10:11

please chahge pkgbuild ,qt5-base its package-testing,
if qt5-base installed
endif qt

Thanks

haawda commented on 2012-11-10 02:06

I tested your suggestion for a whil now and --graphics-layer=15 seems to be a good workaround.

gottcode commented on 2012-11-03 00:25

I see. Well, nouveau is not a complete driver yet, and Tetzle might be triggering codepaths that are not well tested. You could try having Tetzle use older OpenGL by adding the command line argument --graphics-layer=15 (or 13, or 11).

haawda commented on 2012-11-03 00:04

I get quite often segfaults. They seem to have to do with the nouveau driver. dmesg says

[ 1874.523103] tetzle[21540]: segfault at 5d ip 00007fcd16f58a1b sp 00007fffd5b6d220 error 4 in nouveau_dri.so[7fcd16cf0000+fe5000]
[ 3355.232923] tetzle[22111]: segfault at 5d ip 00007f20f82e0a1b sp 00007fff0c19a850 error 4 in nouveau_dri.so[7f20f8078000+fe5000]
[ 5429.052537] tetzle[1634]: segfault at 5d ip 00007f6d5e7a4a1b sp 00007fffbf3e3100 error 4 in nouveau_dri.so[7f6d5e53c000+fe5000]

gottcode commented on 2012-06-18 11:27

Sorry about that, I created the new PKGBUILD along with everything else during the last release but apparently forgot to upload it.

mrbit commented on 2012-06-18 11:21

plaeae update...thanks