Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


9.1.2 Observation - LocalUI.Service
#21
Remind me, what's the benefit of log2ram?
----------------
Robert
Reply
#22
(10-10-2024, 07:10 AM)the_bertrum Wrote: Remind me, what's the benefit of log2ram?

The main claim is that it extends the life of uSD cards. In any case its one way to use all the leftover RAM on modern Raspberry Pi's since moode itself doesn't use much memory.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#23
Ran again with a fresh install. Interesting---apparently the log2ram.conf file is already patched in the r9.1.2 image the RPi Imager downloaded --- 'cuz SIZE=32M out of the box.

Once again, I again ended up with a mix of 126/129 packages when I downgraded chromium-browser. There's a lot of output from apt as it declares what it's going to do but I haven't tried to sort it.

As for log2ram, I think it likely did extend the working life of RPi systems running out of low-capacity uSD cards but these days low-capacity cards are hard to come by. 32GB and above seems to hit the sweet spot in pricing. I suspect the internal wear-leveling techniques suffice. But that's just me. I still haven't had a memory card fail in service (not that I have borked one of two through stupidity. There's still no protection against that!)

Regards,
Kent
Reply
#24
I've had one SD card fail ever. It was a no-name one 16GB.

However I also have no attached screens so log2ram on or off makes no odds to me either way. This is an interesting problem to follow even so.
----------------
Robert
Reply
#25
(10-10-2024, 12:16 PM)TheOldPresbyope Wrote: Ran again with a fresh install. Interesting---apparently the log2ram.conf file is already patched in the r9.1.2 image the RPi Imager downloaded --- 'cuz SIZE=32M out of the box.

Once again, I again ended up with a mix of 126/129 packages when I downgraded chromium-browser. There's a lot of output from apt as it declares what it's going to do but I haven't tried to sort it.

As for log2ram, I think it likely did extend the working life of RPi systems running out of low-capacity uSD cards but these days low-capacity cards are hard to come by. 32GB and above seems to hit the sweet spot in pricing. I suspect the internal wear-leveling techniques suffice. But that's just me. I still haven't had a memory card fail in service (not that I have borked one of two through stupidity. There's still no protection against that!)

Regards,
Kent

Log2ram setting is ok in new r912 image but not updated in the in-place update.

I tested on fresh r912 yesterday and the procedure worked fine.

Code:
sudo apt update

sudo apt-mark unhold chromium chromium-browser chromium-common chromium-sandbox rpi-chromium-mods

sudo apt -y install chromium-browser=126.0.6478.164-rpt1 chromium-browser-l10n=126.0.6478.164-rpt1 chromium-codecs-ffmpeg-extra=126.0.6478.164-rpt1 --allow-downgrades --allow-change-held-packages

sudo apt -y purge chromium chromium-common chromium-sandbox rpi-chromium-mods

sudo apt -y autoremove

sudo reboot
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#26
Guess who never noticed there were steps 4 and 5 "below the fold" so to speak. Once I scrolled down and found the purge step the mystery revealed itself.

Sorry for any time lost.

I still need to add the --disable-gpu switch to stop the display artifacts (partial backgrounds, as you call them) on my RPi3B+/official 7" touchscreen.



Regards,
Kent
Reply
#27
(10-10-2024, 04:15 PM)TheOldPresbyope Wrote: Guess who never noticed there were steps 4 and 5 "below the fold" so to speak. Once I scrolled down and found the purge step the mystery revealed itself.

Sorry for any time lost.

I still need to add the --disable-gpu switch to stop the display artifacts (partial backgrounds, as you call them) on my RPi3B+/official 7" touchscreen.



Regards,
Kent

Right, < Pi4 and some display artifacts with the KMS driver. 

Is there a performance hit with the gpu disabled?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#28
Maybe. I haven't tried A/B comparisons to see. I suppose I should have a TODO list of my own but I seem to have an attention---squirrel!---problem these days. Tongue

Regards,
Kent
Reply
#29
I'm pretty much in the same place as Kent - I confirmed the chromium roll-back procedure worked and am back on build 126 but I'm leaving the --disable-gpu in place as the local interface is much more "stable".

However, I still can't enable "Log to RAM" without losing the local display. 
As far as I can tell as soon as I enable it and reboot the software can no longer detect an attached DSI display during boot.
My display is not the official 7" DSI by the way  

This is the Xorg log when it does detect the display

Code:
[    56.988]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    56.988] Current Operating System: Linux moode3B 6.6.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64
[    56.988] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=a6c7aab9-02 rootfstype=ext4 fsck.repair=ye>
[    56.988] xorg-server 2:21.1.7-3+rpt3+deb12u7 (https://www.debian.org/support)
[    56.988] Current version of pixman: 0.42.2
[    56.988]    Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
[    56.988] Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.989] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 10 22:26:38 2024
[    56.992] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    56.992] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    57.013] (==) No Layout section.  Using the first Screen section.
[    57.013] (==) No screen section available. Using defaults.
[    57.013] (**) |-->Screen "Default Screen Section" (0)
[    57.013] (**) |   |-->Monitor "<default monitor>"
[    57.015] (==) No device specified for screen "Default Screen Section".
       Using the first device section listed.
