WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tiny core linux game's => linuxq3ademo.tcz :)  (Read 27008 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #45 on: February 18, 2020, 08:56:31 AM »

amd a4 5300 radeon hd7480d


Core-10.0.iso

Code: [Select]
tce-load -wi graphics-4.19.10-tinycore
tce-load -wi Xorg-7.7-3d
tce-load -wi firmware-radeon
tce-load -wi flwm
tce-load -wi wbar
tce-load -wi aterm
tce-load -wi alsa
tce-load -wi pavucontrol
tce-load -wi ezremaster
tce-load -wi rox-filer
tce-load -wi firefox_getLatest

sudo /usr/local/etc/init.d/dbus start
startx
Do you need to load one of the  xf86-video  extensions?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #46 on: February 19, 2020, 12:56:24 AM »
I saw several problems with trying this extension:

* it needs analogue sound to be the default
* my hardware does not load snd_pcm_oss by default, it needs to be loaded manually
* after loading snd_pcm_oss manually, dev/dsp1 is created, but the extension requires /dev/dsp
* after symlinking /dev/dsp1 to /dev/dsp it still fails with:
Code: [Select]
$ sudo aoss q3demo
Q3 1.11 linux-i386 Dec  4 1999
----- FS_Startup -----
Current search path:
/root/.q3a/baseq3
./baseq3

----------------------

Running in restricted demo mode.

----- FS_Startup -----
Current search path:
/root/.q3a/demoq3
./demoq3/pak0.pk3 (1387 files)
./demoq3

----------------------
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: boxdell
Alias: localhost
Alias: localhost.local
IP: 127.0.0.1
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2
GL_VERSION: 3.0 Mesa 19.2.3
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_N
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
------------------------------------
----- Sound Info -----
sound system is muted
    1 stereo
 8192 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x9dbcea0 dma buffer
Forcing all sounds to 8 bit
No background file.
----------------------
Loading vm file vm/ui.qvm.
VM file ui compiled to 902363 bytes of code
4 arenas parsed
6 bots parsed
Received signal 11, exiting...

The only dep appears to be alsa-oss.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #47 on: February 19, 2020, 01:20:56 AM »
Hi Juanito
Code: [Select]
Received signal 11, exiting...
That's a segmentation fault. I see that  q3ademo.tcz  supplies a  libGL.so  library. Xorg also pulls in a  libGL.so  library. I wonder if one
of them is causing a compatibility issue.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #48 on: February 19, 2020, 02:31:59 AM »
'could be - anyway, there's nothing in the system logs or dmesg and this software is very old

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #49 on: February 24, 2020, 10:01:00 AM »
Hi xor
nothing changed!
screen goes dark!
Game is not opening. ...

From the  q3ademo.tcz.info  file:
Quote
Comments:       Quake 3 Arena Demo for Linux (i386) - includes 4 maps,
                6 different player characters and bots. Quake 3 Arena
                requires a supported 3D accelerator.
                ----
                To play this game you need OpenGL driver for 3D graphic (Voodoo 1 is also supported).
                aoss and alsa are also required for sound but the game can work without it.
                Run with: sudo aoss q3demo
Are you running  Xorg-7.7-3d.tcz ?  Do you have the required drivers?

Do you see any error messages when you run:
Code: [Select]
sudo aoss q3demo

Code: [Select]
tc@box:~$ sudo aoss q3demo
Q3 1.11 linux-i386 Dec  4 1999
----- FS_Startup -----
Current search path:
/root/.q3a/baseq3
./baseq3

----------------------

Running in restricted demo mode.

----- FS_Startup -----
Current search path:
/root/.q3a/demoq3
./demoq3/pak0.pk3 (1387 files)
./demoq3

----------------------
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
----------------------

Running in restricted demo mode.

----- FS_Startup -----
Current search path:
/root/.q3a/demoq3
./demoq3/pak0.pk3 (1387 files)
./demoq3

----------------------
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: box
Alias: localhost
Alias: localhost.local
IP: 127.0.0.1
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: X.Org
GL_RENDERER: AMD ARUBA (DRM 2.50.0 / 5.4.3-tinycore, LLVM 8.0.0)
GL_VERSION: 3.1 Mesa 19.2.3
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp
------------------------------------
Loading vm file vm/ui.qvm.
VM file ui compiled to 902363 bytes of code
4 arenas parsed
6 bots parsed
Received signal 11, exiting...
tc@box:~$

