TUXEDO : Tuxedo Control Center 2.1.1 : Big issue

Now I have always high CPU load (process tccd) and fan at 100% … very good release !


And also impossible to put « Powersave extreme » or « Quiet » … the laptop stop after too hot.

My OS : 22.04.3 LTS (Jammy Jellyfish) .

Logs :

In loops :

$ grep "tccd" /var/log/syslog | tail -f
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1

And also :

Dec 20 12:26:48 TUXEDO-Polaris-Intel-Gen3-TGL dbus-daemon[1100]: [system] The maximum number of pending replies for ":1.153" (uid=1000 pid=6362 comm="/opt/tuxedo-control-center/tuxedo-control-center -" label="unconfined") has been reached (max_replies_per_connection=1024)

Sensors :

# sensors
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:        +53.0°C  
 
nvme-pci-2f00
Adapter: PCI adapter
Composite:    +47.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +47.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)
 
BAT0-acpi-0
Adapter: ACPI interface
in0:          16.42 V  
curr1:         0.00 A  
 
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +82.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +50.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +68.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +82.0°C  (high = +100.0°C, crit = +100.0°C)
Core 4:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 5:        +59.0°C  (high = +100.0°C, crit = +100.0°C)
Core 6:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
Core 7:        +49.0°C  (high = +100.0°C, crit = +100.0°C)
 
ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0:           0.00 V  (min =  +0.00 V, max =  +0.00 V)
curr1:         0.00 A  (max =  +0.00 A)
 
nvme-pci-0200
Adapter: PCI adapter
Composite:    +38.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +38.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +42.9°C  (low  = -273.1°C, high = +65261.8°C)
 
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +86.0°C  (crit = +100.0°C)
temp2:        +86.0°C  (crit = +119.0°C)

Python : matplotlib : Issue line 303 text.parse_math

Sur Kali OS j’ai eu cette erreur :


Bad key text.parse_math in file /usr/share/matplotlib/mpl-data/matplotlibrc, line 303 ('text.parse_math: False # Use mathtext if there is an even number of unescaped')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.5.2/matplotlibrc.template
or from the matplotlib source distribution
Traceback (most recent call last):
File "....Test.py", line 31, in <module>
import gradio as gr
File "/usr/local/lib/python3.11/dist-packages/gradio/__init__.py", line 3, in <module>
import gradio._simple_templates
File "/usr/local/lib/python3.11/dist-packages/gradio/_simple_templates/__init__.py", line 1, in <module>
from .simpledropdown import SimpleDropdown
File "/usr/local/lib/python3.11/dist-packages/gradio/_simple_templates/simpledropdown.py", line 6, in <module>
from gradio.components.base import FormComponent
File "/usr/local/lib/python3.11/dist-packages/gradio/components/__init__.py", line 1, in <module>
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.11/dist-packages/gradio/components/annotated_image.py", line 11, in <module>
from gradio import processing_utils, utils
File "/usr/local/lib/python3.11/dist-packages/gradio/processing_utils.py", line 23, in <module>
from gradio.utils import abspath
File "/usr/local/lib/python3.11/dist-packages/gradio/utils.py", line 38, in <module>
import matplotlib
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 880, in <module>
rcParamsDefault = _rc_params_in_file(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 814, in _rc_params_in_file
config[key] = val # try to convert to proper type or raise
~~~~~~^^^^^
File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 650, in __setitem__
raise ValueError(f"Key {key}: {ve}") from None
ValueError: Key grid.color: '"' does not look like a color arg

J’ai donc edité le fichier /usr/share/matplotlib/mpl-data/matplotlibrc pour mettre en commentaire la ligne ( sachant que False ou True on a la même erreur) :


##text.parse_math: True

Mais je suis pas sûr que cela fixe le problème … cela plante un peu plus loin.

Open Source Experience 2023 – OSXP2023 – J’y étais …

J’ai assisté à quelques Talks… pour plus d’informations : www.opensource-experience.com .

 

YOLO : Mise à jours

En passant

Petite mise à jours des composants pour les scripts python Yolo:

pip3 install  opencv-python
pip3 install torch
pip3 install pandas
pip3 install tqdm
pip3 install torchvision
pip3 install matplotlib
pip3 install seaborn

le meilleur endroit pour faire des captures vidéos … Villeneuve-Loubet et les bouchons sans fin tous les weekends. Misère.