nemozone

a zone for no one and everyone :) Btw this blog is only for adults! Dieser Blog ist nur für Erwachsene!

Wenn es darum geht, eine Datei auf einem USB-Stick oder einem Flashspeicher sicher zu löschen, sollte man bedenken, dass Flash-Speicher eine interne Steuerelektronik haben, die dafür sorgt, dass für jeden Schreibvorgang andere Zellen genutzt werden.

Ein systematisches Überschreiben einzelner Dateien mit Tools wie “shred” oder “wipe” ist daher nicht möglich!

Zusätzlich haben Flash-Speicher Reserve-Zellen, die mit einem Überschreiben des gesamten Devices nicht erreicht werden können.

Auf Linux-Systemen kann man das Kommandozeilentool “hdparm” verwenden, um eine SSD-Festplatte oder Flashspeicher vollständig zu löschen.

Es ist allerdings wichtig zu beachten, dass die Löschung via Secure Erase nicht 100%ig garantiert werden kann und es besser ist, die betriebssystemseitige Festplatten-Verschlüsselung (z.B. dm-crypt/LUKS) zu verwenden, anstatt sich auf die Firmware-Option des Flashspeichers zu verlassen.

Um eine sichere Löschung auf einer SSD oder einem Flash-Speicher durchzuführen, kann man das Kommandozeilentool hdparm unter Linux verwenden.

Ein Beispiel:

Überprüfen Sie die Informationen des Geräts mit dem Befehl: hdparm -I /dev/sdX (ersetzen Sie X durch den entsprechenden Laufwerksbuchstaben)

Setzen Sie ein temporäres Passwort für das Gerät mit dem Befehl: hdparm --user-master u --security-set-pass passwort123 /dev/sdX

(ersetzen Sie passwort123 durch Ihr gewähltes Passwort)

Prüfen Sie, ob der Vorgang erfolgreich war, indem Sie den Befehl hdparm -I /dev/sdX

erneut ausführen

Starten Sie den Löschvorgang mit dem Befehl:

hdparm --user-master u --security-erase passwort123 /dev/sdX

(ersetzen Sie passwort123 durch das gesetzte Passwort)

Es ist zu beachten, dass die Löschung via Secure Erase nicht 100%ig garantiert werden kann!

Eine bessere Alternative wäre die Verwendung von betriebssystemseitiger Festplattenverschlüsselung (z.B. dm-crypt / LUKS) anstatt sich auf die Firmware-Option des Flashspeichers zu verlassen.

Sicheres Löschen von Daten auf einem USB-Stick mittels F3 – Fight Flash Fraud auf Ubuntu 22.04

F3 – Fight Flash Fraud ist ein kostenloses und quelloffenes Tool zur Überprüfung und Löschung von USB-Sticks auf Ubuntu. Dieses Tool ermöglicht es Ihnen, alle Daten auf Ihrem USB-Stick sicher zu löschen, was besonders nützlich ist, wenn Sie das Gerät entsorgen oder verkaufen. In diesem Artikel führen wir Sie durch den Prozess der Installation und Verwendung von F3 auf Ubuntu 22.04.

Schritt 1: Installation von F3

Öffnen Sie die Konsole und geben Sie den folgenden Befehl ein, um F3 zu installieren:

sudo apt update && sudo apt-get install f3

Schritt 2: Identifizieren des USB-Sticks

Bevor Sie Daten vom USB-Stick löschen, müssen Sie den Gerätenamen identifizieren. Dazu stecken Sie den USB-Stick in Ihren Computer und geben Sie den folgenden Befehl in der Konsole ein:

lsblk

Die Ausgabe zeigt eine Liste aller angeschlossenen Speichergeräte und deren Namen. Suchen Sie das Gerät, das Ihrem USB-Stick entspricht (z.B. /dev/sdb).

Schritt 3: Löschen der Daten

Sobald Sie den Gerätenamen identifiziert haben, geben Sie den folgenden Befehl ein, um die Daten auf dem USB-Stick sicher zu löschen:

