SliTaz SliTaz Forum

You are not logged in.

#26 2020-04-24 22:43:24

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Help Building Supertux 0.61

Ok, those warnings aren't the cause of my problem.  They're telling me I don't have GL 3.3 or 2.0 so falling back to SDL2 which is whats used for GL1.   This is expected behavior with my old video that only supports opengl 1.3 and glx 1.4 (and exact same output from supertux under ubuntu 18 on same machine - although it appears to use older SDL version 2.0.8 than slitaz 2.0.12).

So.  I'm stuck again.  There is no configuration for sdl2 that I can find as it just libraries.   I'm back to thinking I may have installed something I shouldn't have...

Maybe it needs newer mesa?  I see glxinfo reports Mesa 9.2.5 under Slitaz, whereas under ubuntu its telling me 19.2.8.   I dunno what I'm doing, just comparing to find why it works right there but no here now that I've finally got it built here... [attachment=48811,2968]

and glxgears runs 60fps no problem...

Offline

#27 2020-04-24 23:48:28

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Help Building Supertux 0.61

As I continue to investigate and compare, I'm now certain its something video driver related I have wrong on Slitaz.

Offline

#28 2020-04-25 02:12:53

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

# glxinfo | egrep 'render|version'

Ref:

glxgears

http://forum.slitaz.org/topic/slitaz-next-i-give-up/page/2#post-45421

more details ..

http://forum.slitaz.org/topic/slitaz-next-i-give-up

Offline

#29 2020-04-25 02:14:08

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

slitaz-cooking:

gcc-4.6.3 glibc-2.14.1 xorg-server-1.12.4 and mesa-9.2.5

Don't expect too much!!

# tazpkg -l | egrep 'gcc|^glib|gtk|server|mesa'
gcc-lib-base                       4.6.3             development
glib                               2.43.3            x-window
glibc-base                         2.14.1            base-system
glibmm                             2.40.0            x-window
glib-networking                    2.43.1            x-window
gtk+                               2.24.24           x-window
gtk-clearlooks                     2.20.2            x-window
gtkmm                              2.24.5            x-window
libfm-gtk                          1.2.5             system-tools
libglu-mesa                        9.0.0             x-window
mesa                               9.2.5             x-window
mesa-demos                         8.0.1             development
mesa-dri                           9.2.5             x-window
mesa-dri-intel                     9.2.5             x-window
xorg-server                        1.12.4            x-window
yad-gtk2                           0.28.1            utilities

Try:

Supertux was recooked. Run "tazpkg recharge" to update package database then install supertux

Offline

#30 2020-04-25 16:08:46

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Help Building Supertux 0.61

$ glxinfo | egrep 'render|version'

direct rendering: Yes

server glx version string: 1.4

client glx version string: 1.4

GLX version: 1.4

OpenGL renderer string: Mesa DRI Intel(R) 865G x86/MMX/SSE2

OpenGL version string: 1.3 Mesa 9.2.5

$ vblank_mode=0 glxgears

ATTENTION: default value of option vblank_mode overridden by environment.

3078 frames in 5.0 seconds = 615.518 FPS

3133 frames in 5.0 seconds = 626.416 FPS

3135 frames in 5.0 seconds = 626.850 FPS

3136 frames in 5.0 seconds = 627.033 FPS

3134 frames in 5.0 seconds = 626.600 FPS

3139 frames in 5.0 seconds = 627.703 FPS

3136 frames in 5.0 seconds = 627.187 FPS

$ grep -A5 '"intel"' /var/log/Xorg.0.log

[    20.131] (II) LoadModule: "intel"

[    20.142] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so

[    20.203] (II) Module intel: vendor="X.Org Foundation"

[    20.203]     compiled for 1.12.4, module version = 2.99.917

[    20.203]     Module class: X.Org Video Driver

[    20.203]     ABI class: X.Org Video Driver, version 12.1

$ egrep 'backend|i915,' /var/log/Xorg.0.log

[    20.231] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730

[    20.274] (II) intel(0): SNA initialized with Almador (gen2) backend

It seems in that thread you linked you're recommending install of firmware-i915, however doesn't seem there is such a package.

I have tried the Supertux from repo.  It works fine, it's version 0.3.3, a 10-year old verion with far less levels than current version.  I checked tazpkg and nothing to update for me since yesterday besides sqlite.  A couple days ago I got 244 updates tho, half my installed packages it seemed.

Offline

#31 2020-04-29 13:27:30

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

>  OpenGL renderer string: Mesa DRI Intel(R) 865G x86/MMX/SSE2

>  [ 20.274] (II) intel(0): SNA initialized with Almador (gen2) backend

You don't need to install firmware-i915.