----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: box
Alias: localhost
Alias: localhost.local
IP: 127.0.0.1
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: X.Org
GL_RENDERER: AMD ARUBA (DRM 2.50.0 / 5.4.3-tinycore, LLVM 8.0.0)
GL_VERSION: 3.1 Mesa 19.2.3
GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
/dev/dsp: No such file or directory
Could not open /dev/dsp
------------------------------------
Loading vm file vm/ui.qvm.
VM file ui compiled to 902363 bytes of code
4 arenas parsed
6 bots parsed
Received signal 11, exiting...
tc@box:~$

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
linux games > q1demo & q2demo (no sound )
« Reply #50 on: April 08, 2020, 07:40:40 AM »
q1demo & q2demo (no sound ) :(


q1
Code: [Select]
Please wait...

Host_Init
40.0 megabyte heap
UDP (IPv4) Initialized

Sound Initialization
ALSA lib conf.c:3837:(snd_config_hook_load) cannot stat file/directory /usr/local/etc/alsa/cards/aliases.conf
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
Error: audio open error: No such file or directory
S_Startup: S_O_Init failed.
Console initialized.

q2
Code: [Select]
Please wait...

ALSA lib conf.c:3837:(snd_config_hook_load) cannot stat file/directory /usr/local/etc/alsa/cards/aliases.conf
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.default

tcl system configuration;
tc@box:~$ tce-load -wi alsa pavucontrol htop windowshot gimp2 inkscape libreoffice vlc3 ezremaster xfe firefox_getLatest aterm wbar

( There is no sound problem in firefox! :) )
« Last Edit: April 08, 2020, 07:45:33 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #51 on: April 08, 2020, 07:46:39 AM »
If you enter "aliases.conf" in the apps gui provides box and <enter>, you will see that /usr/local/etc/alsa/cards/aliases.conf is provided by the alsa-config extension.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #52 on: April 08, 2020, 07:50:57 AM »
If you enter "aliases.conf" in the apps gui provides box and <enter>, you will see that /usr/local/etc/alsa/cards/aliases.conf is provided by the alsa-config extension.

I did not understand anything from google translate !!!

I am writing via google translate
Can you write down what should be done to solve the problem?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #53 on: April 08, 2020, 08:03:22 AM »
Hi xor
Load  alsa-config  first:
Code: [Select]
tc@box:~$ tce-load -wi alsa-config alsa pavucontrol htop windowshot gimp2 inkscape libreoffice vlc3 ezremaster xfe firefox_getLatest aterm wbar

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #54 on: April 08, 2020, 10:41:41 AM »
Hi xor
Load  alsa-config  first:
Code: [Select]
tc@box:~$ tce-load -wi alsa-config alsa pavucontrol htop windowshot gimp2 inkscape libreoffice vlc3 ezremaster xfe firefox_getLatest aterm wbar

nothing has changed

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #55 on: April 09, 2020, 02:28:33 AM »
If you enter "aliases.conf" in the apps gui provides box and <enter>, you will see that /usr/local/etc/alsa/cards/aliases.conf is provided by the alsa-config extension.

There is no such file here physically and concrete!
In the search, it shows as if there is a wrong indexed, non-existent file!
The file being searched does not physically exist!

« Last Edit: March 27, 2023, 09:20:47 PM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #56 on: April 09, 2020, 02:39:24 AM »
I presume you are speaking of CorePure64 11.x - the file is present.

Note that upper case letters are indexed before lower case letters - the file listing for alsa-config is:
Code: [Select]
...
/usr/local/etc/alsa/cards/YMF744.conf
/usr/local/etc/alsa/cards/aliases.conf
/usr/local/etc/alsa/cards/pistachio-card.conf
...

You could also try the following:
Code: [Select]
$ ls /usr/local/etc/alsa/cards/a*
/usr/local/etc/alsa/cards/aliases.conf
« Last Edit: April 09, 2020, 02:41:21 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #57 on: April 09, 2020, 04:17:07 AM »
I presume you are speaking of CorePure64 11.x - the file is present.

Note that upper case letters are indexed before lower case letters - the file listing for alsa-config is:
Code: [Select]
...
/usr/local/etc/alsa/cards/YMF744.conf
/usr/local/etc/alsa/cards/aliases.conf
/usr/local/etc/alsa/cards/pistachio-card.conf
...

You could also try the following:
Code: [Select]
$ ls /usr/local/etc/alsa/cards/a*
/usr/local/etc/alsa/cards/aliases.conf

« Last Edit: March 27, 2023, 09:22:11 PM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #58 on: April 09, 2020, 04:41:26 AM »
You usually get that kind of output when you load alsa-config after alsa - you need to load alsa-config before alsa.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: tiny core linux game's => linuxq3ademo.tcz :)
« Reply #59 on: April 09, 2020, 05:20:10 AM »
You usually get that kind of output when you load alsa-config after alsa - you need to load alsa-config before alsa.

Code: [Select]
tc@box:~$ tce-load -wi Xorg-7.7-3d firmware-radeon xf86-video wındowmaker alsa-config alsa pavucontrol ezremaster xfe aterm wbar
!?? :(



« Last Edit: April 09, 2020, 05:36:40 AM by xor »