[    57.015] (**) |   |-->Device "kms"
[    57.015] (==) No monitor specified for screen "Default Screen Section".
       Using a default monitor configuration.
[    57.015] (**) Option "Debug" "dmabuf_capable"
[    57.015] (==) Automatically adding devices
[    57.015] (==) Automatically enabling devices
[    57.015] (==) Automatically adding GPU devices
[    57.015] (==) Automatically binding GPU devices
[    57.023] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    57.033] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    57.033]    Entry deleted from font path.
[    57.045] (==) FontPath set to:
       /usr/share/fonts/X11/misc,
       /usr/share/fonts/X11/100dpi/:unscaled,
       /usr/share/fonts/X11/75dpi/:unscaled,
       /usr/share/fonts/X11/Type1,
       /usr/share/fonts/X11/100dpi,
       /usr/share/fonts/X11/75dpi,
       built-ins
[    57.045] (==) ModulePath set to "/usr/lib/xorg/modules"
[    57.045] (II) The server relies on udev to provide the list of input devices.
       If no devices become available, reconfigure udev or disable AutoAddDevices.
[    57.045] (II) Loader magic: 0x55618a0ef0
[    57.045] (II) Module ABI versions:
[    57.045]    X.Org ANSI C Emulation: 0.4
[    57.045]    X.Org Video Driver: 25.2
[    57.045]    X.Org XInput driver : 24.4
[    57.045]    X.Org Server Extension : 10.0
[    57.048] (--) using VT number 2
[    57.048] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    57.051] (II) xfree86: Adding drm device (/dev/dri/card0)
[    57.051] (II) Platform probe for /sys/devices/platform/soc/soc:gpu/drm/card0
[    57.054] (**) OutputClass "vc4" setting /dev/dri/card0 as PrimaryGPU
[    57.054] (II) LoadModule: "glx"
[    57.057] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    57.168] (II) Module glx: vendor="X.Org Foundation"
[    57.168]    compiled for 1.21.1.7, module version = 1.0.0
[    57.168]    ABI class: X.Org Server Extension, version 10.0
[    57.168] (II) LoadModule: "modesetting"
[    57.171] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    57.203] (II) Module modesetting: vendor="X.Org Foundation"
[    57.203]    compiled for 1.21.1.7, module version = 1.21.1
[    57.203]    Module class: X.Org Video Driver
[    57.203]    ABI class: X.Org Video Driver, version 25.2
[    57.204] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    57.236] (II) modeset(0): using drv /dev/dri/card0
[    57.237] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    57.237] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    57.237] (II) Applying OutputClass "vc4" options to /dev/dri/card0
[    57.237] (**) modeset(0): Option "AccelMethod" "msdri3"
[    57.237] (**) modeset(0): Option "UseGammaLUT" "off"
[    57.237] (==) modeset(0): RGB weight 888
[    57.237] (==) modeset(0): Default visual is TrueColor
[    57.237] (**) modeset(0): glamor disabled
[    60.145] (II) modeset(0): DRI3 initialized
[    60.146] (==) modeset(0): VariableRefresh: disabled
[    60.146] (==) modeset(0): AsyncFlipSecondaries: disabled
[    60.147] (II) modeset(0): Output HDMI-1 has no monitor section
[    60.147] (II) modeset(0): Output DSI-1 has no monitor section
[    60.154] (II) modeset(0): EDID for output HDMI-1
[    60.154] (II) modeset(0): EDID for output DSI-1
[    60.154] (II) modeset(0): Printing probed modes for output DSI-1
[    60.154] (II) modeset(0): Modeline "800x480"x60.0   30.00  800 931 933 978  480 487 489 511 -hsync -vsync (30.7 kHz eP)
[    60.154] (II) modeset(0): Output HDMI-1 disconnected
[    60.154] (II) modeset(0): Output DSI-1 connected
[    60.154] (II) modeset(0): Using exact sizes for initial modes
[    60.155] (II) modeset(0): Output DSI-1 using initial mode 800x480 +0+0
[    60.155] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    60.155] (==) modeset(0): DPI set to (96, 96)
[    60.155] (II) Loading sub module "fb"
[    60.155] (II) LoadModule: "fb"
[    60.155] (II) Module "fb" already built-in
[    60.174] (==) modeset(0): Backing store enabled
[    60.174] (==) modeset(0): Silken mouse enabled