sudo f3write /dev/sdb

Hinweis: Ersetzen Sie “/dev/sdb” durch den tatsächlichen Gerätenamen Ihres USB-Sticks.

Dieser Befehl löscht alle Daten auf dem Gerät und überschreibt sie mit zufälligen Daten. Der Löschvorgang kann je nach Größe des Geräts einige Zeit dauern.

Schritt 4: Überprüfung der Löschung

Nach Abschluss des Löschvorgangs können Sie überprüfen, ob die Daten gelöscht wurden, indem Sie den folgenden Befehl eingeben:

sudo f3read /dev/sdb

Dies führt einen Lese-Test auf dem Gerät durch und meldet Fehler. Wenn keine Fehler gefunden werden, wurden die Daten sicher gelöscht.

Fazit

F3 – Fight Flash Fraud ist ein effektives Tool zum sicheren Löschen von Daten von Ihrem USB-Stick auf Ubuntu. Bedenken Sie jedoch dass, diese Methode nicht 100%ig sicher ist und Sie besser neu erworbene USB-Stick mittels Gparted LUKS Vollverschlüssel sollten.

Vielen Dank an @macst3r für die Ergänzungen <3

Wie sieht es mit NVMe Festplatten aus?

hdparm kann für NVMe-Festplatten verwendet werden, aber es wird empfohlen, NVMe-CLI-Tools zu verwenden, da sie speziell für die NVMe-Spezifikation entwickelt wurden und eine größere Funktionalität bieten.

Das sichere Löschen von Daten auf einer NVMe-Festplatte kann mit dem NVMe-CLI-Tool nvme-format ausgeführt werden. Hier ist ein allgemeiner Prozess:

Überprüfen Sie die NVMe-Geräte auf dem System mit dem Befehl:

nvme list

Formatieren Sie das NVMe-Gerät mit dem Befehl:

sudo nvme format -s1 /dev/nvme0n1

Bestätigen Sie das Formatierungskommando.

Es ist wichtig zu beachten, dass das Löschen von Daten auf einer NVMe-Festplatte permanent ist und nicht wiederhergestellt werden kann. Überprüfen Sie daher vor dem Ausführen des Kommandos sorgfältig, ob das richtige Gerät ausgewählt wurde und ob Sie die Daten wirklich löschen möchten.

Es ist zu beachten, dass die Löschung via nvme format nicht 100%ig garantiert werden kann!

Eine bessere Alternative wäre die Verwendung von betriebssystemseitiger Festplattenverschlüsselung (z.B. dm-crypt / LUKS) anstatt sich auf die Firmware-Option des NVMe-CLI zu verlassen.

Um nvme-cli auf Ubuntu 22.04 zu installieren, können Sie folgende Schritte ausführen:

Aktualisieren Sie die Paketlisten:

sudo apt-get update

Installieren Sie das Paket nvme-cli:

sudo apt-get install nvme-cli

Überprüfen Sie, ob die Installation erfolgreich war, indem die Version des nvme-cli-Tools anzeigen lasseb:

nvme version

Jetzt sollten Sie in der Lage sein, nvme-cli auf Ubuntu 22.04 zu verwenden.

Dieser Artikel wurde inspiriert durch:

https://www.kuketz-blog.de/ssd-flashspeicher-sicher-loeschen/

Weiterführende Literatur:

https://computertruhe.de/2020/08/09/integritaetspruefung-und-sichere-datenloeschung-von-flash-speichern-mit-f3-und-h2testw/

https://www.anleitungen.rrze.fau.de/betriebssysteme/linux/datentraeger-sicher-loeschen-und-entsorgen/sata-datentraeger-sicher-loeschen/

https://www.awxcnx.de/handbuch_42.htm

https://paderta.com/privacy/daten-sicher-loschen/

https://www.usenix.org/legacy/events/fast11/tech/full_papers/Wei.pdf

