StretchDog

A home for all kinds of Puppy related projects
Message
Author
Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#241 Post by Ether »

fredx181 wrote:Also it may help to install "libgl1-mesa-dri" .

Fred
libgl1-mesa-dri 13.0.6-1+b2 is already installed.

.

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#242 Post by Ether »

dancytron wrote:First thing I'd do is try deleting the cache.
Just tried that. No improvement.

.

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#243 Post by Ether »

dancytron wrote: I don't think it is a graphics card issue, but install mesa-utils and then from a terminal window run "glxgears -info". Do the gears work? What does it say about what graphics driver is running?

Just installed mesa-utils 8.3.0-3.

Ran glxgears -info.

Yes I see the 3 colored gears and they are spinning smoothly.

Here's the output:

Code: Select all

root@live:~# glxgears -info
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER   = Mesa DRI Intel(R) 945G x86/MMX/SSE2
GL_VERSION    = 2.1 Mesa 13.0.6
GL_VENDOR     = Intel Open Source Technology Center
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_polygon_offset 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_multitexture 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_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_half_float_pixel GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_pixel_buffer_object GL_ARB_texture_rectangle GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_gpu_program_parameters GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_map_buffer_range GL_ARB_ES2_compatibility GL_ARB_debug_output GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_EXT_provoking_vertex GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_texture_storage GL_AMD_shader_trinary_minmax GL_ARB_clear_buffer_object GL_ARB_explicit_uniform_location GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_vertex_attrib_binding GL_KHR_debug GL_ARB_multi_bind GL_ARB_get_texture_sub_image GL_KHR_context_flush_control 
VisualID 32, 0x20
301 frames in 5.0 seconds = 60.055 FPS
301 frames in 5.0 seconds = 60.021 FPS
301 frames in 5.0 seconds = 60.019 FPS
300 frames in 5.0 seconds = 59.821 FPS
301 frames in 5.0 seconds = 60.020 FPS
Attachments
2020-02-21-223834_316x336_scrot.png
(14.09 KiB) Downloaded 268 times

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#244 Post by Ether »

.

See attachment.

It's a screenshot from Firefox "troubleshooting information" page.

Could it be related to the Street View click-dragging problem?
Attachments
2020-02-21-224817_717x178_scrot.png
(21.85 KiB) Downloaded 263 times

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#245 Post by dancytron »

Does the opengl aquarium work? How many frame per second do you get?

https://webglsamples.org/aquarium/aquarium.html

I still think it is a browser thing. Try one of Fred's portable firefoxes.

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#246 Post by Ether »

dancytron wrote:Does the opengl aquarium work? How many frame per second do you get?

https://webglsamples.org/aquarium/aquarium.html

I still think it is a browser thing. Try one of Fred's portable firefoxes.
About 2 frames per second using firefox 68.5.0-esr1~deb9u1 and Chromium 73

How quickly are security patches updated in Fred's portable firefoxes.


.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#247 Post by dancytron »

2 frames a second is really awful. That's a symptom of your issue anyway.

Fred's portables update from Mozilla as soon as the updates come out. Much sooner than the Debian repos.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#248 Post by fredx181 »

Ether wrote:Problem is, Chromium won't run when booted to root unless I use the --no-sandbox option (which gives a security warning).

And if I Exit Xterm and login as puppy, it won't let me back into Xterm (permission denied error).
You can hide the warning by adding --disable-infobars, so then:

Code: Select all

chromium --no-sandbox --disable-infobars
To get back to root from logged in as puppy:
Exit X, then type on console:

Code: Select all

exit
followed by

Code: Select all

startx
About firefox, I have a built in video card too and checking with opengl aquarium I get 6 fps, not so good.
Compared firefox-esr version 68 with newest version 73 (portable) and makes no difference for me (still 6 fps).
(google streetview with firefox is usable for me, but slow)

Fred

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#249 Post by Ether »

dancytron wrote:I still think it is a browser thing..
I just installed Palemoon 28.3.1 and it works flawlessly for StreetView cllck&drag.

It's my understanding Palemoon uses the Firefox code base.

So I'm wondering why Firefox does not work properly.


.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#250 Post by fredx181 »

Ether wrote:It's my understanding Palemoon uses the Firefox code base.
Palemoon still uses the Gecko engine, firefox not anymore, since "Quantum".

Fred

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

#251 Post by Ether »

fredx181 wrote:
Ether wrote:It's my understanding Palemoon uses the Firefox code base.
Palemoon still uses the Gecko engine, firefox not anymore, since "Quantum".