[    60.184] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    60.185] (==) modeset(0): DPMS enabled
[    60.185] (WW) modeset(0): Option "PrimaryGPU" is not used
[    60.185] (II) Initializing extension Generic Event Extension
[    60.185] (II) Initializing extension SHAPE
[    60.186] (II) Initializing extension MIT-SHM
[    60.187] (II) Initializing extension XInputExtension
[    60.190] (II) Initializing extension XTEST
[    60.191] (II) Initializing extension BIG-REQUESTS
[    60.191] (II) Initializing extension SYNC
[    60.192] (II) Initializing extension XKEYBOARD
[    60.193] (II) Initializing extension XC-MISC
[    60.193] (II) Initializing extension SECURITY
[    60.194] (II) Initializing extension XFIXES
[    60.194] (II) Initializing extension RENDER
[    60.195] (II) Initializing extension RANDR
[    60.196] (II) Initializing extension COMPOSITE
[    60.197] (II) Initializing extension DAMAGE
[    60.197] (II) Initializing extension MIT-SCREEN-SAVER
[    60.198] (II) Initializing extension DOUBLE-BUFFER
[    60.198] (II) Initializing extension RECORD
[    60.199] (II) Initializing extension DPMS
[    60.200] (II) Initializing extension Present
[    60.200] (II) Initializing extension DRI3
[    60.201] (II) Initializing extension X-Resource
[    60.201] (II) Initializing extension XVideo
[    60.202] (II) Initializing extension XVideo-MotionCompensation
[    60.202] (II) Initializing extension SELinux
[    60.202] (II) SELinux: Disabled on system
[    60.202] (II) Initializing extension GLX
[    60.203] (II) AIGLX: Screen 0 is not DRI2 capable
[    60.255] (II) IGLX: Loaded and initialized swrast
[    60.255] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    60.255] (II) Initializing extension XFree86-VidModeExtension
[    60.255] (II) Initializing extension XFree86-DGA
[    60.256] (II) Initializing extension XFree86-DRI
[    60.256] (II) Initializing extension DRI2
[    60.257] (II) modeset(0): Damage tracking initialized
[    60.257] (II) modeset(0): Setting screen physical size to 211 x 127
[    60.523] (II) config/udev: Adding input device 10-0038 generic ft5x06 (c5) (/dev/input/event2)
[    60.523] (**) 10-0038 generic ft5x06 (c5): Applying InputClass "libinput touchscreen catchall"
[    60.523] (II) LoadModule: "libinput"
[    60.525] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    60.548] (II) Module libinput: vendor="X.Org Foundation"
[    60.549]    compiled for 1.21.1.3, module version = 1.2.1
[    60.549]    Module class: X.Org XInput Driver
[    60.549]    ABI class: X.Org XInput driver, version 24.4
[    60.549] (II) Using input driver 'libinput' for '10-0038 generic ft5x06 (c5)'
[    60.549] (**) 10-0038 generic ft5x06 (c5): always reports core events
[    60.549] (**) Option "Device" "/dev/input/event2"
[    60.589] (II) event2  - 10-0038 generic ft5x06 (c5): is tagged by udev as: Touchscreen
[    60.591] (II) event2  - 10-0038 generic ft5x06 (c5): device is a touch device
[    60.592] (II) event2  - 10-0038 generic ft5x06 (c5): device removed
[    60.628] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f205000.i2c/i2c-11/i2c-10/10-0038/input/input2/event2"
[    60.628] (II) XINPUT: Adding extended input device "10-0038 generic ft5x06 (c5)" (type: TOUCHSCREEN, id 6)
[    60.629] (**) Option "AccelerationScheme" "none"
[    60.629] (**) 10-0038 generic ft5x06 (c5): (accel) selected scheme none/0
[    60.629] (**) 10-0038 generic ft5x06 (c5): (accel) acceleration factor: 2.000
[    60.629] (**) 10-0038 generic ft5x06 (c5): (accel) acceleration threshold: 4
[    60.633] (II) event2  - 10-0038 generic ft5x06 (c5): is tagged by udev as: Touchscreen
[    60.635] (II) event2  - 10-0038 generic ft5x06 (c5): device is a touch device
[    60.638] (II) config/udev: Adding input device 10-0038 generic ft5x06 (c5) (/dev/input/mouse0)
[    60.638] (II) No input driver specified, ignoring this device.
[    60.638] (II) This device may have been added with another device file.
[    60.640] (II) config/udev: Adding input device vc4-hdmi (/dev/input/event0)
[    60.640] (**) vc4-hdmi: Applying InputClass "libinput keyboard catchall"
[    60.640] (II) Using input driver 'libinput' for 'vc4-hdmi'
[    60.640] (**) vc4-hdmi: always reports core events
[    60.640] (**) Option "Device" "/dev/input/event0"
[    60.643] (II) event0  - vc4-hdmi: is tagged by udev as: Keyboard Pointingstick
[    60.644] (II) event0  - vc4-hdmi: device is a pointer
[    60.644] (II) event0  - vc4-hdmi: device is a keyboard
[    60.644] (II) event0  - vc4-hdmi: device removed
[    60.664] (II) libinput: vc4-hdmi: needs a virtual subdevice
[    60.664] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f902000.hdmi/rc/rc0/input0/event0"
[    60.664] (II) XINPUT: Adding extended input device "vc4-hdmi" (type: MOUSE, id 7)
[    60.665] (**) Option "AccelerationScheme" "none"
[    60.665] (**) vc4-hdmi: (accel) selected scheme none/0
[    60.665] (**) vc4-hdmi: (accel) acceleration factor: 2.000
[    60.665] (**) vc4-hdmi: (accel) acceleration threshold: 4
[    60.668] (II) event0  - vc4-hdmi: is tagged by udev as: Keyboard Pointingstick
[    60.669] (II) event0  - vc4-hdmi: device is a pointer
[    60.669] (II) event0  - vc4-hdmi: device is a keyboard
[    60.671] (II) config/udev: Adding input device vc4-hdmi HDMI Jack (/dev/input/event1)
[    60.671] (II) No input driver specified, ignoring this device.
[    60.671] (II) This device may have been added with another device file.  
[    60.701] (**) vc4-hdmi: Applying InputClass "libinput keyboard catchall"
[    60.701] (II) Using input driver 'libinput' for 'vc4-hdmi'
[    60.701] (**) vc4-hdmi: always reports core events
[    60.701] (**) Option "Device" "/dev/input/event0"
[    60.702] (II) libinput: vc4-hdmi: is a virtual subdevice
[    60.702] (**) Option "config_info" "udev:/sys/devices/platform/soc/3f902000.hdmi/rc/rc0/input0/event0"
[    60.702] (II) XINPUT: Adding extended input device "vc4-hdmi" (type: KEYBOARD, id 8)
[    60.702] (**) Option "xkb_model" "pc105"
[    60.702] (**) Option "xkb_layout" "gb"
[    72.488] (II) modeset(0): Disabling kernel dirty updates, not required.