https://docplayer.org/81314583-Daten-von-festplatten-ssds-und-handys-sicher-loeschen.html

https://linuxundich.de/gnu-linux/usb-sticks-und-sd-karten-auf-fehler-pruefen/comment-page-1/

https://maker-tutorials.com/osx-el-capitan-freien-speicherplatz-sicher-loeschenueberschreiben/

https://wiki.debianforum.de/Hdparm

https://www.edv-buchversand.de/productinfo.php?replace=false&cnt=productinfo&mode=2&type=2&id=gp-1765&index=2&nr=0&sid=b4e1637ab535b196916bfb07f02a1660&preload=false&page=1&view=fit&Toolbar=1&pagemode=none

https://www.kingston.com/de/blog/personal-storage/using-usb-drive-on-mac

https://blog.idgard.com/de/so-unsicher-sind-usb-sticks/

https://github.com/AltraMayor/f3

Some examples of standards related to touchpads and trackpads include:

ISO/IEC 9241-9: Ergonomic requirements for office work with visual display terminals (VDTs) – Part 9: Requirements for non-keyboard input devices

ISO/IEC 9241-9 is an international standard that provides ergonomic requirements for office work with visual display terminals (VDTs). It is part of the ISO/IEC 9241 series, which covers ergonomics of human-computer interaction. Part 9 of this series focuses on the requirements for non-keyboard input devices. This includes pointing devices such as mice, trackballs, and touchpads, as well as other input devices such as joysticks and game controllers.

ISO/IEC 9995-7: Information technology – Keyboard layouts for text and office systems – Part 7: Alphanumeric section – Additional Latin-based characters

ISO/IEC 9995-7 is an international standard that defines layout principles for computer keyboards. It does not define specific layouts but provides the base for national and industry standards which define such layouts. Part 7 of this series focuses on the alphanumeric section of the keyboard, and specifies additional Latin-based characters. This includes characters such as the exclamation mark, quotation marks, percent sign, ampersand, asterisk, parentheses, plus sign, comma, hyphen, period, slash, colon, semicolon, less than sign, equals sign, greater than sign, question mark, and underscore.

ISO/IEC 16462: Human-centred design for interactive systems – Requirements and guidelines for the design of hand-held and finger-operated pointing devices.

ISO/IEC 16462 is an international standard that provides requirements and guidelines for the design of hand-held and finger-operated pointing devices. This includes devices such as mice, trackballs, and touchpads, as well as other input devices such as joysticks and game controllers. The standard covers aspects such as size, shape, and weight, as well as the placement of buttons and other controls. It also covers the ergonomics of using these devices, including the positioning of the user's hands and fingers.

These standards provide guidelines for the design of touchpads and trackpads such as:

Positioning and size of the touchpad or trackpad

The minimum and maximum size of the active area The tactile feedback of the touchpad or trackpad The number of buttons and their placement The minimum and maximum force required to activate the touchpad or trackpad The accuracy and precision of the touchpad or trackpad The accessibility and ease of use of the touchpad or trackpad for people with disabilities

It's worth noting that these are international standards and are not mandatory. It's up to the vendors to implement them.

Citations :

  1. https://www.amazon.com/ISO-9241-9-requirements-Requirements-non-keyboard/dp/B000XYT0CW
  2. https://en.wikipedia.org/wiki/ISO/IEC_9995
  3. https://www.iso.org/standard/30030.html
  4. https://www.frontiersin.org/articles/10.3389/fict.2016.00013/full
  5. https://unicode.org/wg2/docs/n4984-Unicode-Proposal-9995-V7.pdf
  6. https://www.yorku.ca/mack/gi01.html

Further reading:

DOI: 10.13140/2.1.3018.8322 History of Pen and Gesture Computing: Annotated Bibliography in On-line Character Recognition, Pen Computing, Gesture User Interfaces and Tablet and Touch Computers

This is a stub more information will be appended