DMC Firmware [ https://01.org/linuxgraphics/intel-linux-graphics-firmwares ]

New generations of Intel® graphics hardware make use specific firmware code to offer additional benefits in terms of power and performance.

http://forum.slitaz.org/topic/slitaz-next-i-give-up/page/3#post-45603

Offline

#32 2020-04-29 14:03:12

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

ABI Policy and Guidelines

https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html

3. Release versioning on the libstdc++.so binary,

It is versioned as follows:

GCC 4.6.0: libstdc++.so.6.0.15

GCC 4.6.1: libstdc++.so.6.0.16

GCC 4.7.0: libstdc++.so.6.0.17

GCC 4.8.0: libstdc++.so.6.0.18

GCC 4.8.3: libstdc++.so.6.0.19

GCC 4.9.0: libstdc++.so.6.0.20

GCC 5.1.0: libstdc++.so.6.0.21

GCC 6.1.0: libstdc++.so.6.0.22

GCC 7.1.0: libstdc++.so.6.0.23

GCC 7.2.0: libstdc++.so.6.0.24

GCC 8.0.0: libstdc++.so.6.0.25

GCC 9.1.0: libstdc++.so.6.0.26

GCC 9.2.0: libstdc++.so.6.0.27

GCC 9.3.0: libstdc++.so.6.0.28

4. Symbol versioning on the libstdc++.so binary.

GCC 4.6.0: GLIBCXX_3.4.15, CXXABI_1.3.5

GCC 4.6.1: GLIBCXX_3.4.16, CXXABI_1.3.5

GCC 4.7.0: GLIBCXX_3.4.17, CXXABI_1.3.6

GCC 4.8.0: GLIBCXX_3.4.18, CXXABI_1.3.7

GCC 4.8.3: GLIBCXX_3.4.19, CXXABI_1.3.7

GCC 4.9.0: GLIBCXX_3.4.20, CXXABI_1.3.8

GCC 5.1.0: GLIBCXX_3.4.21, CXXABI_1.3.9

GCC 6.1.0: GLIBCXX_3.4.22, CXXABI_1.3.10

GCC 7.1.0: GLIBCXX_3.4.23, CXXABI_1.3.11

GCC 7.2.0: GLIBCXX_3.4.24, CXXABI_1.3.11

GCC 8.0.0: GLIBCXX_3.4.25, CXXABI_1.3.11

GCC 9.0.0: GLIBCXX_3.4.26, CXXABI_1.3.11

slitaz-cooking

$ strings libstdc\+\+.so.6.0.16 | grep GLIBC

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_3.4.14

GLIBCXX_3.4.15

GLIBCXX_3.4.16

GLIBC_2.0

GLIBC_2.3

GLIBC_2.1.3

GLIBC_2.2

GLIBC_2.1

GLIBC_2.3.2

GLIBCXX_DEBUG_MESSAGE_LENGTH

$ strings libboost_locale.so.1.69.0 | grep GLIBCXX

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.7

GLIBCXX_3.4

VS.

slitaz-next

$ strings libboost_locale.so.1.68.0 | grep GLIBCXX | head

GLIBCXX_3.4.20

GLIBCXX_3.4.9

GLIBCXX_3.4.11

GLIBCXX_3.4.7

GLIBCXX_3.4

GLIBCXX_3.4.21

_ZNSt7__cxx1110moneypunctIcLb1EE24_M_initialize_moneypunctEP15__locale_structPKc@@GLIBCXX_3.4.21

_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE6do_putES3_RSt8ios_basecPKv@@GLIBCXX_3.4

_ZNSt7codecvtIcc11__mbstate_tEC2Ej@@GLIBCXX_3.4

_ZTINSt7__cxx117collateIwEE@@GLIBCXX_3.4.21

$ strings /usr/lib/libstdc\+\+.so.6.0.24 | grep GLIBC

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_3.4.14

GLIBCXX_3.4.15

GLIBCXX_3.4.16

GLIBCXX_3.4.17

GLIBCXX_3.4.18

GLIBCXX_3.4.19

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBCXX_3.4.22

GLIBCXX_3.4.23

GLIBCXX_3.4.24

GLIBC_2.3

GLIBC_2.2.5

GLIBC_2.18

GLIBC_2.16

GLIBC_2.17

GLIBC_2.3.2

GLIBCXX_DEBUG_MESSAGE_LENGTH

Offline

#33 2020-04-30 23:30:44

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Help Building Supertux 0.61

Thanks for reply.  I wish I understood what you were trying to tell me smile   It's so close now!

Offline

#34 2020-05-05 15:33:06

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

slitaz-cooking VS. ubuntu 18.04.4 LTS

slitaz-cooking:

gcc-4.6.3 glibc-2.14.1 xorg-server-1.12.4 and mesa-9.2.5

# tazpkg -l | egrep 'gcc|^glib|gtk|server|mesa'

gcc-lib-base                       4.6.3             development
glib                               2.43.3            x-window
glibc-base                         2.14.1            base-system
glibmm                             2.40.0            x-window
glib-networking                    2.43.1            x-window
gtk+                               2.24.24           x-window
gtk-clearlooks                     2.20.2            x-window
gtkmm                              2.24.5            x-window
libfm-gtk                          1.2.5             system-tools
libglu-mesa                        9.0.0             x-window
mesa                               9.2.5             x-window
mesa-demos                         8.0.1             development
mesa-dri                           9.2.5             x-window
mesa-dri-intel                     9.2.5             x-window
xorg-server                        1.12.4            x-window

and linux-3.16.55

VS.

> and exact same output from supertux under ubuntu 18 on same machine

> I see glxinfo reports Mesa 9.2.5 under Slitaz, whereas under ubuntu

> its telling me 19.2.8.

Your OS: Ubuntu 18.04.4 LTS

Release February 12, 2020

$ egrep 'gcc|^libc6|^glib|header|mesa|xorg-core' lubuntu-18.04.4-desktop-i386.manifest

gcc-7-base:i386            7.4.0-1ubuntu1~18.04.1
gcc-8-base:i386            8.3.0-6ubuntu1~18.04.1
glib-networking:i386        2.56.0-1
glib-networking-common        2.56.0-1
glib-networking-services        2.56.0-1
libc6:i386                2.27-3ubuntu1
libc6-dev:i386            2.27-3ubuntu1
libegl-mesa0:i386            19.2.8-0ubuntu0~18.04.1
libegl1-mesa:i386            19.2.8-0ubuntu0~18.04.1
libgcc1:i386            1:8.3.0-6ubuntu1~18.04.1
libgl1-mesa-dri:i386        19.2.8-0ubuntu0~18.04.1
libgl1-mesa-glx:i386        19.2.8-0ubuntu0~18.04.1
libglapi-mesa:i386            19.2.8-0ubuntu0~18.04.1
libglx-mesa0:i386            19.2.8-0ubuntu0~18.04.1
libwayland-egl1-mesa:i386        19.2.8-0ubuntu0~18.04.1
linux-headers-5.3.0-28        5.3.0-28.30~18.04.1
linux-headers-5.3.0-28-generic  5.3.0-28.30~18.04.1
linux-headers-generic-hwe-18.04 5.3.0.28.96
xserver-xorg-core-hwe-18.04     2:1.20.5+git20191008-0ubuntu1~18.04.1

[attachment=48860,2973]

Offline

#35 2020-05-05 15:43:00

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

SliTaz Cook & Cooker

Applications → Documentation → Cookutis Documentation

or

file:///usr/share/doc/cookutils/cookutils.en.html

The SliTaz Cookutils provide tools and utils to help build SliTaz packages. They are easy to use and learn, fast and light. You will be able to create SliTaz packages in a few commands. The cookutils provide the 'cook' utility and the Cooker.

Cook lets you compile and create a package, provide a log file and check the receipt/package quality. The Cooker is a build bot with more automation and can be used as a frontend to cook since it provides a CGI/web interface which lets you view cook logs in a nice and colored way. Cook and the Cooker use the same DB files and wok, they both share blocked and broken packages as well as any activity.

For technical information, for example the coding style, etc, please refer to the README found in the source tree or in /usr/share/doc/cookutils.

Cookbook - SliTaz Cookbook.

http://doc.slitaz.org/en:cookbook:start

Offline

#36 2020-05-06 03:23:20

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Help Building Supertux 0.61

I think you're trying to tell me, there's newer stuff in ubuntu 18.04.4 and that's probably my problem, something in Slitaz is too old for this new Supertux to work perfect. 

In my previous experience with building from source, I've mainly done it when my distro doesnt have a package in repo for app I want and author doesn't package it for my distro, and usually once all libraries and dependencies are met, it builds and works following github instructions.  But not quite as much luck doing that with Slitaz...

It seems like Slitaz is a community effort where users are encouraged to package and share stuff with this wok/cooker stuff that I'll have to learn what means.

I have never really built & packaged anything, other than surprisingly enough, the beginning of this year when I packaged Supertux for Sailfish OS.  I only did that cuz I build it (on my phone) and wanted to share so put it on openrepos.net for others to play.

Offline

#37 2020-05-07 12:20:08

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: Help Building Supertux 0.61

You are right.

+1

http://forum.slitaz.org/topic/slitax-old-hardware#post-48874

> I build it (on my phone)

supertux-0.6.1-2.armv7hl.rpm    147.68 MB    26/01/2020 - 04:22

https://openrepos.net/content/enigma9o7/supertux

Great.

armv7hl

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]