and this is when it doesn't detect the display

Code:
[    58.833]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    58.833] Current Operating System: Linux moode3B 6.6.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64
[    58.833] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=a6c7aab9-02 rootfstype=ext4 fsck.repair=ye>
[    58.833] xorg-server 2:21.1.7-3+rpt3+deb12u7 (https://www.debian.org/support)
[    58.833] Current version of pixman: 0.42.2
[    58.833]    Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
[    58.833] Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    58.834] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 10 23:20:43 2024
[    58.836] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    58.836] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    58.842] (==) No Layout section.  Using the first Screen section.
[    58.842] (==) No screen section available. Using defaults.
[    58.842] (**) |-->Screen "Default Screen Section" (0)
[    58.842] (**) |   |-->Monitor "<default monitor>"
[    58.843] (==) No device specified for screen "Default Screen Section".
       Using the first device section listed.
[    58.843] (**) |   |-->Device "kms"
[    58.843] (==) No monitor specified for screen "Default Screen Section".
       Using a default monitor configuration.
[    58.843] (**) Option "Debug" "dmabuf_capable"
[    58.843] (==) Automatically adding devices
[    58.843] (==) Automatically enabling devices
[    58.843] (==) Automatically adding GPU devices
[    58.843] (==) Automatically binding GPU devices
[    58.852] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    58.861] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    58.861]    Entry deleted from font path.
[    58.873] (==) FontPath set to:
       /usr/share/fonts/X11/misc,
       /usr/share/fonts/X11/100dpi/:unscaled,
       /usr/share/fonts/X11/75dpi/:unscaled,
       /usr/share/fonts/X11/Type1,
       /usr/share/fonts/X11/100dpi,
       /usr/share/fonts/X11/75dpi,
       built-ins