Modern Standby is a low-power idle state supported by some SoC systems. It allows the system to quickly switch from a low-power state to a high-power state, so that it can respond quickly to hardware and network events. Systems that support Modern Standby do not use S1-S3 sleep states.

However, some users have reported excessive battery drainage during S0 sleep (Modern Standby) in Linux. This issue is caused by a faulty S0 or missing S3 sleep state. To fix this issue, users can disable the Thunderbolt port, which may help reduce battery drainage. Additionally, they can check the BIOS settings to make sure that the laptop supports S3 sleep state. If the laptop does not support S3, then the user should update the BIOS to the latest version available on the manufacturer's website. Finally, they can patch the ACPI tables as suggested by various sources online.

S3 sleep state may unfortunately die out. The only hope is that issues with Modern Standby must be fixed by the manufacturers, ODMs, and UEFI/BIOS curators.

Citations :

https://www.reddit.com/r/linux/comments/x8n93s/guide_how_to_fix_excessive_battery_drain_on/ https://www.tenforums.com/tutorials/63346-sleep-states-available-your-windows-10-pc.html https://learn.microsoft.com/en-us/windows/win32/power/system-power-states https://h30434.www3.hp.com/t5/Notebook-Operating-System-and-Recovery/Missing-S3-sleep-state/td-p/7748582 https://onlinehelp.ncr.com/Retail/Workstations/7613/HTML/Topics/UserGuide/5.%20Power%20Management/3-ACPI%20Sleep%20States%20(S0%20-%20S5).htm https://superuser.com/questions/71835/what-is-the-difference-between-these-four-sleep-states https://www.tenforums.com/performance-maintenance/178574-excessive-battery-drain-during-s0-sleep-modern-standby.html https://github.com/intel/S0ixSelftestTool https://community.frame.work/t/high-battery-drain-during-suspend/3736 https://www.dell.com/support/kbdoc/en-us/000143524/the-battery-drains-quicker-than-expected-on-a-dell-notebook-with-modern-standby-mode-enabled https://www.quora.com/Why-does-Linux-drains-lot-of-battery-compared-to-windows https://www.quora.com/My-laptops-battery-drains-even-when-it-is-in-sleep-mode-Is-it-a-hardware-problem-or-a-software-problem

Here is an Awesome tutorial how to re enable the S3 state on a “[…]Lenovo Yoga 7 AMD Gen 7 (and possibly, others)[on Ubuntu]”

https://saveriomiroddi.github.io/Enabling-the-S3-sleep-suspend-on-the-Lenovo-Yoga-7-AMD-Gen-7-and-possibly-others/

Thx to CB

Gewährleistung und Garantie sind zwei Begriffe, die oft verwechselt werden. Obwohl sie ähnlich klingen, unterscheiden sie sich in Bezug auf ihre rechtliche Bedeutung. Gewährleistungsrechte bestehen aufgrund gesetzlicher Vorschriften gegenüber dem Verkäufer. Eine Garantie ist eine freiwillige Leistung eines Herstellers und richtet sich nach seinen Bedingungen.

Gesetzlich geschützte Gewährleistungsrechte sind in den meisten Ländern vorhanden. In den USA ist das Magnuson-Moss Warranty Act der Bundesgesetzgeber, der Verbraucherproduktwarrantien regelt. Dieses Gesetz verpflichtet Garantiegeber, Verbrauchern detaillierte Informationen über die Garantieabdeckung zur Verfügung zu stellen.

Garantien und Gewährleistungen unterscheiden sich auch in Bezug auf ihren Umfang. Eine Garantie hat eine zeitliche Begrenzung, z.B. 12 oder 24 Monate, kann aber auf einen längeren Zeitraum wie 36 oder 48 Monate verlängert werden. Im Gegensatz dazu ist eine Garantie nicht zeitlich begrenzt und kann nicht verlängert werden. Eine Garantie ist allgemeiner und eine Garantie ist ein spezifischeres und rechtlich bindenderes Konzept.

Eine andere Art von Garantie muss nicht explizit ausgedrückt werden. Diese stillschweigenden Garantien sind Garantien, die das Gesetz in Ihren Vertrag liest. Fast alle Verbraucherprodukte sind beispielsweise durch eine stillschweigende Garantie der Handelsfähigkeit geschützt, was bedeutet, dass das Produkt so funktioniert, wie es typischerweise erwartet wird. Ein Händler kann stillschweigende Garantien durch Haftungsausschlüsse oder “as is” -Verkäufe ausschließen, aber mehrere Staaten werden den “as is” -Ausschluss für Verbrauchsgüter nicht anerkennen.

In Deutschland werden Gewährleistung und Garantie hauptsächlich im Bürgerlichen Gesetzbuch (BGB) geregelt. Insbesondere im BGB § 437 Nr. 1 (Verkauf) und § 443 (Werkvertrag) werden die gesetzlichen Regelungen zur Gewährleistung von Produkten beschrieben.

Garantien hingegen sind vertragliche Zusagen, die über die gesetzliche Gewährleistung hinausgehen und können von den Parteien frei vereinbart werden. Es gibt jedoch auch spezielle Gesetzte wie das Gesetz gegen den unlauteren Wettbewerb (UWG) welches regelt, dass Garantieangaben genau und nicht irreführend sein müssen.

Das Gesetz gegen den unlauteren Wettbewerb (UWG) ist das deutsche Gesetz, das unlautere Geschäftspraktiken und Wettbewerbsverstöße verfolgt und sanktioniert. Es regelt unter anderem Werbung, Kennzeichnung, Preisangaben und Produktbeschreibungen. Es schützt sowohl Verbraucher als auch Unternehmen vor unlauteren und irreführenden Praktiken. Im UWG Art. § 5, Abs. 1 Nr. 3 regelt es, dass Garantieangaben genau und nicht irreführend sein müssen.

Citations :

  1. https://www.merriam-webster.com/words-at-play/guarantee-and-waranty-are-the-same-word
  2. https://www.diffen.com/difference/Guarantee_vs_Warranty
  3. https://www.termsfeed.com/blog/sample-warranty-policy-template/
  4. https://www.verbraucherzentrale-niedersachsen.de/themen/kaufen-reklamieren/garantie-gewaehrleistung/kurz-erklaert-unterschied-zwischen-garantie-gewaehrleistung#:~:text=Das%20Wichtigste%20in%20K%C3%BCrze,richtet%20sich%20nach%20seinen%20Bedingungen.
  5. https://www.upcounsel.com/warranty-laws-by-state
  6. https://www.rechtsanwalt-grau.de/garantie-und-gewaehrleistung-was-sind-die-unterschiede/
  7. https://www.upcounsel.com/warranty-vs-guarantee
  8. https://www.consumerreports.org/cro/magazine/2013/05/the-word-on-warranty-protection/index.htm
  9. https://www.findlaw.com/consumer/consumer-transactions/warranty-vs-guarantee-what-you-need-to-know.html
  10. https://www.easternarchitectural.com/blog/understanding-the-difference-warranty-vs.-guarantee#:~:text=The%20Legalities,binding%20to%20protect%20both%20parties.
  11. https://www.ftc.gov/business-guidance/resources/businesspersons-guide-federal-warranty-law
  12. https://www.finanztip.de/garantie-gewaehrleistung/
  13. https://study.com/learn/lesson/warranty-types-examples-implied.html

https://www.e-recht24.de/artikel/ecommerce/76.html

https://www.ihk.de/osnabrueck/recht-und-fair-play/handel-und-gewerbe/handelsrecht/gewaehrleistung-und-garantie-1086220

https://www.channelpartner.de/a/der-unterschied-zwischen-garantie-und-gewaehrleistung,2593115

https://sevdesk.de/lexikon/gewaehrleistung/