Fred
Thanks Fred. Where do I get this that dancytron recommended I try :
dancytron wrote:Fred's portables update from Mozilla as soon as the updates come out. Much sooner than the Debian repos

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#252 Post by fredx181 »

Hi Ether, see Here and Here (install script)

Fred

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

boot to puppy instead of root

#253 Post by Ether »

.


What file should be modified (and how) in order to boot into puppy account instead of root ?


.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: boot to puppy instead of root

#254 Post by fredx181 »

Ether wrote:.


What file should be modified (and how) in order to boot into puppy account instead of root ?

.
The file to modify is /etc/inittab, find the line:

Code: Select all

1:2345:respawn:/bin/login -f root tty6 </dev/tty1 >/dev/tty1 2>&1
And change root to puppy:

Code: Select all

1:2345:respawn:/bin/login -f puppy tty6 </dev/tty1 >/dev/tty1 2>&1
Fredroot

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

Re: boot to puppy instead of root

#255 Post by Ether »

fredx181 wrote:
Ether wrote:.


What file should be modified (and how) in order to boot into puppy account instead of root ?

.
The file to modify is /etc/inittab, find the line:

Code: Select all

1:2345:respawn:/bin/login -f root tty6 </dev/tty1 >/dev/tty1 2>&1
And change root to puppy:

Code: Select all

1:2345:respawn:/bin/login -f puppy tty6 </dev/tty1 >/dev/tty1 2>&1
Fredroot
I changed "root" to "puppy" in that line, rebooted, and got the attached error message, and things stopped at that point.

Sorry for the fuzzy graphic, I took pic w/ phone camera.
Attachments
root_puppy-2.jpg
(66.25 KiB) Downloaded 61 times

Ether
Posts: 261
Joined: Wed 21 Aug 2013, 17:56

run Chromium as puppy

#256 Post by Ether »

.


Can anyone tell me how to run Chromium as puppy ?
puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755.


.

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#257 Post by enrique »

fredx181 wrote:For those having trouble booting with kernel 4.9, here's alternative (32 bit only), not ofiicial Debian though.
Extract This archive: kernel-4.4.87-i386.squashfs.tar.gz in the frugal installed 'live' directory.
Contents are vmlinuz1 (should be replaced) and kernel-4.4.87.squashfs
And it should boot with with kernel 4.4.87
Taken from OscarTalks's D-pup-Stretch (thanks!).

Fred
fredx181
kernel-4.4.87-i386.squashfs.tar.gz in 4th post seems to be what I been looking for.

And more important you are pointing out for a good puppy to try
fredx181 wrote:...Taken from OscarTalks's D-pup-Stretch (thanks!).
I am hopping to get closer to my solution in stretch. Sadly after hours building from source gcc-5! I got it working fot Target: i686-pc-linux-gnu. Hope I can port gcc-5 to Buster64, that will be a home run hit.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: run Chromium as puppy

#258 Post by dancytron »

Ether wrote:.


Can anyone tell me how to run Chromium as puppy ?
puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755.


.
Below is the script for running Chrome with su and a commented out version for gsku (which probably needs to be installed).

You should be able to change the paths to point to your chromium and make it run.

I think part of the issue you are having is that you need to set the user profile and caches to be in a place owned by the right user.
#!/bin/sh

xhost +local:puppy

su puppy -c "/usr/bin/google-chrome-stable "$@" --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"

#gksu -u puppy "/usr/bin/google-chrome-stable --user-data-dir=/home/puppy/chrome/user --disk-cache-dir=/home/puppy/chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000"

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#259 Post by fredx181 »

Ether wrote:I changed "root" to "puppy" in that line, rebooted, and got the attached error message, and things stopped at that point.
....
Can anyone tell me how to run Chromium as puppy ?

Quote:
puppy@live:~$ chromium
[10235:10235:0226/220615.555747:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /usr/lib/chromium/chrome-sandbox is owned by root and has mode 4755.
I've tried to reproduce both issues, but cannot, sorry, it looks like a permissions problem, is /home/puppy (and content) owned by puppy ?
(could be because of something you did (save backup or something else ?) if it's owned by root, change to puppy again (recursive), as root :
chown -R puppy:puppy /home/puppy
EDIT: and reinstalling chromium may help

Maybe best is to run chromium logged in as root like dancytron suggested, with su puppy

Fred
Last edited by fredx181 on Thu 27 Feb 2020, 14:33, edited 4 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#260 Post by fredx181 »

enrique wrote:fredx181
kernel-4.4.87-i386.squashfs.tar.gz in 4th post seems to be what I been looking for.


Ah, yes forgot about that one.
Works for me (just tested)

Good luck with your experiments !

Fred

Post Reply