<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8932463445002003828</id><updated>2026-08-26T17:33:00.126+02:00</updated><category term="Guide e Tutorials"/><category term="Repository"/><category term="Ubuntu 12.04 Precise Pangolin"/><category term="Software Packages"/><category term="Ubuntu 12.10 Quantal Quetzal"/><category term="Grafica"/><category term="Ubuntu 13.04 Raring Ringtail"/><category term="Ubuntu 11.04 Natty Narwhal"/><category term="Ubuntu 10.04 Lucid Lynx"/><category term="Ubuntu 11.10 Oneiric Ocelot"/><category term="Ubuntu 13.10 Saucy Salamander"/><category term="Multimedia"/><category term="Ubuntu 10.10 Maverick Meerkat"/><category term="Sistema"/><category term="Audio"/><category term="Ubuntu 14.04 Trusty Tahr"/><category term="Giochi"/><category term="Ubuntu 9.10 Karmic Koala"/><category term="Ubuntu 9.04 Jaunty Jackalope"/><category term="Office"/><category term="Video"/><category term="Aggiornamenti sistema"/><category term="Ubuntu 8.10 Intrepid Ibex"/><category term="Ubuntu 8.04 Hardy Heron"/><category term="Ubuntu derivate"/><category term="Ubuntu Releases"/><category term="Software Libero"/><category term="Ubuntu 14.10 Utopic Unicorn"/><category term="Utilities"/><category term="Browsers Internet"/><category term="Ambienti Grafici"/><category term="Software Educativo"/><category term="Kubuntu"/><category term="Sicurezza"/><category term="Xubuntu"/><category term="Gnome"/><category term="KDE"/><category term="Ubuntu MATE"/><category term="Linux"/><category term="Ubuntu 15.04 Vivid Vervet"/><category term="Debian"/><category term="Scienze"/><category term="Mozilla Firefox"/><category term="Programmazione"/><category term="Backup"/><category term="Android"/><category term="Infografiche"/><category term="Kernel"/><category term="Applicazioni"/><category term="Ubuntu Gnome"/><category term="Ubuntu 15.10 Wily Werewolf"/><category term="Lubuntu"/><category term="Matematica"/><category term="Ubuntu Kylin"/><category term="Ubuntu Studio"/><category term="Librerie"/><category term="Musica"/><category term="Servers"/><category term="Aggregatori di notizie"/><category term="Archiviazione Dati"/><category term="Google"/><category term="Chat"/><category term="Editori di testo"/><category term="Mobile"/><category term="Posta elettronica"/><category term="Ham Radio"/><category term="Trucchi e Consigli"/><category term="Apple"/><category term="Ubuntu 18.04 Bionic Beaver"/><category term="Databases"/><category term="Internet Tools"/><category term="Unity"/><category term="File Manager"/><category term="News"/><category term="Ubuntu Budgie"/><category term="X Window Manager"/><category term="Boot Manager"/><category term="Edubuntu"/><category term="Estensioni per Mozilla Firefox"/><category term="Reti"/><category term="Compressione e Archiviazione"/><category term="Desktop Publishing"/><category term="Editor HTML"/><category term="Masterizzazione"/><category term="Windows"/><category term="Cloud Computing"/><category term="Mozilla Thunderbird"/><category term="Ubuntu 16.04 Xenial Xerus"/><category term="Web Tools"/><category term="Emulatori"/><category term="Streaming"/><category term="Ubuntu 19.04 Disco Dingo"/><category term="Bittorent"/><category term="Drivers"/><category term="Iniziative Open Source"/><category term="P2P"/><category term="Ubuntu 17.04 Zesty Zapus"/><category term="Utility partizionamento dischi"/><category term="e-Book"/><category term="Content Marketing"/><category term="Crittografia"/><category term="Grub"/><category term="Social Software"/><category term="Strumenti per Bloggers"/><category term="Ubuntu 16.10 Yakkety Yak"/><category term="Internet"/><category term="MacOS"/><category term="Mail Client"/><category term="Mate"/><category term="Ubuntu 18.10 Cosmic Cuttlefish"/><category term="Ubuntu 24.04 Noble Numbat"/><category term="Virtualizzazione"/><category term="Window Manager"/><category term="e-Commerce"/><category term="System Control"/><category term="System Monitor"/><category term="To-Do List Manager"/><category term="VoIP"/><category term="eSpeak"/><category term="Accesibilità"/><category term="Apps"/><category term="Canonical"/><category term="Motori di Ricerca"/><category term="SEO"/><category term="Ubuntu 17.10 Artful Aardvark"/><category term="Ubuntu 19.10 Eoan Ermine"/><category term="Ubuntu 20.04 Focal Fossa"/><category term="Ubuntu 25.10 Questing Quokka"/><category term="Unix"/><category term="Wireless"/><category term="Extensioni per Mozilla Thunderbird"/><category term="FTP (File Transfer Protocol)"/><category term="Firewalls"/><category term="Netbook"/><category term="Schede Audio e Video"/><category term="Social Media Marketing"/><category term="Traduttori"/><category term="Ubuntu 20.10 Groovy Gorilla"/><category term="Ubuntu 22.10 Kinetic Kudu"/><category term="Ubuntu 25.04 Plucky Puffin"/><category term="Ubuntu 26.04 Resolute Raccoon"/><category term="Version Control System"/><category term="La Comunità Italiana di Ubuntu"/><category term="Mappe Mentali"/><category term="Modem Tools"/><category term="Mozilla SeaMonkey"/><category term="OCR"/><category term="Opera"/><category term="Periferiche"/><category term="Reti Sociali"/><category term="Telefonia"/><category term="Ubuntu 21.04 Hirsute Hippo"/><category term="Ubuntu 21.10 Impish Indri"/><category term="Ubuntu 22.04 Jammy Jellyfish"/><category term="Ubuntu 23.10 Mantic Minotaur"/><category term="Ubuntu 24.10 Oracular Oriole"/><category term="Ubuntu Cinnamon"/><category term="Ubuntu Unity"/><category term="Xfce"/><category term="u"/><category term="ub"/><title type='text'>Ubuntulandia</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://ubuntulandia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default?max-results=3'/><link rel='alternate' type='text/html' href='https://ubuntulandia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default?start-index=4&amp;max-results=3'/><author><name>Hugo Repetto</name><uri>http://www.blogger.com/profile/04512812757290712075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfEmCpjv_LTsVMxUmcHpPP6BJGBasaBsbaZ4Z6n-wPcAbQX8NVSTL5LhZyUzL2APhaPjGvxGHQaVkBnK8g1ujRFTxsmpeR8qNDObp7UbvNxRFup5SqA93yzp3gVsAlA/s113/Hugo-cinqueterre.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1357</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>3</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8932463445002003828.post-2065995067243540398</id><published>2026-08-26T17:33:00.000+02:00</published><updated>2026-08-26T17:33:00.120+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Multimedia"/><title type='text'>Come si usa git bisect in FFmpeg per trovare il commit che ha introdotto un bug?</title><content type='html'>&lt;p&gt;&lt;img alt=&quot;Set up and use ffmpeg in Windows?&quot; src=&quot;https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRmHYyJMCDlX0i1CiQx2iZtWFCowIc5UmXbciWHBAFQ7fW774pairxUUehc&amp;amp;s=10&quot; /&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;code&gt;git bisect&lt;/code&gt;&lt;/b&gt; utilizza la ricerca binaria nella cronologia Git di FFmpeg per identificare con precisione il singolo commit che ha introdotto una regressione (&lt;i&gt;regression&lt;/i&gt;).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1.Inizia la sessione e imposta i punti di riferimento:&lt;/strong&gt;Definisci il commit funzionante e quello corrotto.&lt;/p&gt;  &lt;p&gt;Clona il repository ufficiale di FFmpeg e avvia &lt;code&gt;git bisect&lt;/code&gt;, indicando il commit attuale come &amp;quot;bad&amp;quot; e una release precedente nota come &amp;quot;good&amp;quot; (es. il tag &lt;code&gt;n6.1&lt;/code&gt; o un hash specifico):&lt;/p&gt;  &lt;p&gt;Bash&lt;/p&gt;  &lt;pre&gt;&lt;code&gt;git bisect start
git bisect bad                   # Il commit attuale (master) contiene il bug
git bisect good n6.1             # La versione 6.1 funzionava correttamente
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Git calcolerà il numero di passaggi stimati e selezionerà automaticamente un commit a metà strada da testare.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Compila la versione di test corrente:&lt;/strong&gt;Ricompila solo il necessario per accelerare il processo.&lt;/p&gt;

&lt;p&gt;Ad ogni passaggio, Git effettuerà il checkout di un commit diverso. Configura e compila il binario locale:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;./configure --disable-doc --disable-htmlpages --disable-podpages --disable-txtpages
make -j$(nproc)
&lt;/code&gt;&lt;/pre&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;b&gt;Consiglio per la velocità:&lt;/b&gt; Disabilitare la generazione della documentazione (&lt;code&gt;--disable-doc&lt;/code&gt;) riduce notevolmente i tempi di compilazione a ogni ciclo.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;3.Testa il comportamento di FFmpeg:&lt;/strong&gt;Esegui il comando di test per verificare se il bug è presente.&lt;/p&gt;

&lt;p&gt;Esegui il comando che genera l&#39;errore sul file di esempio:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;./ffmpeg -i sample.mp4 -f null -
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Se il comando &lt;b&gt;funziona&lt;/b&gt; correttamente:&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git bisect good
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Se il problema &lt;b&gt;si ripresenta&lt;/b&gt; o si verifica il crash:&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git bisect bad
&lt;/code&gt;&lt;/pre&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Se il codice in quel particolare commit &lt;b&gt;non si compila&lt;/b&gt; a causa di un errore intermedio:&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git bisect skip
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;4.Leggi il risultato e ripristina il branch master:&lt;/strong&gt;Annota l&#39;hash e ripristina il repository.&lt;/p&gt;

&lt;p&gt;Dopo un certo numero di passaggi (solitamente tra 8 e 12 per la cronologia di FFmpeg), Git stamperà a schermo il primo commit responsabile:&lt;/p&gt;

&lt;p&gt;Plaintext&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t is the first bad commit
commit 0a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t
Author: Developer 
Date:   ...
    avcodec/h264dec: fix memory alignment
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Copia l&#39;hash del commit per inserirlo nel report su Trac, quindi chiudi la sessione per tornare al branch originale:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git bisect reset
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;Metodo Automatico: &lt;code&gt;git bisect run&lt;/code&gt;&lt;/h5&gt;

&lt;p&gt;Per evitare di ricompilare e testare manualmente a ogni passaggio, puoi automatizzare l&#39;intera ricerca creando uno script Bash (&lt;code&gt;test_bug.sh&lt;/code&gt;):&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/bin/sh
# 1. Ricompila FFmpeg (se fallisce la build, restituisce codice 125 per fare &#39;skip&#39;)
make -j$(nproc) || exit 125

# 2. Esegui il test: deve restituire 0 se OK, un valore diverso da 0 se fallisce (BAD)
./ffmpeg -v error -i sample.mp4 -f null -
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Rendi lo script eseguibile e avvia l&#39;automazione:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;chmod +x test_bug.sh
git bisect start HEAD n6.1
git bisect run ./test_bug.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Git eseguirà automaticamente la build e il test in loop fino a trovare il commit esatto senza alcun intervento manuale.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://ubuntulandia.blogspot.com/feeds/2065995067243540398/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/come-si-usa-git-bisect-in-ffmpeg-per.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/2065995067243540398'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/2065995067243540398'/><link rel='alternate' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/come-si-usa-git-bisect-in-ffmpeg-per.html' title='Come si usa git bisect in FFmpeg per trovare il commit che ha introdotto un bug?'/><author><name>Hugo Repetto</name><uri>http://www.blogger.com/profile/04512812757290712075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfEmCpjv_LTsVMxUmcHpPP6BJGBasaBsbaZ4Z6n-wPcAbQX8NVSTL5LhZyUzL2APhaPjGvxGHQaVkBnK8g1ujRFTxsmpeR8qNDObp7UbvNxRFup5SqA93yzp3gVsAlA/s113/Hugo-cinqueterre.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8932463445002003828.post-4799307131346437184</id><published>2026-08-24T18:34:00.000+02:00</published><updated>2026-08-24T18:34:00.122+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sistema"/><title type='text'>I migliori programmi per fare un benchmark su Ubuntu</title><content type='html'>&lt;p&gt;&lt;img src=&quot;https://i0.wp.com/www.moreware.org/wp/wp-content/uploads/2022/06/1404262328_capture1.jpg?resize=793%2C616&amp;amp;ssl=1&quot; /&gt;&lt;/p&gt;  &lt;p&gt;Su Ubuntu esistono diverse opzioni per eseguire benchmark, che variano da strumenti semplici con interfaccia grafica (GUI) a suite professionali via terminale (CLI).&lt;/p&gt;  &lt;p&gt;Ecco i migliori programmi suddivisi per categoria e componente da testare:&lt;/p&gt;  &lt;hr /&gt;  &lt;h4&gt;1. Suite Complete (Tutto in uno)&lt;/h4&gt;  &lt;h5&gt;&lt;b&gt;Phoronix Test Suite&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;È lo standard industriale per Linux. È uno strumento estremamente potente che permette di eseguire migliaia di test diversi (CPU, GPU, RAM, Disco) e confrontarli con un database online (OpenBenchmarking.org).&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Ideale per:&lt;/b&gt; Test professionali e confronti dettagliati.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Installazione:&lt;/b&gt; &lt;code&gt;sudo apt install phoronix-test-suite&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Comando rapido:&lt;/b&gt; &lt;code&gt;phoronix-test-suite benchmark pts/cpu&lt;/code&gt; (per la CPU).&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;h5&gt;&lt;b&gt;HardInfo (System Profiler and Benchmark)&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;È l&#39;alternativa grafica più vicina a programmi come &amp;quot;AIDA64&amp;quot; o &amp;quot;Speccy&amp;quot; su Windows. Mostra informazioni sull&#39;hardware e include alcuni benchmark rapidi per la CPU (FPU Raytracing, CryptoHash, ecc.).&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Ideale per:&lt;/b&gt; Chi preferisce un&#39;interfaccia a finestre semplice.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Installazione:&lt;/b&gt; &lt;code&gt;sudo apt install hardinfo&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;hr /&gt;  &lt;h4&gt;2. Benchmark CPU e RAM&lt;/h4&gt;  &lt;h5&gt;&lt;b&gt;Geekbench 6&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Uno dei benchmark più famosi al mondo, ottimo per confrontare il tuo PC Ubuntu con Mac, Windows o smartphone. Fornisce un punteggio per le prestazioni Single-Core e Multi-Core.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Utilizzo:&lt;/b&gt; Si scarica dal sito ufficiale come file compresso, si estrae e si esegue il file binario nel terminale. I risultati vengono caricati sul loro sito.&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;h5&gt;&lt;b&gt;Sysbench&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Uno strumento da terminale molto leggero ma efficace per testare la CPU (calcolo di numeri primi) e la velocità della memoria.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Installazione:&lt;/b&gt; &lt;code&gt;sudo apt install sysbench&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Comando CPU:&lt;/b&gt; &lt;code&gt;sysbench cpu run&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Comando RAM:&lt;/b&gt; &lt;code&gt;sysbench memory run&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;hr /&gt;  &lt;h4&gt;3. Benchmark GPU (Scheda Video)&lt;/h4&gt;  &lt;h5&gt;&lt;b&gt;Unigine Superposition / Heaven&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Sono tra i benchmark grafici più spettacolari e pesanti disponibili nativamente per Linux. Testano la stabilità della GPU e il frame rate (FPS) in scenari 3D complessi.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Ideale per:&lt;/b&gt; Gaming e stress test della scheda video.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Dove trovarli:&lt;/b&gt; Scaricabili dal sito ufficiale di &lt;a href=&quot;https://unigine.com/en/products/benchmarks&quot;&gt;Unigine&lt;/a&gt;.&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;h5&gt;&lt;b&gt;GLMark2&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Un benchmark leggero basato su OpenGL. È utile per testare rapidamente se i driver video sono configurati correttamente.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Installazione:&lt;/b&gt; &lt;code&gt;sudo apt install glmark2&lt;/code&gt;&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;&lt;b&gt;Esecuzione:&lt;/b&gt; Digita semplicemente &lt;code&gt;glmark2&lt;/code&gt; nel terminale.&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;hr /&gt;  &lt;h4&gt;4. Benchmark Disco (SSD/NVMe)&lt;/h4&gt;  &lt;h5&gt;&lt;b&gt;GNOME Disks (Dischi)&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Ubuntu ha già un tool integrato molto semplice. Cerca l&#39;app &amp;quot;Dischi&amp;quot; nel menu, seleziona il tuo SSD, clicca sui tre puntini in alto a destra e seleziona &lt;b&gt;&amp;quot;Benchmark partizione&amp;quot;&lt;/b&gt;.&lt;/p&gt;  &lt;h5&gt;&lt;b&gt;KDiskMark&lt;/b&gt;&lt;/h5&gt;  &lt;p&gt;Se cerchi un&#39;alternativa grafica identica al famoso &lt;i&gt;CrystalDiskMark&lt;/i&gt; di Windows, questa è la scelta migliore.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;p&gt;&lt;b&gt;Installazione:&lt;/b&gt; Disponibile solitamente come Flatpak o tramite PPA (&lt;code&gt;sudo add-apt-repository ppa:guilherme-p/kdiskmark&lt;/code&gt;).&lt;/p&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;hr /&gt;  &lt;h4&gt;Tabella Riassuntiva&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;Componente&lt;/strong&gt;    &lt;br /&gt;&lt;strong&gt;Programma Consigliato&lt;/strong&gt;    &lt;br /&gt;&lt;strong&gt;Tipo&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Generale&lt;/b&gt;    &lt;br /&gt;Phoronix Test Suite    &lt;br /&gt;Terminale (Potente)&lt;/p&gt;  &lt;p&gt;&lt;b&gt;CPU/Info&lt;/b&gt;    &lt;br /&gt;HardInfo    &lt;br /&gt;Grafico (Semplice)&lt;/p&gt;  &lt;p&gt;&lt;b&gt;CPU/Multi&lt;/b&gt;    &lt;br /&gt;Geekbench 6    &lt;br /&gt;Terminale/Web&lt;/p&gt;  &lt;p&gt;&lt;b&gt;GPU&lt;/b&gt;    &lt;br /&gt;Unigine Superposition    &lt;br /&gt;Grafico (Grave)&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Disco&lt;/b&gt;    &lt;br /&gt;KDiskMark    &lt;br /&gt;Grafico (Intuitivo)&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://ubuntulandia.blogspot.com/feeds/4799307131346437184/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/i-migliori-programmi-per-fare-un.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/4799307131346437184'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/4799307131346437184'/><link rel='alternate' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/i-migliori-programmi-per-fare-un.html' title='I migliori programmi per fare un benchmark su Ubuntu'/><author><name>Hugo Repetto</name><uri>http://www.blogger.com/profile/04512812757290712075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfEmCpjv_LTsVMxUmcHpPP6BJGBasaBsbaZ4Z6n-wPcAbQX8NVSTL5LhZyUzL2APhaPjGvxGHQaVkBnK8g1ujRFTxsmpeR8qNDObp7UbvNxRFup5SqA93yzp3gVsAlA/s113/Hugo-cinqueterre.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8932463445002003828.post-9074744126529558355</id><published>2026-08-19T17:27:00.000+02:00</published><updated>2026-08-19T17:27:00.114+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Multimedia"/><title type='text'>Come si usa Valgrind con FFmpeg per identificare problemi di memoria da allegare a un bug report?</title><content type='html'>&lt;p&gt;&lt;img alt=&quot;c - valgrind showing memory leaks. how do i stop the leak? - Stack Overflow&quot; src=&quot;https://i.sstatic.net/ear1q.png&quot; /&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Valgrind&lt;/b&gt; (in particolare il tool &lt;b&gt;Memcheck&lt;/b&gt;) viene utilizzato per rilevare accessi non validi alla memoria (come buffer overflow, &lt;i&gt;use-after-free&lt;/i&gt;, e letture da memoria non inizializzata) o &lt;i&gt;memory leak&lt;/i&gt;.&lt;/p&gt;  &lt;p&gt;Come per GDB, è fondamentale eseguire Valgrind sul binario non strippato con simboli di debug &lt;b&gt;&lt;code&gt;ffmpeg_g&lt;/code&gt;&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1.Verifica la disponibilità di ffmpeg_g:&lt;/strong&gt;Memcheck richiede simboli non strippati per indicare file e righe di codice.&lt;/p&gt;  &lt;p&gt;Assicurati di disporre dell&#39;eseguibile di debug &lt;code&gt;ffmpeg_g&lt;/code&gt;. Se stai compilando dai sorgenti, disabilita le ottimizzazioni del compilatore per avere un report più accurato:&lt;/p&gt;  &lt;p&gt;Bash&lt;/p&gt;  &lt;pre&gt;&lt;code&gt;./configure --enable-debug=3 --disable-optimizations --disable-stripping
make -j$(nproc)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;2.Esegui Valgrind con i flag raccomandati:&lt;/strong&gt;Attiva il tracciamento completo delle origini di allocazione.&lt;/p&gt;

&lt;p&gt;Lancia Valgrind con i flag per la ricerca dei leak e il tracciamento delle variabili non inizializzate, reindirizzando l&#39;output su un file di log:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;valgrind --tool=memcheck \
         --leak-check=full \
         --show-leak-kinds=all \
         --track-origins=yes \
         --log-file=valgrind.log \
         ./ffmpeg_g -i input_corrotto.mp4 -f null -
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;3.Disattiva le istruzioni Assembly (Opzionale):&lt;/strong&gt;Disabilita le ottimizzazioni SIMD/ASM se generano falsi positivi.&lt;/p&gt;

&lt;p&gt;Le istruzioni assembly vettoriali (AVX/SSE) usate da FFmpeg per le prestazioni possono talvolta generare falsi positivi in Valgrind o rendere opaca la lettura dello stack trace. Per forzare FFmpeg a usare solo il codice C puro, aggiungi l&#39;opzione &lt;code&gt;-cpuflags 0&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;Bash&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;valgrind --tool=memcheck --leak-check=full --track-origins=yes --log-file=valgrind.log \
         ./ffmpeg_g -cpuflags 0 -i input_corrotto.mp4 -f null -
&lt;/code&gt;&lt;/pre&gt;

&lt;h5&gt;Cosa cercare nel file &lt;code&gt;valgrind.log&lt;/code&gt;&lt;/h5&gt;

&lt;p&gt;Prima di allegare il file al ticket su Trac, controlla che siano presenti errori critici come i seguenti:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;Accessi non validi in lettura o scrittura:&lt;/b&gt;&lt;/p&gt;

    &lt;p&gt;Plaintext&lt;/p&gt;

    &lt;pre&gt;&lt;code&gt;==12345== Invalid read of size 4
==12345==    at 0x123456: h264_decode_frame (h264dec.c:1024)
==12345==  Address 0x7fe1234 è 0 byte dopo un blocco allocato di dimensione 1024
&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;

  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;Uso di valori non inizializzati:&lt;/b&gt;&lt;/p&gt;

    &lt;p&gt;Plaintext&lt;/p&gt;

    &lt;pre&gt;&lt;code&gt;==12345== Conditional jump or move depends on uninitialised value(s)
==12345==    at 0x654321: ff_h264_filter_mb (h264_loopfilter.c:120)
==12345==  Uninitialised value was created by a stack allocation
&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;

  &lt;li&gt;
    &lt;p&gt;&lt;b&gt;Memory Leak a fine esecuzione:&lt;/b&gt;&lt;/p&gt;

    &lt;p&gt;Plaintext&lt;/p&gt;

    &lt;pre&gt;&lt;code&gt;==12345== LEAK SUMMARY:
==12345==    definitely lost: 4,096 bytes in 1 blocks
==12345==    indirectly lost: 16,384 bytes in 4 blocks
&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;Come allegarlo a Trac FFmpeg&lt;/h5&gt;

&lt;ol&gt;
  &lt;li&gt;
    &lt;p&gt;Non incollare l&#39;intero log nel corpo del testo del ticket se supera le poche decine di righe.&lt;/p&gt;
  &lt;/li&gt;

  &lt;li&gt;
    &lt;p&gt;Carica il file &lt;code&gt;valgrind.log&lt;/code&gt; generato come allegato (&lt;i&gt;Attach file&lt;/i&gt;) alla pagina del ticket.&lt;/p&gt;
  &lt;/li&gt;

  &lt;li&gt;
    &lt;p&gt;Nel testo del ticket, incolla solo il blocco di codice relativo alla prima eccezione/errore riscontrata da Valgrind.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='https://ubuntulandia.blogspot.com/feeds/9074744126529558355/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/come-si-usa-valgrind-con-ffmpeg-per.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/9074744126529558355'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/8932463445002003828/posts/default/9074744126529558355'/><link rel='alternate' type='text/html' href='https://ubuntulandia.blogspot.com/2026/08/come-si-usa-valgrind-con-ffmpeg-per.html' title='Come si usa Valgrind con FFmpeg per identificare problemi di memoria da allegare a un bug report?'/><author><name>Hugo Repetto</name><uri>http://www.blogger.com/profile/04512812757290712075</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpfEmCpjv_LTsVMxUmcHpPP6BJGBasaBsbaZ4Z6n-wPcAbQX8NVSTL5LhZyUzL2APhaPjGvxGHQaVkBnK8g1ujRFTxsmpeR8qNDObp7UbvNxRFup5SqA93yzp3gVsAlA/s113/Hugo-cinqueterre.JPG'/></author><thr:total>0</thr:total></entry></feed>