https://www.verbraucherzentrale-niedersachsen.de/themen/kaufen-reklamieren/garantie-gewaehrleistung/kurz-erklaert-unterschied-zwischen-garantie-gewaehrleistung

https://europa.eu/youreurope/citizens/consumers/shopping/guarantees-returns/faq/index_de.htm

https://www.rechtsanwalt-grau.de/garantie-und-gewaehrleistung-was-sind-die-unterschiede/

https://www.juraforum.de/lexikon/garantie

Intel has recently released their 12th generation Alder Lake processors, which feature a unique hybrid architecture. The processors combine two types of cores: Performance-cores (P-cores) and Efficient-cores (E-cores). P-cores are the traditional cores that we're used to, with high clock speeds and Hyper-Threading. E-cores, on the other hand, are smaller, consume less power, but are slower and do not offer Hyper-Threading.

The Alder Lake processors are now fully compatible with the latest version of Linux Kernel 5.18+. This new architecture brings a significant improvement in performance compared to traditional single-core processors. It allows for better multi-threaded application performance and more efficient power consumption. Additionally, Intel has optimized the Alder Lake processors to provide improved system responsiveness across a wide range of workloads. By combining the power of both E-cores and P-cores, Intel has achieved the perfect balance between power and efficiency.

To activate E-cores in Linux, users must run the command “lscpu —all —extended”. This will display the CPU column and CORE column, which can be used to identify which cores are P-cores and which are E-cores. Once identified, users can then configure their system to use the appropriate cores for different tasks.

One of the most interesting features of the Alder Lake processors is that the performance of P-cores scales reliably with the number of cores, while the E-cores provide a massive 40% improvement in single-core efficiency over Skylake chips. This allows for improved battery life in laptops. Intel has configured their 12th generation CPUs with 8 blocks dedicated to P-cores and two blocks dedicated to E-cores. This configuration is faster for rendering than if Intel had used all 10 blocks for P-cores.

In summary, the Intel Alder Lake processors are now compatible with Linux 5.18, and offer improved performance and efficiency thanks to their hybrid architecture. Users can take advantage of this by running the “lscpu —all —extended” command in Linux to identify and configure their system to use the appropriate cores for different tasks.

Citations :

  1. https://helpdeskgeek.com/reviews/what-are-intels-e-cores-and-p-cores/
  2. https://www.intel.com/content/www/us/en/gaming/resources/how-hybrid-design-works.html
  3. https://stackoverflow.com/questions/71122837/how-to-detect-e-cores-and-p-cores-in-linux-alder-lake-system
  4. https://www.makeuseof.com/intel-cpus-explained-what-are-e-cores-and-p-cores/
  5. https://www.itsfoss.net/linux-5-18-arrives-with-important-improvements-for-intel-alder-lake/
  6. https://www.cgdirector.com/p-cores-vs-e-cores/
  7. https://unix.stackexchange.com/questions/724636/enable-e-cores-in-linux
  8. https://www.pugetsystems.com/labs/articles/intel-12th-gen-how-do-p-cores-and-e-cores-compare-2289/

EDID stands for Extended Display Identification Data, which is a data format that contains information about a display device, such as its resolution, refresh rate, and supported color depths. It is typically stored in the display device itself, and is used by the operating system to automatically configure the display settings.

The command sudo get-edid | parse-edid uses two utilities, get-edid and parse-edid, that are not included by default in Ubuntu 22.04.

You can check if the utilities are installed by running the command which get-edid and which parse-edid in the terminal. If the output is “command not found”, it means that the utilities are not installed and you need to install them.

You can install the utilities by running the following command:

sudo apt-get install read-edid

This will install the package “read-edid” which contains both get-edid and parse-edid utilities.

Once the package is installed, you can then use the command sudo get-edid | parse-edid to display the EDID information for all connected displays.

In Ubuntu 22.04, you can troubleshoot EDID issues by checking the output of the following command in the terminal:

sudo get-edid | parse-edid

This command will display the EDID information for all connected displays, and can help you identify any issues with the data.

If the output shows that no EDID data is available, it may indicate a problem with the connection between the display and the computer, or a problem with the display itself. You can try unplugging and then plugging in the display, or connecting it to a different port on the computer, to see if that resolves the issue.

If the output shows that the EDID data is invalid or corrupt, it may indicate a problem with the firmware of the display. In this case, you may need to contact the manufacturer for assistance.

You can also check the logs for any error message related to EDID, by running the following command:

grep -i edid /var/log/Xorg.0.log

https://github.com/erkserkserks/h264ify

“Try h264ify if YouTube videos stutter, take up too much CPU, eat battery life, or make your laptop hot.

By default, YouTube streams VP8/VP9 encoded video. However, this can cause problems with less powerful machines because VP8/VP9 is not typically hardware accelerated.

In contrast, H.264 is commonly hardware accelerated by GPUs, which usually means smoother video playback and reduced CPU usage. h264ify makes YouTube stream H.264 videos instead of VP8/VP9 videos[…]”

H264ify is a browser extension for Chrome and Firefox that aims to improve the performance of YouTube video playback by redirecting YouTube to use the H.264 video codec instead of the VP9 codec. H.264 is a widely used video compression standard that is known for its high efficiency and good quality. VP9, on the other hand, is a newer codec developed by Google that is designed to be more efficient than H.264, but it is not as widely supported.

The problem with VP9 is that it can cause high CPU usage and lead to poor performance on some systems, especially on older computers or those with weaker processors, resulting in choppy playback, dropped frames, and other issues. H264ify addresses this problem by redirecting YouTube to use H.264 instead of VP9, leading to a significant improvement in video playback performance, especially on systems that have difficulty decoding VP9. In addition to improving performance, H264ify also has the added benefit of reducing data usage and battery consumption, as H.264 is a more efficient codec than VP9.

To determine if you might need the H264ify addon on an Ubuntu 22.04 system, you can check the processor architecture of your computer. If your processor is a 64-bit architecture, then you are less likely to experience the poor video playback performance that the addon aims to fix. To check the processor architecture of your system, you can use the command uname -m in the terminal, which will output either “x86_64” for a 64-bit processor or “i686” for a 32-bit processor. Additionally, you can also check the codec used by your browser to decode the video by using the browser's developer tools, or by using a website such as YouTube HTML5 Video Player Detection.

It is worth noting that even if you have a 64-bit processor, you may still want to use the H264ify addon to reduce data usage and battery consumption. To install H264ify, users can download it from the Chrome Web Store or the Firefox Add-ons page. They may also need to enable GPU acceleration, which can be done by following instructions from WebUpd8.org. Once installed, users can check which format YouTube is using to stream videos by right-clicking on the video and selecting the “stats for nerds” option. If H264ify is working correctly, the mime type should read video/mp4.

H264ify is a browser extension for Chrome and Firefox that helps improve video streaming performance on YouTube. It does this by switching the YouTube video stream from using VP8/VP9 to H.264 instead. This change is instant and not visible or noticeable to the user's eye.

The main benefit of using H264ify is that it reduces the load on the CPU, as H.264 is commonly hardware accelerated by GPUs. This usually results in smoother video playback and reduced CPU usage. Additionally, it may help users who try to play high resolution video on YouTube, such as 1080p video, and notice dropped frames or jerky playback.

To install H264ify, users can download it from the Chrome Web Store or the Firefox Add-ons page. They may also need to enable GPU acceleration, which can be done by following instructions from WebUpd8.org.

Once installed, users can check which format YouTube is using to stream videos by right-clicking on the video and selecting the “stats for nerds” option. If H264ify is working correctly, the mime type should read video/mp4.

In summary, H264ify is a browser extension that aims to improve YouTube video playback performance by forcing the use of the H.264 codec instead of VP9. This can lead to a significant improvement in video playback performance, especially on systems that have difficulty decoding VP9. Additionally, it also has the added benefit of reducing data usage and battery consumption. It's worth noting that even if you have a 64-bit processor, you may still want to use the H264ify addon to reduce data usage and battery consumption, as H.264 is a more efficient codec than VP9.

To check if your Firefox or Chrome browser is using the VP9 codec, you can use the browser's developer tools.

In Firefox:

Open Firefox and navigate to a YouTube video. Press F12 to open the developer tools. Select the Network tab. Refresh the page and look for a request to a video with “vp9” in the name.

In Chrome:

Open Chrome and navigate to a YouTube video. Press F12 to open the developer tools. Select the Network tab. Refresh the page and look for a request to a video with “vp9” in the name. If you see requests for videos with “vp9” in the name, then your browser is likely using the VP9 codec to decode the video. If you don't see any requests with “vp9” in the name, then your browser is likely using a different codec, such as H.264.

Alternatively, you can use a website such as YouTube HTML5 Video Player Detection to check which codec your browser uses to play YouTube videos.

It's worth noting that, even if your browser is using VP9 codec, it does not mean you will experience poor video playback performance, it may depend on the type and quality of your computer hardware and network connection.

It is possible to determine which codec your browser is using to decode video from the terminal, but it would require additional tools and commands.

One way to do this is by using the youtube-dl command-line tool, which can be installed by running the following command:

sudo apt-get install youtube-dl

Once installed, you can use the youtube-dl command to download a YouTube video, and the tool will display information about the codecs used in the video.

For example, to download a YouTube video and display information about the codecs used:

youtube-dl --verbose [video_url]

This command will download the video and output a lot of information about the video, including the codecs used. You can look for the “vp9” in the output to see if the video is using VP9 codec.

Another way is using ffmpeg tool that can be installed by running the following command:

sudo apt-get install ffmpeg

Then you can use the ffmpeg command to analyze the video file and get information about the codecs used.

ffmpeg -i [video_file]

This command will output information about the video, including the codecs used, you can look for the “vp9” in the output to see if the video is using VP9 codec.

It's worth noting that these methods just give you an idea of the codec used in the video file, but they don't indicate the codec used by the browser to decode the video, because browsers have their own codecs and sometimes use different codecs than the ones used in the video file.

Citations :

  1. https://www.quora.com/What-exactly-does-the-h264ify-Chrome-extension-do-and-should-we-use-it
  2. https://www.ghacks.net/2016/06/26/improve-youtube-performance-firefox/
  3. https://www.reddit.com/r/chromeos/comments/583f9b/psa_if_you_dont_know_about_the_h264ify_extension/
  4. https://github.com/erkserkserks/h264ify
  5. https://github.com/erkserkserks/h264ify-firefox
  6. https://lifehacker.com/h264ify-stops-youtube-from-draining-your-laptops-batter-1729588002
  7. https://www.reddit.com/r/chromeos/comments/gv6b4g/psa_if_you_dont_know_about_the_h264ify_extension/

There are several forks too, like this for example

“A Firefox/Chrome extension that blocks video codecs you have chosen on YouTube […]

“enhanced-h264ify is a fork of well-known h264ify extension for Firefox/Chrome which blocks VP8/VP9 codecs on YouTube, so that you can use H264 only. This may be useful because there are lots of devices on the market which support H264 hardware decoding and do not support VP8/VP9.

This extension has new features such as manual blocking of H264, VP8, VP9, AV1 codecs and 60fps video. By default it blocks everything but H264 and 60fps video. It works only on YouTube[…]”

https://github.com/alextrv/enhanced-h264ify

Take control of your digital privacy, security, and wellbeing, learn about tackling misinformation, control your health data, find resources for youth and families, and browse our Alternative App Centre and workshop materials. Meet our partners to get a glimpse into the global movement of the Data Detox Kit[…]

https://datadetoxkit.org/en/home/

Get emergency alerts from warnung.bund.de or alert.swiss

https://f-droid.org/packages/de.nucleus.foss_warn/