[    58.873] (==) ModulePath set to "/usr/lib/xorg/modules"
[    58.873] (II) The server relies on udev to provide the list of input devices.
       If no devices become available, reconfigure udev or disable AutoAddDevices.
[    58.873] (II) Loader magic: 0x556c740ef0
[    58.873] (II) Module ABI versions:
[    58.873]    X.Org ANSI C Emulation: 0.4
[    58.873]    X.Org Video Driver: 25.2
[    58.873]    X.Org XInput driver : 24.4
[    58.873]    X.Org Server Extension : 10.0
[    58.876] (--) using VT number 2
[    58.877] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    58.877] (II) no primary bus or device found
[    58.877] (II) LoadModule: "glx"
[    58.879] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    58.981] (II) Module glx: vendor="X.Org Foundation"
[    58.981]    compiled for 1.21.1.7, module version = 1.0.0
[    58.981]    ABI class: X.Org Server Extension, version 10.0
[    58.981] (II) LoadModule: "modesetting"
[    58.986] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    59.018] (II) Module modesetting: vendor="X.Org Foundation"
[    59.018]    compiled for 1.21.1.7, module version = 1.21.1
[    59.018]    Module class: X.Org Video Driver
[    59.018]    ABI class: X.Org Video Driver, version 25.2
[    59.018] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    59.021] (WW) Falling back to old probe method for modesetting
[    59.021] (EE) open /dev/dri/card0: No such file or directory
[    59.021] (WW) Falling back to old probe method for modesetting
[    59.021] (EE) open /dev/dri/card0: No such file or directory
[    59.021] (EE) No devices detected.
[    59.021] (EE)
Fatal server error:
[    59.021] (EE) no screens found(EE)
[    59.021] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    59.021] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    59.021] (EE)
[    59.027] (EE) Server terminated with error (1). Closing log file.
Reply
#30
What model is the display?
Does it have custom config.txt or cmdline.txt settings?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: