<?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-8694106037992029310</id><updated>2026-10-10T17:31:22.691+08:00</updated><category term="dev"/><category term="電腦"/><category term="Linux"/><category term="攝影"/><category term="Win32"/><category term="惡搞"/><category term="心情"/><category term="不爽"/><category term="ubuntu"/><category term="CE"/><category term="coffee"/><category term="yocto"/><category term="食記"/><category term="Android"/><category term="game"/><category term="八卦"/><category term="taiwan"/><title type='text'>GasVosky的芭樂格</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>361</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-1226640738632962766</id><published>2026-10-03T11:21:19.360+08:00</published><updated>2026-10-03T11:21:19.360+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>windows update 更新清單會卡住</title><content type='html'>&lt;p&gt;基本上是來刷存在感的.&amp;nbsp;我的問題比較奇怪, 它會在 setting 裡的 update 跑幾天幾夜都不會停, 原因可能是你卡到陰 (X) 卡到&amp;nbsp;Delivery Optimization 這個服務 (O), 在這之前個人推薦再找個軟體叫 FluentCleaner, 可以到它的 &lt;a href=&quot;https://github.com/builtbybel/FluentCleaner/releases&quot;&gt;github&lt;/a&gt; 下載&lt;br /&gt;解法比想像中簡單:&lt;/p&gt;&lt;p&gt;win+r, services.msc&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Windows Update 關掉&lt;/p&gt;&lt;p&gt;Delivery Optimization 關掉&lt;/p&gt;&lt;p&gt;&quot;C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization\State\&quot; 底下清掉&lt;/p&gt;&lt;p&gt;Delivery Optimization 打開&lt;/p&gt;&lt;p&gt;Windows Update 打開&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;這次更新不是下載到 C:\Windows\SoftwareDistribution 這裡面, 所以把這裡清空沒有用了.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/1226640738632962766/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/1226640738632962766' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/1226640738632962766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/1226640738632962766'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2026/10/windows-update.html' title='windows update 更新清單會卡住'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-4432554986930008967</id><published>2026-02-11T11:08:00.011+08:00</published><updated>2026-02-12T14:58:29.377+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ROCm 6.4.4 &amp; pytorch 2.9.1 gfx803 / gfx900 build note</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-family: Arial Unicode MS;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;後來想一想&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial Unicode MS;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;&lt;a href=&quot;https://www.blogger.com/blog/post/edit/8694106037992029310/6090412165149654758#&quot;&gt;前篇&lt;/a&gt;留著當筆記&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial Unicode MS;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;對
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;pytorch
2.9.1&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial Unicode MS;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;再開一篇文寫&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;以下筆記我自己實驗出可用的版本&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
ubuntu 24.04.3, ROCm &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;6.4.4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
pytorch 2.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;9&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;目標
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;gfx803,
gfx900. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;以下都可以在虛擬機裡編譯&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;不需要真的有
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;AMD
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;的
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;GPU. 之所以用 ROCm 6.4.4 不用 7.1.1 | 7.2.0 是因為這是最後一版支援 gfx803 (RX460/470/480/560/570/580) 的 ROCm, 也是最後一版支援 WSL 的 ROCm,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;所以這篇就以
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ROCm
6.4.4 (6.x &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;最後一版&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;),
pytorch 2.9.1 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;為主&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;. 還是跟前篇一樣, 要編哪一版 pytorch 就要注意它是對到哪一版 ROCm.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ps. ROCm 7.1.1 可以支援在 ryzen 3000 開始的 APU (代號 gfx902), 但沒實驗出讓它跑 code 的辦法.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;#首先
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;/etc/default/grub
&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;裡替開機參數加東西&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,
GRUB_CMDLINE_LINUX_DEFAULT &lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;後面加上
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc0000; font-family: courier;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;intel_iommu=on,
iommu=pt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #cc0000; font-family: courier;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;intel_iommu
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;是對
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;intel
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;用的&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
AMD ryzen &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;體系的預設
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;amd_iommu
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;都是
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;on,
ryzen &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;之前的要看板子能不能開 IOMMU&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: inherit; font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;#
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;環境變數裡加東西&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;下次登入時就生效&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.
ps. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;加在
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/environment.d/
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;裡無效&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;理由不明&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre style=&quot;font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;# Add GFX803 related variables&lt;/span&gt;
&lt;span style=&quot;color: #0550ae;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;ROC_ENABLE_PRE_VEGA=1&quot;&lt;/span&gt; &lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment
&lt;span style=&quot;color: #0550ae;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;HSA_OVERRIDE_GFX_VERSION=8.0.3&quot;&lt;/span&gt; &lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;安裝
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;miniconda
3. conda init &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;是在
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;$LOGUSER
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;下&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;特別記清處
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;rocm-build
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;這個字&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;後面會很常用上&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Miniconda 3&lt;/span&gt;&lt;/h2&gt;
&lt;pre style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;# Download and Install Miniconda 3&lt;/span&gt;
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /tmp/
sudo bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
sudo sed -i &lt;span style=&quot;color: #0a3069; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;&#39;s|^PATH=&quot;|PATH=&quot;/opt/conda/bin:|&#39;&lt;/span&gt; /etc/environment

&lt;span style=&quot;color: #59636e; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;# Logout to apply environment&lt;/span&gt;
&lt;span style=&quot;color: #0550ae; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;exit&lt;/span&gt;

&lt;span style=&quot;color: #59636e; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;# Logged in&lt;/span&gt;
conda init
&lt;span style=&quot;color: #0550ae; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;source&lt;/span&gt; &lt;span style=&quot;color: #cf222e; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;~&lt;/span&gt;/.bashrc
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
conda create -n rocm-build -y python=3.12
conda activate rocm-build&lt;/span&gt;&lt;/pre&gt;&lt;h2 style=&quot;font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Install Prerequisites&lt;/span&gt;&lt;/h2&gt;
&lt;h4 style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;sudo apt install -y build-essential ccache git libjpeg-dev \&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;libjpeg-turbo8-dev libpng-dev libmsgpack-dev libssl-dev \&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;python3-virtualenv libboost-dev libboost1.83-dev libmsgpack-cxx-dev \&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;ninja-build&lt;/span&gt;&lt;/h4&gt;&lt;h2 style=&quot;font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ROCm 6.4.4&lt;/span&gt;&lt;/h2&gt;

&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Setup AMD repository&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;wget https://repo.radeon.com/rocm/rocm.gpg.key -O - &lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; gpg --dearmor \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee /etc/apt/keyrings/rocm.gpg &lt;span style=&quot;color: #cf222e;&quot;&gt;&amp;gt;&lt;/span&gt; /dev/null&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt;https://repo.radeon.com/rocm/apt/&lt;/span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt;6.4.4&lt;/span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt; noble main&quot;&lt;/span&gt; &lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;--append /etc/apt/sources.list.d/rocm.list&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;echo&lt;/span&gt; -e &lt;span style=&quot;color: #0a3069;&quot;&gt;&#39;Package: *\nPin: release o=repo.radeon.com\nPin-Priority: \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt;600&#39;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee /etc/apt/preferences.d/rocm-pin-600&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo apt update&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Install ROCm 6.4.4&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo apt install rocm rocm-developer-tools rocm-ml-sdk \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;rocm-ml-libraries rocm-hip-sdk rocm-hip-libraries&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo sed -i &lt;span style=&quot;color: #0a3069;&quot;&gt;&#39;s|^PATH=&quot;|PATH=&quot;/opt/rocm/bin:|&#39;&lt;/span&gt; /etc/environment&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;ROCM_PATH=/opt/rocm&quot;&lt;/span&gt; &lt;span style=&quot;color: #cf222e;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Logout to apply environment&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;&lt;span&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h4 class=&quot;western&quot; style=&quot;font-variant: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; text-align: left; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;此時如果要修改
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;rocm
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;安裝版本&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;就要在&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/apt/sources.list.d/rocm.list
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;中修改版本數字跟
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ubuntu
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;發行主版號&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;h4 align=&quot;left&quot; class=&quot;western&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;background-color: #01ffff; color: black; font-family: courier;&quot;&gt;#sudo
nano&amp;nbsp;/etc/apt/sources.list.d/rocm.list&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; color: black; font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ps.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;到寫這篇前還沒看到支援
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ubuntu
26.04&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 style=&quot;font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;color: #1f2328; font-family: inherit; font-size: large;&quot;&gt;rocBLAS&amp;nbsp;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Re-enable conda environment&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;conda activate rocm-build&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Download rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo mkdir /opt/rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo chown $LOGNAME: /opt/rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;git clone --recursive https://github.com/ROCm/rocBLAS.git -b \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;rocm-6.4.4 /opt/rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;cd&lt;/span&gt; /opt/rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Install required packages&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;pip install &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;cmake&amp;lt;4.0&quot;&lt;/span&gt; joblib pyyaml virtualenv \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;typing-extensions&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Build rocBLAS&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;time&lt;/span&gt; ./install.sh -a &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;gfx803;gfx900;gfx90a;gfx942;gfx1100&quot; \&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt;-b rocm-&lt;/span&gt;&lt;span style=&quot;color: #0a3069;&quot;&gt;6.4.4&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Copy compiled library&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;sudo rsync -vrh /opt/rocBLAS/build/release/rocblas-install\&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;/lib/rocblas/library/ /opt/rocm/lib/rocblas/library/&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;SRC=$(sudo find \&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;/opt/rocBLAS/build/release/rocblas-install/lib/ \&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;-type f -name &quot;librocblas.so.*&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;TGT=$(sudo find /opt/rocm/ &lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;-type f -name &quot;librocblas.so*&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;LIST=$(find /opt/rocm/ -type l &lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;-name &quot;librocblas.so*&quot;)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;sudo rsync -vrh \&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;/opt/rocBLAS/build/release/rocblas-install/lib/rocblas/library/ \&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;/opt/rocm/lib/rocblas/library/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;sudo cp -f ${SRC} ${TGT}&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;for d in ${LIST}; do sudo ln -sf ${TGT} ${d}; done&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;rocBLAS
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;這裡新加一個很重要的參數
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;-b,
-b &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;參數是指定
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Tensile
branch, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;這個最好跟
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;rocBLAS
branch &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;一樣指到哪版就指定哪版&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;否則預設會去抓最新版&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;最新版往往要不根本編不起來&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;要不根本不存在&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;我在寫這篇文的時候編譯時
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Tensile
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;指到
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;4.45,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;但
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;github
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;上只
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;release
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;到
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;4.43.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;這裡只能更確定做這些東西的人根本沒試過能不能正常安裝就丟出來了&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4 align=&quot;left&quot; class=&quot;western&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;/h4&gt;
&lt;h2 style=&quot;font-style: normal; font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;rocSOLVER&lt;/span&gt;&lt;/h2&gt;
&lt;p align=&quot;left&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;ps.
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;rocSOLVER
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;在
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;ROCm
7.0 &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;開始才能指定
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tensile
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;版本&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;如果是
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;7.0
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;之後的版本就建議跟
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;rocBLAS
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;一樣
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;install.sh
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;要多下一個
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;-b
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;指定
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Tensile
&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span lang=&quot;zh-TW&quot;&gt;版號&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;(update:
ROCm 7.0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;以上特有&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;rocSOLVER&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;的編法很奇怪&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;最好特別連進去
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ssh
console &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;裡再操作
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;install.sh,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;否則不會動作&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;pre style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Download rocSOLVER&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;sudo mkdir /opt/rocSOLVER&lt;/span&gt;
&lt;span&gt;sudo chown $LOGNAME: /opt/rocSOLVER&lt;/span&gt;
&lt;span&gt;git clone --recursive https://github.com/ROCm/rocSOLVER.git -b \&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border: none; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal;&quot;&gt;&lt;span&gt;rocm-6.4.4 /opt/rocSOLVER&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;cd&lt;/span&gt; /opt/rocSOLVER&lt;/span&gt;

&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Build rocBLAS&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;time&lt;/span&gt; ./install.sh -a &lt;span style=&quot;color: #0a3069;&quot;&gt;&quot;gfx803;gfx900;gfx90a;gfx942;gfx1100&quot;&lt;/span&gt;&lt;/span&gt;


&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Copy compiled library&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;SRC=$(sudo find \
/opt/rocSOLVER/build/release/rocsolver-install/lib/ \
-type f -name &quot;librocsolver.so.*&quot;)

TGT=$(sudo find /opt/rocm/ -type f -name &quot;librocsolver.so*&quot;)

LIST=$(find /opt/rocm/ -type l -name &quot;librocsolver.so*&quot;)

sudo cp -f ${SRC} ${TGT}
for d in ${LIST}; do sudo ln -sf ${TGT} ${d}; done&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;
&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Reboot &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p align=&quot;left&quot; style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; widows: 2;&quot;&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;如果你是在目標機器上編的話才要
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;reboot.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 style=&quot;font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 125%; margin-bottom: 0.17in; margin-top: 0.25in; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;PyTorch 2.9.1&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;pre style=&quot;border: none; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 145%; orphans: 2; padding: 0in; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;background-color: #01ffff; font-family: courier;&quot;&gt;&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Re-enable conda environment&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;conda activate rocm-build&lt;/span&gt;

&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Download PyTorch&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;sudo mkdir /opt/pytorch&lt;/span&gt;
&lt;span&gt;sudo chown $LOGNAME: /opt/pytorch&lt;/span&gt;
&lt;span&gt;git clone --recursive https://github.com/pytorch/pytorch.git -b v2.9.1 /opt/pytorch&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #0550ae;&quot;&gt;cd&lt;/span&gt; /opt/pytorch&lt;/span&gt;

&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Install required packages&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;pip install mkl-static mkl-include -r requirements.txt&lt;/span&gt;

&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Build PyTorch&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;export&lt;/span&gt; PYTORCH_ROCM_ARCH=&quot;gfx803;gfx900&quot;&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;export&lt;/span&gt; PYTORCH_BUILD_VERSION=2.9.1 PYTORCH_BUILD_NUMBER=1&lt;/span&gt;
&lt;span&gt;python tools/amd_build/build_amd.py&lt;/span&gt;
&lt;span&gt;&lt;span style=&quot;color: #cf222e;&quot;&gt;time&lt;/span&gt; python setup.py bdist_wheel&lt;/span&gt;

&lt;span style=&quot;color: #59636e;&quot;&gt;&lt;span&gt;# Install PyTorch&lt;/span&gt;&lt;/span&gt;
&lt;span&gt;pip install /opt/pytorch/dist/torch-2.9.1-cp312-cp312-linux_x86_64.whl&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h4 style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ps&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.
torchVision &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;要編譯
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;0.2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;4.1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;版&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;跟
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;pytorch
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;也是有對應版號的&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blog/post/edit/8694106037992029310/6090412165149654758#&quot;&gt;https://github.com/pytorch/vision&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ps2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;. torchAudio&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;對應版號是&amp;nbsp;2.9.1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-emoji: normal; font-variant-numeric: normal; font-variant-position: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;版&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;font-variant: normal; letter-spacing: normal; orphans: 2; text-align: left; widows: 2;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;之後就比照&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blog/post/edit/8694106037992029310/6090412165149654758#&quot;&gt;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;這邊筆記操作&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span style=&quot;letter-spacing: normal;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span&gt;&lt;span lang=&quot;zh-TW&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;後續有實驗成功的版本我會再貼上來&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;


&lt;p style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;update: 操蛋的, 花了我三個禮拜試一堆組合後終於可以動了....&lt;br /&gt;&lt;/p&gt;&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #29313d; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 28px; font-weight: 400; line-height: 1.15; margin: 2.75rem 0px 1.05rem; user-select: text;&quot;&gt;MNIST PyTorch example&lt;a class=&quot;headerlink&quot; href=&quot;https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/3rd-party/pytorch-install.html#mnist-pytorch-example&quot; style=&quot;box-sizing: border-box; color: #e89217; font-size: 0.8em; margin-left: 0.2em; opacity: 0.7; overflow-wrap: break-word; padding: 0px 4px; text-decoration-line: none; text-underline-offset: 0.1578em; transition: 0.2s ease-out; user-select: none; visibility: hidden;&quot; title=&quot;Link to this heading&quot;&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ol class=&quot;arabic&quot; style=&quot;background-color: white; box-sizing: border-box; color: #222832; font-size: 16px; list-style-image: initial; list-style-position: initial; margin-bottom: 1rem; margin-top: 0px; padding-inline-start: 2rem; padding-left: 2rem; user-select: text;&quot;&gt;&lt;li style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.25rem; margin-top: 0px; user-select: text;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Clone the PyTorch examples repository.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;highlight-bash notranslate&quot; style=&quot;border-radius: 0.25rem; box-sizing: border-box; break-inside: avoid; clear: none; display: flex; flex-direction: column; margin: 1em 0px; user-select: text; width: unset;&quot;&gt;&lt;div class=&quot;highlight&quot; style=&quot;background: rgb(254, 254, 254); border-radius: 0.25rem; box-sizing: border-box; break-inside: avoid; color: #080808; display: flex; flex-direction: column; min-height: 2em; position: relative; user-select: text; width: unset;&quot;&gt;&lt;pre id=&quot;codecell37&quot; style=&quot;background-color: #f3f4f5; border-color: rgb(209, 213, 218); border-image: none 100% / 1 / 0 stretch; border-radius: 0.25rem; border-style: solid; border-width: 1px; box-sizing: border-box; clear: none; color: #222832; font-size: 0.875em; line-height: 17.5px; margin: 0px; overflow: auto; padding: 1rem; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;/span&gt;git&lt;span class=&quot;w&quot; style=&quot;box-sizing: border-box; color: #080808; user-select: text;&quot;&gt; &lt;/span&gt;clone&lt;span class=&quot;w&quot; style=&quot;box-sizing: border-box; color: #080808; user-select: text;&quot;&gt; &lt;/span&gt;https://github.com/pytorch/examples.git
&lt;/span&gt;&lt;/pre&gt;&lt;button class=&quot;copybtn o-tooltip--left&quot; data-clipboard-target=&quot;#codecell37&quot; data-tooltip=&quot;Copy&quot; style=&quot;align-items: center; appearance: button; background-color: #f3f4f5; border-color: initial; border-radius: 0.4em; border-style: none; border-width: initial; color: #29313d; cursor: pointer; display: flex; font-size: inherit; height: 1.7em; justify-content: center; line-height: inherit; margin: 0px; opacity: 0; outline: none; padding: 0px; position: absolute; right: 0.3em; top: 0.3em; transition: opacity 0.3s, border 0.3s, background-color 0.3s; user-select: none; width: 1.7em;&quot;&gt;&lt;svg class=&quot;icon icon-tabler icon-tabler-copy&quot; fill=&quot;none&quot; height=&quot;44&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; stroke-width=&quot;1.5&quot; stroke=&quot;#000000&quot; viewbox=&quot;0 0 24 24&quot; width=&quot;44&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;path d=&quot;M0 0h24v24H0z&quot; fill=&quot;none&quot; stroke=&quot;none&quot;&gt;&lt;/path&gt;&lt;rect height=&quot;12&quot; rx=&quot;2&quot; width=&quot;12&quot; x=&quot;8&quot; y=&quot;8&quot;&gt;&lt;/rect&gt;&lt;path d=&quot;M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;/svg&gt;&lt;/button&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;p style=&quot;box-sizing: border-box; font-size: 1em; margin-bottom: 0.25rem; margin-top: 0.25rem; user-select: text;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;Go to the MNIST example folder.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;highlight-bash notranslate&quot; style=&quot;border-radius: 0.25rem; box-sizing: border-box; break-inside: avoid; clear: none; display: flex; flex-direction: column; margin: 1em 0px; user-select: text; width: unset;&quot;&gt;&lt;div class=&quot;highlight&quot; style=&quot;background: rgb(254, 254, 254); border-radius: 0.25rem; box-sizing: border-box; break-inside: avoid; color: #080808; display: flex; flex-direction: column; min-height: 2em; position: relative; user-select: text; width: unset;&quot;&gt;&lt;pre id=&quot;codecell38&quot; style=&quot;background-color: #f3f4f5; border-color: rgb(209, 213, 218); border-image: none 100% / 1 / 0 stretch; border-radius: 0.25rem; border-style: solid; border-width: 1px; box-sizing: border-box; clear: none; color: #222832; font-size: 0.875em; line-height: 17.5px; margin: 0px; overflow: auto; padding: 1rem; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;nb&quot; style=&quot;box-sizing: border-box; color: #7f4707; user-select: text;&quot;&gt;cd&lt;/span&gt;&lt;span class=&quot;w&quot; style=&quot;box-sizing: border-box; color: #080808; user-select: text;&quot;&gt; &lt;/span&gt;examples/mnist&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;以上引用自&amp;nbsp;&lt;a href=&quot;https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/3rd-party/pytorch-install.html&quot;&gt;https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/3rd-party/pytorch-install.html&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;update2: rocm 7.0 開始擋掉對 gfx803 的支援.&lt;/p&gt;&lt;p style=&quot;line-height: 100%; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/4432554986930008967/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/4432554986930008967' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4432554986930008967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4432554986930008967'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2026/02/rocm-644-pytorch-291-gfx803-gfx900.html' title='ROCm 6.4.4 &amp; pytorch 2.9.1 gfx803 / gfx900 build note'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-4104330183449298721</id><published>2026-02-06T11:20:00.016+08:00</published><updated>2026-02-07T19:51:28.118+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ROCm 6.3.3 &amp; pytorch 2.4.1 gfx803 / gfx900 build note</title><content type='html'>&lt;p&gt;這篇只是筆記, 主要引述自&lt;a href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file&quot;&gt;(NULL0xFF / rocm-gfx803)這裡&lt;/a&gt;的編譯指引, 這篇主要針對 ubuntu 22.04 的環境使用, 對的是 ROCm 6.1.5, 所以 pytorch 最好的配對版本是 2.4.1, pytorch 對 ROCm 的版本基本不會是自由配對, 可以參考&lt;a href=&quot;https://pytorch.org/get-started/previous-versions/&quot;&gt;這裡&lt;/a&gt;, 而&amp;nbsp;pytorch 每個版本編譯情況不一樣, 通常要選好特定的版本下手比較穩..&amp;nbsp;&lt;/p&gt;&lt;p&gt;以下筆記我自己實驗出可用的版本, ubuntu 24.04.3, ROCm 6.3.3, pytorch 2.4.1, 目標 gfx803, gfx900. 以下都可以在虛擬機裡編譯, 不需要真的有 AMD 的 GPU.&lt;/p&gt;&lt;p&gt;# 環境變數裡加東西, 下次登入時就生效. ps. 加在 /etc/environment.d/ 裡無效, 理由不明.&lt;/p&gt;&lt;pre style=&quot;background-color: #f6f8fa; border-radius: 6px; box-sizing: border-box; color: #1f2328; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Add GFX803 related variables&lt;/span&gt;
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;ROC_ENABLE_PRE_VEGA=1&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;HSA_OVERRIDE_GFX_VERSION=8.0.3&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment&lt;/pre&gt;&lt;p&gt;安裝 miniconda 3. conda init 是在 $LOGUSER 下, 特別記清處 rocm-build 這個字, 後面會很常用上&lt;/p&gt;&lt;pre style=&quot;background-color: #f6f8fa; border-radius: 6px; box-sizing: border-box; color: #1f2328; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Download and Install Miniconda 3&lt;/span&gt;
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -P /tmp/
sudo bash /tmp/Miniconda3-latest-Linux-x86_64.sh -b -p /opt/conda
sudo sed -i &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;s|^PATH=&quot;|PATH=&quot;/opt/conda/bin:|&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; /etc/environment

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Logout to apply environment&lt;/span&gt;
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;exit&lt;/span&gt;

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Logged in&lt;/span&gt;
conda init
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;source&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;~&lt;/span&gt;/.bashrc
conda create -n rocm-build -y python=3.12
conda activate rocm-build&lt;/pre&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;Install Prerequisites&lt;/h4&gt;&lt;a aria-label=&quot;Permalink: Install Prerequisites&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#install-prerequisites&quot; id=&quot;user-content-install-prerequisites&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 10px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-shell notranslate position-relative overflow-auto&quot; dir=&quot;auto&quot; style=&quot;background-color: #f6f8fa; box-sizing: border-box; color: #1f2328; display: flex; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; justify-content: space-between; margin-bottom: 16px; overflow: auto; position: relative; user-select: text;&quot;&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;sudo apt install -y build-essential ccache git libjpeg-dev libjpeg-turbo8-dev libpng-dev libmsgpack-dev libssl-dev python3-virtualenv libboost-dev libboost1.83-dev libmsgpack-cxx-dev &lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;h3 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1.25em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;&lt;p style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; font-weight: 400;&quot;&gt;ps. ROCm 6.3 最後一版是 6.3.4, 但 rocblas 關聯 ROCm 6.3 的部份只到 6.3.3, 所以以下 ROCm 使用 6.3.3&lt;/p&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 16px; font-weight: 400; position: relative; user-select: text;&quot;&gt;&lt;/div&gt;&lt;/h3&gt;&lt;h3 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1.25em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;Install ROCm (基本到 7.2.0 也一樣)&lt;/h3&gt;&lt;a aria-label=&quot;Permalink: Install ROCm&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#install-rocm&quot; id=&quot;user-content-install-rocm&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 12.5px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;ROCm 6.3.3&lt;/h4&gt;&lt;a aria-label=&quot;Permalink: ROCm 6.1.5&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#rocm-615&quot; id=&quot;user-content-rocm-615&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 10px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-shell notranslate position-relative overflow-auto&quot; dir=&quot;auto&quot; style=&quot;background-color: #f6f8fa; box-sizing: border-box; color: #1f2328; display: flex; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; justify-content: space-between; margin-bottom: 16px; overflow: auto; position: relative; user-select: text;&quot;&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Setup AMD repository&lt;/span&gt;
wget https://repo.radeon.com/rocm/rocm.gpg.key -O - &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; gpg --dearmor &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee /etc/apt/keyrings/rocm.gpg &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;&amp;gt;&lt;/span&gt; /dev/null
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.3.3 noble main&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee --append /etc/apt/sources.list.d/rocm.list
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;echo&lt;/span&gt; -e &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee /etc/apt/preferences.d/rocm-pin-600
sudo apt update

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Install ROCm 6.3.3&lt;/span&gt;
sudo apt install rocm rocm-developer-tools rocm-ml-sdk rocm-ml-libraries rocm-hip-sdk rocm-hip-libraries
sudo sed -i &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;s|^PATH=&quot;|PATH=&quot;/opt/rocm/bin:|&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt; /etc/environment
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;ROCM_PATH=/opt/rocm&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;|&lt;/span&gt; sudo tee -a /etc/environment

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Logout to apply environment&lt;/span&gt;
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;exit&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; position: relative; user-select: text;&quot;&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: black; font-size: medium; font-weight: 400;&quot;&gt;此時如果要修改 rocm 安裝版本, 就要在&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;/etc/apt/sources.list.d/rocm.list 中修改版本數字跟 ubuntu 發行主版號:&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;&lt;span style=&quot;color: black; font-size: medium; font-weight: 400;&quot;&gt;#sudo nano&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;/etc/apt/sources.list.d/rocm.list&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;ps. 到寫這篇前還沒看到支援 ubuntu 26.04&lt;/div&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 1em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;rocBLAS&amp;nbsp;&lt;/h4&gt;&lt;a aria-label=&quot;Permalink: rocBLAS 4.0.0&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#rocblas-400&quot; id=&quot;user-content-rocblas-400&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 10px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-shell notranslate position-relative overflow-auto&quot; dir=&quot;auto&quot; style=&quot;background-color: #f6f8fa; box-sizing: border-box; color: #1f2328; display: flex; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; justify-content: space-between; margin-bottom: 16px; overflow: auto; position: relative; user-select: text;&quot;&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Re-enable conda environment&lt;/span&gt;
conda activate rocm-build

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Download rocBLAS&lt;/span&gt;
sudo mkdir /opt/rocBLAS
sudo chown &lt;span class=&quot;pl-smi&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;$LOGNAME&lt;/span&gt;: /opt/rocBLAS
git clone --recursive https://github.com/ROCm/rocBLAS.git -b rocm-6.3.3 /opt/rocBLAS
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;cd&lt;/span&gt; /opt/rocBLAS

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Install required packages&lt;/span&gt;
pip install &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;cmake&amp;lt;4.0&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; joblib pyyaml

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Build rocBLAS&lt;/span&gt;
&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;time&lt;/span&gt; ./install.sh -a &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;gfx803;gfx900;gfx90a;gfx942;gfx1100&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Copy compiled library&lt;/span&gt;
sudo rsync -vrh /opt/rocBLAS/build/release/rocblas-install/lib/rocblas/library/ /opt/rocm/lib/rocblas/library/
sudo cp -f $(find /opt/rocBLAS/build/release/rocblas-install/lib/ -type f -name &quot;librocblas.so.*&quot;) $(find /opt/rocm/ -type f -name &quot;librocblas.so*&quot;)$(find /opt/rocBLAS/build/release/rocblas-install/lib/ -type f -name &quot;librocblas.so.*&quot;) $(find /opt/rocm/ -type f -name &quot;librocblas.so*&quot;)&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;rocBLAS 這裡會編譯從 ROCm 6.0 開始就被拿掉的 gfx803, gfx900 hsaco 等 kernel 檔案, 以及把檔案關聯放進 librocblas.so 裡 (ROCm 5.0 開始 gfx803, gfx900 有檔案但沒有相關連結), 因為如果全部的 GPU 都塞進來的話, 會在後面編 pytorch ldd 時因為 so 檔太大無法成功連結, 所以選好自己想要編進去的東西. 而 gfx90a/942/1100 這三個是 pytorch 要的, 不是我想加的...&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;rocSOLVER的編法很奇怪, 最好特別連進去 ssh console 裡再操作 install.sh, 否則不會動作.&lt;/p&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;rocSOLVER&lt;/h4&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;a aria-label=&quot;Permalink: rocSOLVER 3.25.0&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#rocsolver-3250&quot; id=&quot;user-content-rocsolver-3250&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 10px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-shell notranslate position-relative overflow-auto&quot; dir=&quot;auto&quot; style=&quot;background-color: #f6f8fa; box-sizing: border-box; color: #1f2328; display: flex; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; justify-content: space-between; margin-bottom: 16px; overflow: auto; position: relative; user-select: text;&quot;&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Download rocBLAS&lt;/span&gt;
sudo mkdir /opt/rocSOLVER
sudo chown &lt;span class=&quot;pl-smi&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;$LOGNAME&lt;/span&gt;: /opt/rocSOLVER
git clone --recursive https://github.com/ROCm/rocSOLVER.git -b rocm-6.3.3 /opt/rocSOLVER
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;cd&lt;/span&gt; /opt/rocSOLVER

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Build rocBLAS&lt;/span&gt;
&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;time&lt;/span&gt; ./install.sh -a &lt;span class=&quot;pl-s&quot; style=&quot;box-sizing: border-box; color: #0a3069; user-select: text;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;gfx803;gfx900;gfx90a;gfx942;gfx1100&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Copy compiled library&lt;/span&gt;
sudo cp -f $(find /opt/rocBLAS/build/release/rocblas-install/lib/ -type f -name &quot;librocblas.so.*&quot;) $(find /opt/rocm/ -type f -name &quot;librocblas.so*&quot;)echo $(find ./build/release/rocsolver-install/lib/ -type f -name &quot;librocsolver.so.*&quot;) $(find /opt/rocm/ -type f -name &quot;librocsolver.so*&quot;)

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Reboot &lt;/span&gt;
&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;如果你是在目標機器上編的話才要 reboot.&lt;/p&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;h3 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1.25em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;Install PyTorch&lt;/h3&gt;&lt;a aria-label=&quot;Permalink: Install PyTorch&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#install-pytorch&quot; id=&quot;user-content-install-pytorch&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 1; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 12.5px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;markdown-heading&quot; dir=&quot;auto&quot; style=&quot;background-color: white; box-sizing: border-box; color: #1f2328; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; position: relative; user-select: text;&quot;&gt;&lt;h4 class=&quot;heading-element&quot; dir=&quot;auto&quot; style=&quot;box-sizing: border-box; font-size: 1em; line-height: 1.25; margin-bottom: 16px; margin-top: 24px; user-select: text;&quot; tabindex=&quot;-1&quot;&gt;PyTorch 2.4.1 (可以自己改 2.7.1)&lt;/h4&gt;&lt;a aria-label=&quot;Permalink: PyTorch 2.4.1&quot; class=&quot;anchor&quot; href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file#pytorch-241&quot; id=&quot;user-content-pytorch-241&quot; style=&quot;align-items: center; background-color: transparent; border-radius: 6px; box-sizing: border-box; color: #0969da; display: flex; float: left; height: 28px; justify-content: center; left: -28px; line-height: 1; margin: auto; opacity: 0; padding-right: 4px; position: absolute; text-underline-offset: 0.2rem; top: 10px; transform: translateY(-50%); user-select: text; width: 28px;&quot;&gt;&lt;svg aria-hidden=&quot;true&quot; class=&quot;octicon octicon-link&quot; height=&quot;16&quot; version=&quot;1.1&quot; viewbox=&quot;0 0 16 16&quot; width=&quot;16&quot;&gt;&lt;path d=&quot;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;highlight highlight-source-shell notranslate position-relative overflow-auto&quot; dir=&quot;auto&quot; style=&quot;background-color: #f6f8fa; box-sizing: border-box; color: #1f2328; display: flex; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, &amp;quot;Noto Sans&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;; font-size: 16px; justify-content: space-between; margin-bottom: 16px; overflow: auto; position: relative; user-select: text;&quot;&gt;&lt;pre style=&quot;border-radius: 6px; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &amp;quot;SF Mono&amp;quot;, Menlo, Consolas, &amp;quot;Liberation Mono&amp;quot;, monospace; font-size: 13.6px; line-height: 1.45; margin-bottom: 0px; margin-top: 0px; min-height: 52px; overflow-wrap: normal; overflow: auto; padding: 16px; tab-size: 4; user-select: text; word-break: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Re-enable conda environment&lt;/span&gt;
conda activate rocm-build

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Download PyTorch&lt;/span&gt;
sudo mkdir /opt/pytorch
sudo chown &lt;span class=&quot;pl-smi&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;$LOGNAME&lt;/span&gt;: /opt/pytorch
git clone --recursive https://github.com/pytorch/pytorch.git -b v2.4.1 /opt/pytorch
&lt;span class=&quot;pl-c1&quot; style=&quot;box-sizing: border-box; color: #0550ae; user-select: text;&quot;&gt;cd&lt;/span&gt; /opt/pytorch

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Install required packages&lt;/span&gt;
pip install mkl-static mkl-include ninja -r requirements.txt

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Build PyTorch&lt;/span&gt;
&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;export&lt;/span&gt; PYTORCH_ROCM_ARCH=&quot;gfx803;gfx900&quot;
&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;export&lt;/span&gt; PYTORCH_BUILD_VERSION=2.4.1 PYTORCH_BUILD_NUMBER=1
python tools/amd_build/build_amd.py
&lt;span class=&quot;pl-k&quot; style=&quot;box-sizing: border-box; color: #cf222e; user-select: text;&quot;&gt;time&lt;/span&gt; python setup.py bdist_wheel

&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; color: #59636e; user-select: text;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;#&lt;/span&gt; Install PyTorch&lt;/span&gt;
pip install /opt/pytorch/dist/torch-2.4.1-cp312-cp312-linux_x86_64.whl&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;ps1. 2.5.0 &amp;amp; 2.5.1 我嘗試編過, 失敗, 2.6我沒試, 2.7.1可以順利編過, 2.8.0 檔案下載 SHA256 有問題我找不到可以改哪裡. 以上也可以自己改成 2.7.1 跑.&lt;/p&gt;&lt;p&gt;ps2. 2.4.x &amp;amp; 2.5.x 編完記得把 ~/.triton/cache ~/.triton/dump 清一清.&lt;/p&gt;&lt;p&gt;ps3. 如果裝的是 pytorch 2.4.1 的話 torchvision 請用 0.19, pytorch 2.7.1 的話請用 0.22, 參考&amp;nbsp;&lt;a href=&quot;https://github.com/pytorch/vision&quot;&gt;https://github.com/pytorch/vision&lt;/a&gt;&lt;/p&gt;&lt;p&gt;之後就比照&amp;nbsp;&lt;a href=&quot;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file&quot;&gt;https://github.com/NULL0xFF/rocm-gfx803?tab=readme-ov-file&lt;/a&gt; 這邊筆記操作.&lt;/p&gt;&lt;p&gt;後續有實驗成功的版本我會再貼上來.&lt;/p&gt;&lt;p&gt;update: &lt;a href=&quot;https://yoko-hama.blogspot.com/2026/02/rocm-711-pytorch-2100-build-note.html&quot;&gt;pytorch 2.10.0 有編起來&lt;/a&gt;了, 後續 torchvision &amp;amp; pytorch 測試會以 2.10.0 優先, 除非 2.10.0 碰到什麼釘子我再回來 2.7 或 2.4 試試看.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/4104330183449298721/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/4104330183449298721' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4104330183449298721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4104330183449298721'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2026/02/pytorch-build-note.html' title='ROCm 6.3.3 &amp; pytorch 2.4.1 gfx803 / gfx900 build note'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-7264693919059568961</id><published>2025-12-25T15:27:00.003+08:00</published><updated>2025-12-25T15:27:53.048+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>就只是一篇廢文</title><content type='html'>&lt;p&gt;&amp;nbsp;這個 sonic tower 應該是我個人用 PC 裡被延用最久的組件, 好像2001年(?)買的用到今天, 第二名才是機殼(約2005年), 第三名才是 power(不祥).&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxGEscuIJXi8_F8KBi_txW8gUEBiGitHSKXuBwqJOWZLRCmwj5QuFo9KrNjuG6SQm5P98dNNlNQlDXYkym5iwfMpd8JNtFGzYOwUcxtUlicwkWJ4JwO85AIy7mlkHRtZvbrsA0ewbTJvA6PQiQbabziES9tzGtDlZOzMrVxak2ox5nVFkqnvkIdBtZ5sMx/s2048/548196176_10240318409765868_4353232593040912465_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1536&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxGEscuIJXi8_F8KBi_txW8gUEBiGitHSKXuBwqJOWZLRCmwj5QuFo9KrNjuG6SQm5P98dNNlNQlDXYkym5iwfMpd8JNtFGzYOwUcxtUlicwkWJ4JwO85AIy7mlkHRtZvbrsA0ewbTJvA6PQiQbabziES9tzGtDlZOzMrVxak2ox5nVFkqnvkIdBtZ5sMx/w480-h640/548196176_10240318409765868_4353232593040912465_n.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;這顆 CL-P0071 可以從&lt;a href=&quot;https://www.thermaltake.co.nz/product/Cooler/Retail/cl-p0071/cl-p0071.html&quot;&gt;產品網頁&lt;/a&gt;圖上看到有支援 K7 (但下面列表沒有), 最早買的版本是有 socket 462 用的架子, 走 462 旁邊的 4個孔位固定, 所以需要背板支援 (socket370 &amp;amp; socket7 用的是扣具, 還真難改給這兩個使用..), 也就所以這個散熱器一路從我 AthlonXP1500+ (palomino), Athlon64-mobile 2800+ (clawhammer)(754), Athlon64 3000+ (newcastle)(939), phenom9500 (am2), FX8320 (am3), X6-1055t (am3+), ryzen-2700x (am4), 到目前的 ryzen 9700x (am5). 754/939 還有產品附的扣具可以上, AM2 扣具基本要到它&lt;a href=&quot;https://www.thermaltake.co.nz/product/Cooler/Retail/CL-P0323/cl-p0323.html&quot;&gt;第二代產品&amp;nbsp;CL-P0323&lt;/a&gt; 那時才會附, 我當然是沒有, 我也不知道它 AM2 用的是不是從 754 就開始用的兩爪扣 (兩爪扣其實活很久, VIA CPU 事業都死掉了它都還活著, 從 754/939/940 的年代一直到今天 AM5 都是那個寬度), 所以這時開始我只能自己用 L架彎折去做這個很陽春的固定架.&amp;nbsp;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJwZJQHAzm6Rm0U3UMXlsE8RTlA-cMKR_mZiTkHFADCt68cDYRiygaFHJIe2zKdl9NWnjJ_UQbbbkl-3gUSMmz8BuRtNi3D-Swdos7NAo5TtgXIXeueI3309sQlxah9-T9Zw_zrjSlMpTiyyntgeZr7aZmReqDvZSfWmR4hqcryT5XqORbnJr6q1nrmAxq/s2048/481822591_10237226339706049_7100000419998464956_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1536&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJwZJQHAzm6Rm0U3UMXlsE8RTlA-cMKR_mZiTkHFADCt68cDYRiygaFHJIe2zKdl9NWnjJ_UQbbbkl-3gUSMmz8BuRtNi3D-Swdos7NAo5TtgXIXeueI3309sQlxah9-T9Zw_zrjSlMpTiyyntgeZr7aZmReqDvZSfWmR4hqcryT5XqORbnJr6q1nrmAxq/w480-h640/481822591_10237226339706049_7100000419998464956_n.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;就像這樣, 這張只是示意圖. 可以看到中間那條槓已經跟我的人格一樣扭曲了我還不放過它.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;鐵條調一調就可以合 AM2/AM3/AM4/AM5 的孔. 之所以 AM? 我打這麼多是因為它每一代孔位都有點不同, 換了就要調, 而且不像 intel 偏好正方孔位, 塔上面方便用長螺絲起子固定, AM? 不是, 它要先鎖一邊再鎖另一邊, 然後傾斜螺絲起子去鎖緊這 4顆螺斯, 最後的成品才是第一張圖那樣子.&amp;nbsp;&lt;/div&gt;&lt;div&gt;update: 我錯了. socket2011 上沒比較好鎖....&lt;/div&gt;&lt;div&gt;update: AM2 用的螺絲好像是 M3.5, 沒求證, 我都直接用主機板附的或是幹別人的來用&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;以上只是 sonic tower 被我虐待的慘狀而已, 再來貼幾個凌虐的後續作品. 這個是給 xeon e2276ME 使用的, 這是一片 CPU on board 的板子, 固定孔位為 58x58mm, 遠遠的比之前列的都要窄, 所以要找小一點的塔位給它上讓它安心上路:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuVacnykPPx11cODmiZ70GZgMYWIbYH8fYv1Lr3X5e2PJ-SMnYhNNilTryn96ppF7l0Jf3-NnwVjiWdipl8e2_7Vy4q8utGvUYyD70Xb6C3Gas_4A8mHjQ_0-N1rx38LZA04wNgSjaO6Gyz7NrALMsiaTC-cpv5W24ddCl97cXfjHuIibAKyn4b4Mye1qR/s2048/481766868_10237227606297713_8998688830680742101_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1536&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuVacnykPPx11cODmiZ70GZgMYWIbYH8fYv1Lr3X5e2PJ-SMnYhNNilTryn96ppF7l0Jf3-NnwVjiWdipl8e2_7Vy4q8utGvUYyD70Xb6C3Gas_4A8mHjQ_0-N1rx38LZA04wNgSjaO6Gyz7NrALMsiaTC-cpv5W24ddCl97cXfjHuIibAKyn4b4Mye1qR/w480-h640/481766868_10237227606297713_8998688830680742101_n.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;這次用的是小 L架, 散熱器隨便去二手市場找了一個說沒扣具便宜賣的, 品項真新, 我很滿意. 可以看的到 CPU 週圍 lay 了很多礙事的鳥蛋東西要特別閃開. e2276ME 表面上說 45w TDP, embedded 產品, 實際上如果你散熱器真的只做 45w 的能力, 你就會因為過熱一直重開機重開爽的. 後來換到這個最少可以撐 90w 的才安份下來.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;然後再來這一個, 這一個也是買二手的, 這次記得是改裝給 socket2011v3 用:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlNl41iWELKXZWBVon3FMs9xMY9-SdpvPc-eLKdN5IEhlz7LrSqz39ARK0vANiQWe0rwcfa-wH_FOwS64swilZujyvVIc68JW8VrCDMmtUe-zUH9gD25rPtS-dCEDhSsUWfnL7GOhnJ1akgBWWCYzmatHcfIGqfLfueSk88Gjnt6e79mqrsXPMNik9zJqH/s2048/558818523_10240813845911462_1333873396187912227_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1536&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlNl41iWELKXZWBVon3FMs9xMY9-SdpvPc-eLKdN5IEhlz7LrSqz39ARK0vANiQWe0rwcfa-wH_FOwS64swilZujyvVIc68JW8VrCDMmtUe-zUH9gD25rPtS-dCEDhSsUWfnL7GOhnJ1akgBWWCYzmatHcfIGqfLfueSk88Gjnt6e79mqrsXPMNik9zJqH/w480-h640/558818523_10240813845911462_1333873396187912227_n.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;做好的的扣具. 反正可以調, 看起來整齊就可以交差了zzz&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjisgJkO2k5wNtmAZISfwtGqZWjf8maqu4SBvFRY5jiwlIE0ON8PpbxPmZmwRCo0AYC84PF6wTWdKFyq1IoEqFQgTOCrBfDomH-d-Gx0jPNc6uZWJ_TDbX1WeVlGN3IJ-6r5z_XYNBxXM2TPGqPkNniCqxFCAu-mXxv2fvE9-RSAk3nr9ASWZcCVVsgWPcj/s2048/557870595_10240813847271496_5758746568620835907_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1536&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjisgJkO2k5wNtmAZISfwtGqZWjf8maqu4SBvFRY5jiwlIE0ON8PpbxPmZmwRCo0AYC84PF6wTWdKFyq1IoEqFQgTOCrBfDomH-d-Gx0jPNc6uZWJ_TDbX1WeVlGN3IJ-6r5z_XYNBxXM2TPGqPkNniCqxFCAu-mXxv2fvE9-RSAk3nr9ASWZcCVVsgWPcj/w480-h640/557870595_10240813847271496_5758746568620835907_n.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;接下來合孔位:&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkvV2N7xYZYIHK8UXiyFqZu-U5fVcoSYVtHzVMO1QA8ZbenZm5OlunCmGbmFwQmJ1e3HuLj_AzqKY5qUN-q39rFgI11kdLJMBMkZx9Tp8-0SoX4k0roqNcsVSRcxDpR91tOBaabDuIUdYIeWme7Gr7VkVocK9JgUyoNq6IztTfD2cWbgKM2R3YP-DRB1jp/s2048/559889148_10240813849031540_4957557986683258849_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1536&quot; data-original-width=&quot;2048&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkvV2N7xYZYIHK8UXiyFqZu-U5fVcoSYVtHzVMO1QA8ZbenZm5OlunCmGbmFwQmJ1e3HuLj_AzqKY5qUN-q39rFgI11kdLJMBMkZx9Tp8-0SoX4k0roqNcsVSRcxDpR91tOBaabDuIUdYIeWme7Gr7VkVocK9JgUyoNq6IztTfD2cWbgKM2R3YP-DRB1jp/w640-h480/559889148_10240813849031540_4957557986683258849_n.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;2011v3 記得用的是 80x80mm, M4 螺絲, 然後 2011 還有人做 AM2 兩爪扣具可用, 不過臨時買不到那兩爪扣, 就給它這個陽春散熱器直上, &lt;strike&gt;燒掉就算了管它的zzz&lt;/strike&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;所以, 問我整臺電腦裡什麼東西可以用最久, 我覺得就是散熱器了.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/7264693919059568961/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/7264693919059568961' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7264693919059568961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7264693919059568961'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2025/12/blog-post.html' title='就只是一篇廢文'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxGEscuIJXi8_F8KBi_txW8gUEBiGitHSKXuBwqJOWZLRCmwj5QuFo9KrNjuG6SQm5P98dNNlNQlDXYkym5iwfMpd8JNtFGzYOwUcxtUlicwkWJ4JwO85AIy7mlkHRtZvbrsA0ewbTJvA6PQiQbabziES9tzGtDlZOzMrVxak2ox5nVFkqnvkIdBtZ5sMx/s72-w480-h640-c/548196176_10240318409765868_4353232593040912465_n.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-2144538852945472913</id><published>2025-09-23T16:00:00.004+08:00</published><updated>2025-12-25T14:26:51.344+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="不爽"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>Brave Browser Extension issue in Windows</title><content type='html'>&lt;p&gt;&amp;nbsp;!說在前面, brave browser 這個問題是 windows 特有!&lt;/p&gt;&lt;p&gt;問題的現像為 extension 無法下載, 無法載入, 無法執行.&lt;/p&gt;&lt;p&gt;目前的結論, 問題發生的主因是 %TEMP% 目錄下 brave browser 無權執行.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;個人使用 chromium base web browser (brave, vivaldi) 有個習慣是把整個 user-data-dir 丟上 RAMdisk 裡跑, vivaldi 叫 &quot;%LOCALAPPDATA%\Vivaldi\User Data&quot;, brave 叫 &quot;%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data&quot;, 因為 extension 跑的資料也會在這區裡運作, 間接會變的很會磨 SSD 寫入次數, 所以個人把這目錄重導向到 &lt;a href=&quot;https://yoko-hama.blogspot.com/2021/04/imdisk.html&quot;&gt;IMdisk&lt;/a&gt; 建的 RAMdisk 裡使用有一段時間, 也是到最近發現 brave browser 開始出問題才注意到. (chrome 也會有一樣的 extension 的問題, 但 vivaldi 到目前都很正常).&lt;/p&gt;&lt;p&gt;然後我花了很多時間交叉測試後, 最後才找到原來跟暫存目錄有關係. 我有使用兩個 RAMdisk 軟體, 一個是 DATARAM RAMdisk 一個是 IMdisk, 而 %TMP% %TEMP% 都是指到 IMdisk 去, 而 brave 大約從 1.79 版開始, %TMP% %TEMP% 這裡就會有無法存取的問題, 一開始只是無法再安裝新 extension, 到後來會連載入都無法載入. 這時剩一個能用的方法, 就是在啟動 brave browser 時, 把這個 app 的 %TMP%, %TEMP% 全部重新導向:&lt;/p&gt;&lt;p&gt;!!&lt;span style=&quot;color: red;&quot;&gt;b:\tmp 是 DATARAM 的 RAMdisk, 不是 IMdisk 的, 特別注意.&lt;/span&gt;!!&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;C:\Windows\System32\cmd.exe .exe /c &quot;set TEMP=B:\tmp&amp;amp;&amp;amp;set TMP=B:\tmp&amp;amp;&amp;amp;start brave&quot;&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;無痕就用&lt;br /&gt;C:\Windows\System32\cmd.exe .exe /c &quot;set TEMP=B:\tmp&amp;amp;&amp;amp;set TMP=B:\tmp&amp;amp;&amp;amp;start brave --incognito&quot;&lt;/p&gt;&lt;p&gt;--&lt;/p&gt;&lt;p&gt;這樣 extension 才能正常跑. 而且請注意, 這樣是 brave 安裝在 %ProgramFiles% 下的才可以成功指定, &lt;span style=&quot;color: red;&quot;&gt;裝在 %LOCALAPPDATA% 裡的以上方法無效&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;而且, brave browser 長年以來很莫明奇妙一點就是 linux 底下都很正常, windoz 下怪問題一堆.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update:&lt;/p&gt;&lt;p&gt;是這一區權限有問題:&lt;/p&gt;&lt;p&gt;%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Extensions&lt;/p&gt;&lt;p&gt;為了讓 extensions 可以正常運作, 只好把這區全 junction 到真正的 RAMdisk 裡或其它 fixed disk 裡運作.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update: 2025/11 這時間左右的 update 修掉這個問題, 反而換 yahoo 拍賣爛掉了. yahoo拍賣的問題就不關RAMdisk的事了.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/2144538852945472913/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/2144538852945472913' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2144538852945472913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2144538852945472913'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2025/09/brave-browser-extension-issue-in-windows.html' title='Brave Browser Extension issue in Windows'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8343286608998359997</id><published>2025-07-16T13:10:00.004+08:00</published><updated>2025-07-22T13:49:48.566+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>rustdesk 拿回短 ID 一點筆記 (windoz)</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;這篇筆記以 windoz 為主, 因為 linux 版我目前不知道怎麼救.&amp;nbsp;&lt;br /&gt;簡單的說, rustdesk 官網會記錄你機器 UUID (UEFI UUID), 一但同一片板子重裝 OS 後再使用 rustdesk 時, rustdesk 官網發現你的機器 UUID 已經註冊時, 就會再換發一個新的 ID (10碼, 一般是 9碼) 給你.我就無聊, 我想換回來. 基本上, relay-server 重新設定過後, 就沒重覆 UUID 註冊的問題..&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;1.關掉 rustdesk, 關掉 rustdesk service.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;2.用 notepad++ 之類可以偵測檔案變動的編輯軟體開好以下兩個設定檔:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk\config\RustDesk.toml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier; font-size: x-small;&quot;&gt;%APPDATA%\Rustdesk\config\Rustdesk.toml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3.把這兩個檔裡 enc_id 清除為 encid = &#39;&#39;&lt;/p&gt;&lt;p&gt;4.斷網, 斷網後重啟 rustdesk.&lt;/p&gt;&lt;p&gt;5.可以看到步驟 2開的那兩個檔案 enc_id 有被變動, 這時就是你機器原本該有的 enc_id, 記得備一份下來.&lt;/p&gt;&lt;p&gt;6.重新連網, 不用啟動 service, 可以再次看到 enc_id 再被改變, 此時再將步驟 5抄下的 enc_id 給它貼回去, 存檔.&lt;/p&gt;&lt;p&gt;7.下次再開 rustdesk 就是你原本舊的 ID.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;linux 底下 rustdesk 設定檔似乎僅只有 $HOME/.config/rustdesk/RustDesk.toml 一個而已, 還沒驗證過只改這個檔是否生效.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8343286608998359997/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8343286608998359997' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8343286608998359997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8343286608998359997'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2025/07/rustdesk-id-windoz.html' title='rustdesk 拿回短 ID 一點筆記 (windoz)'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-5850660929465854768</id><published>2025-05-18T15:53:00.007+08:00</published><updated>2025-05-21T00:11:19.385+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="攝影"/><title type='text'>[雜記] Tamron A007 part3</title><content type='html'>&lt;p&gt;&amp;nbsp;轉眼間&lt;a href=&quot;https://yoko-hama.blogspot.com/2015/06/tamron-a007.html&quot;&gt;這顆鏡頭買也有 10 年&lt;/a&gt;了. 到今天仍然會留著它出勤, 主要還是因為相較於原廠 24-70mm 第一代完全不同的發色色調, 原廠那支拍風景很好, 這支拍人像效果比較好. 這篇要講的主角其實是 Viltrox NF-Z 轉接環, &lt;a href=&quot;https://yoko-hama.blogspot.com/2019/10/nikon-z6-ftz.html&quot;&gt;因為 FTZ 跟 A007 有點相容性問題&lt;/a&gt;, 鏡身防手震 (鏡身防手震應該要稱為 OIS, 但為了怕混淆, 所以以下稱 VC) 不能開, 開了機身防手震 (以下稱 IBIS) 會三不五時跳爽的, 把鏡身 VC 關掉, 機身 IBIS 也會跟著關掉, 總之會讓你有一種比搭原廠鏡還糟糕的使用體驗在, 所以我才在尋找能給 A007 穩定使用的轉接環. 到今天為止也沒什麼選擇, 就 FTZ (FTZ ii Nikon 有承諾過跟一代完全一樣) 跟 Viltrox NF-Z 這支.&lt;/p&gt;&lt;p&gt;然後以下我會解釋為什麼前一篇我要砍掉.&lt;/p&gt;&lt;p&gt;NF-Z firmware 剛拿到時是 1.3版, 認不到 A007, 更版到 2.1後認的到, 然後先說結論, A007 可以正常使用.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;我現在更版到 2.4, 2.4 之前的 2.3 版有多一個功能, 轉接環上的開關可以切換要機身防手振 (機身往鏡頭方向看出去右邊) 還是鏡身防手震 (左邊), 這功能非常重要, 建議用戶更版到這版或以後. 我在拿到後試切換鏡身 VC 跟機身 IBIS 時有懷疑 A007 VC 是不是有正常啟動, 以下三張照都是 ISO1250, f/2.8, 快門 1/10s, 鏡身 70mm端下照的, 機身 Nikon Z6 第一代:&lt;/p&gt;&lt;p&gt;沒 VC 沒 IBIS:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8XpWqFOn52o4igRSa531xuLEoBMI7oyc-Ton3_jzmIKQ-n6lVkP0H9qvIw8WdBmR8V9il4iPAaF_eE2O3h2gnSxKyBEcegrKgEOV7emWxlah3-MZ6jqdOzIUZANeLr6BMB4ZKoMzxFPSCxLru6DOQwJIublmCdel8OKX5Klj5q-6bWfo4xyaHuDbWk5qc/s1024/2.jpg&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8XpWqFOn52o4igRSa531xuLEoBMI7oyc-Ton3_jzmIKQ-n6lVkP0H9qvIw8WdBmR8V9il4iPAaF_eE2O3h2gnSxKyBEcegrKgEOV7emWxlah3-MZ6jqdOzIUZANeLr6BMB4ZKoMzxFPSCxLru6DOQwJIublmCdel8OKX5Klj5q-6bWfo4xyaHuDbWk5qc/w640-h480/2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;結論很明顯......&lt;/p&gt;&lt;p&gt;有 VC 沒IBIS:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjLYXJADQLuWY9YMTi9Q3y1yQmJijjzLxQjkHZUNCm7imiCatimj0FndPiN2MUqmlX5c6Odc8CD8uIN33fI_nmV7EvcooiB6ddI76kK-qWAOYJZAw_iW1vQ_yQeF1JP8V6pD2RTt6EsNN9NM_fIAIQGcitPF6OkzvcafWCOedMcvXTaw2APW_84E-p1M_uH&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjLYXJADQLuWY9YMTi9Q3y1yQmJijjzLxQjkHZUNCm7imiCatimj0FndPiN2MUqmlX5c6Odc8CD8uIN33fI_nmV7EvcooiB6ddI76kK-qWAOYJZAw_iW1vQ_yQeF1JP8V6pD2RTt6EsNN9NM_fIAIQGcitPF6OkzvcafWCOedMcvXTaw2APW_84E-p1M_uH=w640-h480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;也就因為成像還是如此糟糕, 我一度以為轉接後 VC 沒有作用, 後來拿 D610 交叉比對測試下, 看來 A007 OIS能力就這樣而已.....&lt;/p&gt;&lt;p&gt;沒 VC 有 IBIS:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEguKZ5aEFLMJxbfIrvCOz4FJRwpp5cYPycIqm5jl-PtJZKDwUBns3GFfSdmzr4TF3i06DB-Cu7Dc3GDR9YrQR_1tRO-dN0GuX03CfDUf0epkduVsnHIZSrIuRngkZgcCe1Hf7b_UUG9bkB9jmoDF6M8xrXvJHL9IUmgTotOBg9GrJ1rrouAt-ZzZfaTixS5&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEguKZ5aEFLMJxbfIrvCOz4FJRwpp5cYPycIqm5jl-PtJZKDwUBns3GFfSdmzr4TF3i06DB-Cu7Dc3GDR9YrQR_1tRO-dN0GuX03CfDUf0epkduVsnHIZSrIuRngkZgcCe1Hf7b_UUG9bkB9jmoDF6M8xrXvJHL9IUmgTotOBg9GrJ1rrouAt-ZzZfaTixS5=w640-h480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;這是鏡身 VC 沒開, 機身 IBIS 有開. 所以機身 IBIS 效果比較好....&lt;br /&gt;&lt;br /&gt;所以結論是 A007 VC 功能在 Z6 上效果不會比較好, 不開比較好. 那不開不是跟原廠鏡差別是什麼? 喔, 比較小支, 原廠後來有 VR 的那支又大又重又長, 畫質也沒比較出色, 然後 F 鏡一般沒有鏡機連動防手震, 這種功能只留給 Z 鏡而已.&lt;br /&gt;&lt;p&gt;這隻被 Tamron 放棄很久的產品, 現在新的 A032, Sigma 24-70 f/2.8 DG ART II 都比它強了, 留著這支繼續用, 用的就只是一個革命情感而已.&lt;/p&gt;&lt;p&gt;在發現 A007 VC 啟動疑似不正常後, 我覺得我對 NF-Z 轉接環的結論應該下的太早, 以為實際上沒有完全支援 A007, 所以把前一篇砍掉. 後來反複驗證的結果證明 A007 在 NF-Z 上動作正常, 只是效果不如預期而已.&lt;/p&gt;&lt;p&gt;題外話來說說 Tamron A005, 70-300mm VC 這支, NF-Z formware 2.40 下仍舊不太正常, 如果一定要開鏡身 OIS, 有個懶人解法是: NF-Z 開鏡身 OIS (機身往鏡頭方向看出去左邊), 鏡身 VC 開關先關掉, 相機開機, 再把鏡身 VC 打開, 此時就可以正常動作. 我猜每次相機深度睡眠回來都要這樣操作一次才會正常, 沒很深入研究. 再不然就只開機身 IBIS, 200mm 焦長以下可能還算可靠吧? 沒實驗, 只有很短暫碰一下.&lt;/p&gt;&lt;p&gt;NF-Z 接 sigma 17-70mm 時相機機身 IBIS 也會亂跳, 基本上用 sigma 的鏡頭就乖乖用 FTZ.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/5850660929465854768/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/5850660929465854768' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/5850660929465854768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/5850660929465854768'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2025/05/tamron-a007-part3.html' title='[雜記] Tamron A007 part3'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8XpWqFOn52o4igRSa531xuLEoBMI7oyc-Ton3_jzmIKQ-n6lVkP0H9qvIw8WdBmR8V9il4iPAaF_eE2O3h2gnSxKyBEcegrKgEOV7emWxlah3-MZ6jqdOzIUZANeLr6BMB4ZKoMzxFPSCxLru6DOQwJIublmCdel8OKX5Klj5q-6bWfo4xyaHuDbWk5qc/s72-w640-h480-c/2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-27128071452187088</id><published>2025-01-24T15:38:00.003+08:00</published><updated>2025-01-24T15:38:30.388+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>wch ch340...</title><content type='html'>&lt;p&gt;會用到這個便宜貨是因為公司專案需要, 剛好買到地雷.&lt;/p&gt;&lt;p&gt;ch340 windoz driver ver:&amp;nbsp;&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;&quot;&gt;3.9.2024.9, windoz 10 ltsc2019 (build 1809),&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;它的問題是這樣, 在 windoz 下開啟它時, 速率超過 9600 會直接 fail. 解決方式也很簡單, SetCommState API 先設定為 9600, 再設定成你要的 baud 再跑一次 SetCommState, 就可以了.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;linux 下沒這問題zzzzzz&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;windoz 都不太會用了&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/27128071452187088/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/27128071452187088' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/27128071452187088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/27128071452187088'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2025/01/wch-ch340.html' title='wch ch340...'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-7421887969063264939</id><published>2024-12-20T00:03:00.003+08:00</published><updated>2024-12-20T00:03:20.734+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>linux &amp; serial port mouse.</title><content type='html'>&lt;p&gt;&amp;nbsp;linux 底下 serial port 可以怎樣搞它這不用我在這講, 這次只講 serial port 版本的滑鼠怎麼用. serial port touch 也是類似的用法.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://forums.linuxmint.com/viewtopic.php?t=329420&quot;&gt;https://forums.linuxmint.com/viewtopic.php?t=329420&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: seagreen; font-family: Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 11.7px; white-space: pre;&quot;&gt;&quot;inputattach --microsoft -daemon /dev/ttyS0&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: seagreen; font-family: Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 11.7px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/7421887969063264939/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/7421887969063264939' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7421887969063264939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7421887969063264939'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/12/linux-serial-port-mouse.html' title='linux &amp; serial port mouse.'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-2599401585543799594</id><published>2024-12-05T10:11:00.000+08:00</published><updated>2024-12-05T10:11:04.415+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>USB i2c dongle 一點小筆記</title><content type='html'>&lt;p&gt;以下以 ubuntu linux 平臺下應用為主. 使用前個人建議給自己的帳號加入兩個群組:&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;# sudo usermod -aG dialout ${USER}&lt;br /&gt;# sudo usermod -aG i2c ${USER}&lt;/div&gt;&lt;p&gt;方便以一般使用者身份操作.&lt;/p&gt;&lt;p&gt;目前買過的幾種:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;WCH CH341: 市面上最多也最便宜, i2c&amp;nbsp; / spi 要另外掛 driver. 我目前用&amp;nbsp;&lt;a href=&quot;https://github.com/frank-zago/ch341-i2c-spi-gpio&quot;&gt;flank&amp;nbsp;的版本&lt;/a&gt;, 不過 SPI 要另外寫 script 開啟. ch341 i2c 本身有不等待 ACK 回應的問題, 會有些相容性問題, 這點要特別注意.&lt;/li&gt;&lt;li&gt;WCH CH347: 目前簡單測試是還沒碰到問題, driver 我用 &lt;a href=&quot;https://github.com/aystarik/ch347-i2c-spi-gpio&quot;&gt;aystarik的版本&lt;/a&gt;, &lt;a href=&quot;https://github.com/zetta-shao/ch347-i2c-spi-gpio&quot;&gt;這個&lt;/a&gt;是我從 aystarik的版本再修改過的版本, ACK 回應還沒測試, 後面補上..&lt;/li&gt;&lt;li&gt;FTDI FT232H: 這個要用它的 i2c 要透過它的 MPSSE library, 但看來還需要 programming GPIO 的 EEPROM 資料, 目前不會動. python i2c 據說可以繞過沒 EEPROM 資料直接操作, 懶的理會....&lt;/li&gt;&lt;li&gt;SiliconLab CP2112: 這個跟 FT232H 一樣沒原生 i2c master 的 kernel module 可用, 都要透過它自家的 library 操作, 看到這裡就直接丟在一邊沒繼續再試.&lt;/li&gt;&lt;li&gt;STM32F103C8T6 i2c-tiny-usb: 這個是眾多寫成 i2c-tiny-usb 的裝置之一, code在&lt;a href=&quot;https://github.com/daniel-thompson/i2c-star&quot;&gt;這裡&lt;/a&gt;, 不過這個我用 C6T6 跑不起來, 一定要 C8T6.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;目前拿 stm32 寫的 i2c-tiny-usb 先用, 缺點只是反應稍慢.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;i2c-tiny-usb 還有強者寫出 attiny45/85 的&lt;a href=&quot;https://github.com/harbaum/I2C-Tiny-USB?tab=readme-ov-file&quot;&gt;版本&lt;/a&gt;, attiny 跟 STM32f1 的差別在 attiny 本身沒有 h/w USB, 這個是拿 GPIO 模擬的, 所以 i2c master clock 預設為 50Khz, 然後我沒用過這個版本, 無從報告好壞.&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/2599401585543799594/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/2599401585543799594' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2599401585543799594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2599401585543799594'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/12/usb-i2c-dongle.html' title='USB i2c dongle 一點小筆記'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-4218463110353839108</id><published>2024-09-14T15:13:00.003+08:00</published><updated>2024-09-14T18:09:49.174+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><title type='text'>bleachbit</title><content type='html'>&lt;p&gt;這個其實是我在找 avira 留下的&amp;nbsp;C:\Windows\Temp\sentry_temp 裡一大票垃圾檔怎麼辦時找到的工具, 不過先說在前面, 它沒解 avira 垃圾檔的問題.&lt;/p&gt;&lt;p&gt;官網&lt;br /&gt;&lt;a href=&quot;https://www.bleachbit.org/&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; color: #1155cc; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; pointer-events: none; user-select: text; white-space-collapse: preserve;&quot; target=&quot;_blank&quot;&gt;https://www.bleachbit.org/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;它的清掃能力跟 dism++ 差不多, 不過 dism++ 很久很久沒再維護了. 還有就是 freespace 別勾選, 這個相當於 freespace wipe 也就是軟體做 TRIM, 如果你是在虛擬機裡想減少壓縮備份後的空間, 這功能才有用處.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiy-OkZyXgFmW0e-BP_v32pUIx22TD5lNNOb4IecPY0Eg6PK9nd87nyHL21JkVCFwXJomdCWYztKqcoM4-U2WNXzmvCpNBMPRWBhMtPiD6YE9pV4QSRlZDudJ-9BjLRvYJNNQLl4Y2tt6PQhVn7xx6so-uOjPFYvxNuolOxN8KTLSzrglfNi07EfRzWVFYI&quot; style=&quot;clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;900&quot; data-original-width=&quot;1238&quot; height=&quot;466&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiy-OkZyXgFmW0e-BP_v32pUIx22TD5lNNOb4IecPY0Eg6PK9nd87nyHL21JkVCFwXJomdCWYztKqcoM4-U2WNXzmvCpNBMPRWBhMtPiD6YE9pV4QSRlZDudJ-9BjLRvYJNNQLl4Y2tt6PQhVn7xx6so-uOjPFYvxNuolOxN8KTLSzrglfNi07EfRzWVFYI=w640-h466&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update: 這個目錄是被 avira 的一個&amp;nbsp;SentryEye.exe 使用中, 每一個被執行的東西都會存個大小不一的記錄在這裡面, 剛剛想說移除掉後對 sentry_temp 動點手腳, 再重新裝回去... 很奇怪的, 這個功能就不見了....&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/4218463110353839108/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/4218463110353839108' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4218463110353839108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4218463110353839108'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/09/bleachbit.html' title='bleachbit'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEiy-OkZyXgFmW0e-BP_v32pUIx22TD5lNNOb4IecPY0Eg6PK9nd87nyHL21JkVCFwXJomdCWYztKqcoM4-U2WNXzmvCpNBMPRWBhMtPiD6YE9pV4QSRlZDudJ-9BjLRvYJNNQLl4Y2tt6PQhVn7xx6so-uOjPFYvxNuolOxN8KTLSzrglfNi07EfRzWVFYI=s72-w640-h466-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-4008520792751015424</id><published>2024-06-18T11:43:00.009+08:00</published><updated>2025-10-08T14:12:19.688+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>小麥輸入法@xubuntu24.04</title><content type='html'>&lt;p&gt;&lt;a href=&quot;https://github.com/openvanilla/fcitx5-mcbopomofo&quot;&gt;作者 git&lt;/a&gt;&lt;/p&gt;&lt;p&gt;安裝方式如 git 所寫, 不需要修改, 我只是貼上我自己編的版本 (2.7.11 for ubuntu 24.04 amd64)&lt;/p&gt;&lt;p&gt;替代用了好幾年的新酷音 (ibus-chewing) 輸入法用的, 新酷音在 fcitx5 上的純注音模式還要多按一個下鈕才會出現, fcitx5-zhuyin 也一模一樣, 總之這年頭要找一個純粹注音輸入法竟然是有這麼困難. 還好小麥輸入法這作者還有保留純注音模式, 只是檔案需要自己編譯, 裡面是用 cmake, 所以單獨抽出 binary 包成 .deb 來用. 雖然即便如此, 為了一個 fcitx5 仍要安裝龐大的 qt6 runtime 跟一大票有的沒的東西, 基本上不小於 build-essential...&lt;/p&gt;&lt;p&gt;關聯兩個套件, fcitx5, libfmt9, 也可以用 dpkg -i 安裝完 fcitx5-mcbopomofo 再用 apt-get install -f 叫 apt 自己去補上缺的套件..&lt;/p&gt;&lt;p&gt;2025/10/08 update. 更版到 2.9.2, 後來發現 ibus 的問題也終於修好了. 以下 github:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/openvanilla/fcitx5-mcbopomofo&quot;&gt;https://github.com/openvanilla/fcitx5-mcbopomofo&lt;/a&gt;&lt;/p&gt;&lt;p&gt;檔案:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://github.com/zetta-shao/fcitx5-mcbopomofo-deb/releases/&quot;&gt;https://github.com/zetta-shao/fcitx5-mcbopomofo-deb/releases/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/4008520792751015424/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/4008520792751015424' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4008520792751015424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4008520792751015424'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/06/xubuntu2404.html' title='小麥輸入法@xubuntu24.04'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-7282422712332932306</id><published>2024-06-05T18:11:00.003+08:00</published><updated>2024-06-05T18:11:29.614+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>VMware workstation ubuntu 24.04 note</title><content type='html'>&lt;p&gt;&amp;nbsp;最後竟然是 libfreetype 卡關很久.........&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;sudo apt-install libncursesw6&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ln -s /usr/lib/x86_64-linux-gnu/libncursesw.so.6 /usr/lib/x86_64-linux-gnu/libncursesw.so.5&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;rm /usr/bin/vmware-modconfig&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ln -s /usr/bin/true /usr/bin/vmware-modconfig&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;rm /usr/lib/vmware/lib/libz.so.1/libz.so.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ln -s /usr/lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;rm /usr/lib/vmware/lib/libfontconfig.so.1/libfontconfig.so.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ln -s /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 /usr/lib/vmware/lib/libfontconfig.so.1/libfontconfig.so.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;rm /usr/lib/vmware/lib/libfreetype.so.6/libfreetype.so.6&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text !important; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/lib/vmware/lib/libfreetype.so.6/libfreetype.so.6&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/7282422712332932306/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/7282422712332932306' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7282422712332932306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7282422712332932306'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/06/vmware-workstation-ubuntu-2404-note.html' title='VMware workstation ubuntu 24.04 note'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-6319446270700790254</id><published>2024-04-10T14:42:00.003+08:00</published><updated>2024-04-10T14:42:44.499+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="不爽"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>Windows update without driver</title><content type='html'>&lt;p&gt;我想這已經很多人都知道了. 除了 AMD GPU driver 以外, 有安裝 Intel 官方網站下載的 driver 也建議打開, 例如 vmware workstation/player 會因為 M$ windows-update 給的 driver openGL 有問題, 開起來直接藍底白字. (個人沒很信任 WHQL 的品質, intel driver 品質江河日下的今天它可以比 intel 或 AMD 都還要糟糕....)&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFng7-cJl7LoIXyOJpLJGLrDo__aw-1aBsvtLo5qQwMIB81ESJPXC5UT0zSyU13JwrpXYL3p7kJqPDptPkGEQyBOrnpJlcNaf2LjvtZSfgaTW8v3wvcgiVVChYQzkkYhYBCsSgo7mhK56oj9MQtfdqg-_LlpHBiHMocsuXNxRRNNVkup2BA-qgPrAVB2Yr/s1480/Untitled.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1040&quot; data-original-width=&quot;1480&quot; height=&quot;450&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFng7-cJl7LoIXyOJpLJGLrDo__aw-1aBsvtLo5qQwMIB81ESJPXC5UT0zSyU13JwrpXYL3p7kJqPDptPkGEQyBOrnpJlcNaf2LjvtZSfgaTW8v3wvcgiVVChYQzkkYhYBCsSgo7mhK56oj9MQtfdqg-_LlpHBiHMocsuXNxRRNNVkup2BA-qgPrAVB2Yr/w640-h450/Untitled.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/6319446270700790254/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/6319446270700790254' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/6319446270700790254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/6319446270700790254'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/04/windows-update-without-driver.html' title='Windows update without driver'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFng7-cJl7LoIXyOJpLJGLrDo__aw-1aBsvtLo5qQwMIB81ESJPXC5UT0zSyU13JwrpXYL3p7kJqPDptPkGEQyBOrnpJlcNaf2LjvtZSfgaTW8v3wvcgiVVChYQzkkYhYBCsSgo7mhK56oj9MQtfdqg-_LlpHBiHMocsuXNxRRNNVkup2BA-qgPrAVB2Yr/s72-w640-h450-c/Untitled.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8681051584102738185</id><published>2024-03-07T13:40:00.002+08:00</published><updated>2024-03-07T13:59:30.456+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Win32"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>rustdesk windows build note</title><content type='html'>&lt;p&gt;&amp;nbsp;date: 2024/03/07&lt;/p&gt;&lt;p&gt;reference:&amp;nbsp;&lt;a href=&quot;https://rustdesk.com/docs/en/dev/build/windows/&quot;&gt;https://rustdesk.com/docs/en/dev/build/windows/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;install: (install by administrator)&lt;/p&gt;&lt;p&gt;VS2022: community, with c++ development package, win10sdk 10.19041 (ps. no account)&lt;/p&gt;&lt;p&gt;git:&amp;nbsp;&lt;a href=&quot;https://git-scm.com/download/win&quot;&gt;https://git-scm.com/download/win&lt;/a&gt;&lt;/p&gt;&lt;p&gt;rust:&amp;nbsp;&lt;a href=&quot;https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe&quot;&gt;https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe&lt;/a&gt;&lt;/p&gt;&lt;p&gt;llvm:&amp;nbsp;&lt;a href=&quot;https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe&quot;&gt;https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;install vcpkg:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;git &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;clone&lt;/span&gt; https://github.com/microsoft/vcpkg
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;cd&lt;/span&gt; vcpkg
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;git checkout &lt;span style=&quot;color: red;&quot;&gt;2023.10.19&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;cd&lt;/span&gt; ..
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;vcpkg\bootstrap-vcpkg.bat
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;export&lt;/span&gt; VCPKG_ROOT&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;hljs-variable&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;$PWD&lt;/span&gt;/vcpkg
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;vcpkg\vcpkg.exe install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static aom:x64-windows-static&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;setup VCPKG_ROOT in user environment.&lt;/p&gt;&lt;p&gt;set LIBCLANG_PATH in system environment.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;build rustdesk:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;git &lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;clone&lt;/span&gt; https://github.com/rustdesk/rustdesk
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;span class=&quot;hljs-built_in&quot; style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;cd&lt;/span&gt; rustdesk
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;mkdir -p target&lt;span style=&quot;color: red;&quot;&gt;\&lt;/span&gt;debug
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;curl https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll --output target\debug\sciter.dll&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; display: flex; font-family: Consolas, menlo, monospace; font-size: 15px; user-select: text; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; user-select: text;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;cargo run&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;rustc.exe 跑一跑會無法終止我就不知道什麼原因了.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8681051584102738185/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8681051584102738185' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8681051584102738185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8681051584102738185'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/03/rustdesk-windows-build-note.html' title='rustdesk windows build note'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8365969587660476919</id><published>2024-03-05T10:20:00.004+08:00</published><updated>2024-03-05T10:21:05.175+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="game"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>AMD R5 340/350 R7 240/250 一點筆記</title><content type='html'>&lt;p&gt;&amp;nbsp;GPU: AMD Oland&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.techpowerup.com/gpu-specs/amd-oland.g389&quot;&gt;https://www.techpowerup.com/gpu-specs/amd-oland.g389&lt;/a&gt;&lt;/p&gt;&lt;p&gt;這是從鹹魚上找來的 dell 拆機貨, 打算取代 GTX750Ti 的 HDMI YUV422 4K 用. GTX750ti 沒有不好, 就是沒有 DP 輸出可用, 也無法輸出 RGB888 4K, 不然論 GPU 能力是強過 Oland 的. 然後因為我是在 ubuntu 底下用, linux 下 AMD GPU 支援度要好的多.&lt;/p&gt;&lt;p&gt;不過需注意的是, kernel 同時有兩支 driver 支援這系列的卡, radeon 跟 amdgpu, 而 mesa RADV 只支援後者, 所以記得在 /etc/defconfig/grub 裡加上&quot;&lt;/p&gt;&lt;p&gt;radeon.si_support=0 amdgpu.si_support=1&lt;/p&gt;&lt;p&gt;的敘述, RADV 才能使用, 才能原生支援 vulkan.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8365969587660476919/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8365969587660476919' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8365969587660476919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8365969587660476919'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/03/amd-r5-340350-r7-240250.html' title='AMD R5 340/350 R7 240/250 一點筆記'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-4494964246224602352</id><published>2024-02-05T20:16:00.008+08:00</published><updated>2024-04-23T11:52:23.995+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>rustdesk @ ironlake GPU</title><content type='html'>&lt;p&gt;&amp;nbsp;應用情境是使用 i5-520m 的 Thinkpad x201, GPU 是 ironlake, 只有 OpenGL 2.1 可用, OS 使用 xubuntu 22.04.3, kernel 6.5.0-14, mesa 23.0.4&lt;/p&gt;&lt;p&gt;在這麼老的 landtop 上可以安裝 rustdesk client 的 deb, 不過啟動會碰上一堆錯誤 (serial 292 error_code 167 request_code 152 (GLX) minor_code 0).&amp;nbsp;&lt;/p&gt;&lt;p&gt;解法是啟動參數這邊這樣下:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;---&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;env LIBGL_ALWAYS_SOFTWARE=true MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 rustdesk&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;---&lt;/span&gt;&lt;/p&gt;&lt;p&gt;update: 可以當控端, 可以當被控端, 看 CPU 使用率應該是沒有 h/w encoder 可以支援, 無法確認.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update: 環境多設定一個參數, 即可讓 rustdesk 以純軟體方式啟動, 沒有 OpenGL 可用都無所謂 (但應該是 liunx 下才能用...):&lt;/p&gt;&lt;p&gt;LIBGL_ALWAYS_SOFTWARE=1&lt;/p&gt;&lt;p&gt;linux x11 例:&lt;/p&gt;&lt;p&gt;env LIBGL_ALWAYS_SOFTWARE=1 rustdesk&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/4494964246224602352/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/4494964246224602352' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4494964246224602352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/4494964246224602352'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2024/02/rustdesk-ironlake-gpu.html' title='rustdesk @ ironlake GPU'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8490956114849641115</id><published>2023-10-17T14:43:00.000+08:00</published><updated>2023-10-17T14:43:01.824+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="yocto"/><title type='text'>筆記 systemd-networkd</title><content type='html'>&lt;p&gt;&amp;nbsp;簡單的說 ubuntu 體系的常會在開機時卡在 systemd-networkd-wait-online 很久很久, 如果機器本身是需要設定固定 ip, 沒有對外更沒有啥 dhcp server 可連線時就會卡很久&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://bbs.archlinux.org/viewtopic.php?id=256366&quot;&gt;這裡&lt;/a&gt;有位高手提供一個解法: 首先:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;sudo systemctl edit --full systemd-networkd-wait-online.service&lt;/span&gt;&lt;/p&gt;&lt;p&gt;在裡面找到 ExecStart, 改成像這樣:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --timeout=10&lt;/span&gt;&lt;/p&gt;&lt;p&gt;就可以跳過這個無意義工作.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8490956114849641115/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8490956114849641115' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8490956114849641115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8490956114849641115'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2023/10/systemd-networkd.html' title='筆記 systemd-networkd'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-1039221341358247268</id><published>2023-07-06T14:09:00.005+08:00</published><updated>2023-07-06T14:11:13.916+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>usb ethernet adapter rename</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;USB ethernet 像 AX88772, AX88179 等在 ubuntu 下會重命名為 enx&amp;lt;MAC address&amp;gt; 的名稱, 我對名稱叫什麼沒有意見, 但 nfs client 有, 做 IPv6 nfs mount 時都會出現 &quot;an incorrect mount option was specified&quot; 的錯誤.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;這問題我找了一段時間, 沒有找到解法. 直到有一天因為工作的需求使用 SUSE 這套 distro 時發現, 在它底下 USB thernet 可以正常使用 IPv6 nfs mount.... !! 只是跟 ubuntu 不一樣的是, 它 USB ethernet 就只是叫 eth? 而已, 不是照 bus-tree 這些來命名...&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;好了, 那如何更改 ubuntu 下的 USB ethernet 名稱? 我在&lt;a href=&quot;https://stackoverflow.com/questions/12951287/how-can-i-know-the-relationship-between-usb-device-node-and-volume-on-mac&quot;&gt;這裡&lt;/a&gt;找到有人提供改寫 udev rules 的方式達成:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-family: inherit; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;以 root 身份增加檔案 /etc/udev/rules.d/76-netnames.rules&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;---&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;# USB device by path&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;# get ID_PATH if not present yet&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;ENV{ID_PATH}==&quot;&quot;, IMPORT{builtin}=&quot;path_id&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, ENV{ID_PATH}==&quot;*-usb*&quot;, NAME=&quot;ueth%n&quot;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #202124; font-family: Roboto, Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; user-select: text; white-space-collapse: preserve;&quot; /&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;---&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-family: inherit; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;以 root 身份重觸發 udev:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;# udevadm control --reload-rules; &lt;/span&gt;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-size: 16px; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;udevadm trigger;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;下次再接上 USB ethernet 時就會更名為 ueth?, 更名成這樣就可以正常使用 IPv6 nfs mount.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/1039221341358247268/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/1039221341358247268' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/1039221341358247268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/1039221341358247268'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2023/07/usb-ethernet-adapter-rename.html' title='usb ethernet adapter rename'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8410204663975185003</id><published>2023-06-06T10:17:00.005+08:00</published><updated>2023-06-06T10:23:02.661+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>ubuntu 底下套用 icc 檔</title><content type='html'>&lt;p&gt;&amp;nbsp;首先寫在前面, 我只針對 X11 應用, wayland 跟印表機有沒有做用我不知道, 無法驗證.&lt;/p&gt;&lt;p&gt;這裡只是寫寫筆記.&lt;/p&gt;&lt;p&gt;ubuntu 底下要裝兩個東西, colord, xiccd, 使用 colord 前最好先把 window manager 重開過, 例如 gdm (ubuntu w/o wayland), lightdm (xubuntu, xfce), sddm (lubuntu, LXDE). 要簡單一點就是重開機.&lt;/p&gt;&lt;p&gt;再來確認 colord 有沒有辦法正常動作:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;# colormgr get-devices&lt;/span&gt; 要有東西, 特別是 Device ID 那行:&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0wFqZf0Si1HZB-YpYuQtRqpQhdagmdUbtn5KqOnbQqS4Zeh7PEUghU21pYaOXtnoFscMJGt0IIJ-c1nsWINaSqhu885e7XmnJTBAS0pjSOHNLZEkyUxhhLqOWBdWi6RF0le0SkvzRTlRTppJCWB7CkqBGffPv9wOQ7sb_26w24J9jHw3a2n5_zb2L-Q/s637/Clipboard%202.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;306&quot; data-original-width=&quot;637&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0wFqZf0Si1HZB-YpYuQtRqpQhdagmdUbtn5KqOnbQqS4Zeh7PEUghU21pYaOXtnoFscMJGt0IIJ-c1nsWINaSqhu885e7XmnJTBAS0pjSOHNLZEkyUxhhLqOWBdWi6RF0le0SkvzRTlRTppJCWB7CkqBGffPv9wOQ7sb_26w24J9jHw3a2n5_zb2L-Q/w400-h193/Clipboard%202.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;一些網站說 .icc 檔可以放在 ~/.local/share/icc/ 底下, 我試過在 22.04 上沒用. 有另外要加入的 .icc 檔我認為要乖乖加在 /usr/share/color/icc/colord/ 底下.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;# colormgr get-profiles&lt;/span&gt; &lt;/span&gt;可以列出能被使用的 .icc 檔, 順路確認有沒有自己需要的:&lt;/p&gt;&lt;p&gt;以上確認無誤後可以用&amp;nbsp;colormgr device-add-profile 增加, 以上圖的例子就是:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;# colormgr device-add-profile &quot;xrandr-Virtual1&quot; icc-b99d6f29391058874009aa0bf2ef2a87&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;# colormgr device-add-profile &quot;xrandr-Virtual1&quot; icc-35ae3435119b8a10eaf73839628be96a&lt;/span&gt;&lt;/p&gt;&lt;p&gt;唯需要注意的是如果 Device ID 出來的字串裡面有空白時, 直接貼上一定失效, 需要特地用引號匡起來指定哪一個輸出.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;指定使用 profile 例如:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#&amp;nbsp;&lt;span face=&quot;Roboto, Arial, sans-serif&quot; style=&quot;background-color: white; color: #202124; font-variant-ligatures: none; letter-spacing: 0.1px; white-space-collapse: preserve;&quot;&gt;colormgr device-make-profile-default &quot;xrandr-Virtual1&quot; &lt;/span&gt;icc-b99d6f29391058874009aa0bf2ef2a87&lt;/span&gt;&lt;/p&gt;&lt;p&gt;這樣就會套用.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;在 X11 底下營幕如果有做過啥 mirror 的動作時, Device ID 同時也會跑掉, 要注意.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8410204663975185003/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8410204663975185003' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8410204663975185003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8410204663975185003'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2023/06/ubuntu-icc.html' title='ubuntu 底下套用 icc 檔'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0wFqZf0Si1HZB-YpYuQtRqpQhdagmdUbtn5KqOnbQqS4Zeh7PEUghU21pYaOXtnoFscMJGt0IIJ-c1nsWINaSqhu885e7XmnJTBAS0pjSOHNLZEkyUxhhLqOWBdWi6RF0le0SkvzRTlRTppJCWB7CkqBGffPv9wOQ7sb_26w24J9jHw3a2n5_zb2L-Q/s72-w400-h193-c/Clipboard%202.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-6894458253602519288</id><published>2023-06-02T21:22:00.001+08:00</published><updated>2023-06-06T10:23:19.943+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="攝影"/><title type='text'>Z6 充電線續集</title><content type='html'>&lt;p&gt;&amp;nbsp;做這東西基本上沒有需求, 只是之前對於相機用&lt;a href=&quot;https://yoko-hama.blogspot.com/2020/09/nikon-z6.html&quot;&gt;直充電源線的部份&lt;/a&gt;一直梗梗於懷, 處心積慮的一直想做&lt;a href=&quot;https://yoko-hama.blogspot.com/2020/08/nikon-z6.html&quot;&gt;一條線&lt;/a&gt;可以讓 z6 使用 BC 1.2 那種 5v 2.4a 舊規格變壓器, 又可以滿速充電的東西, 然後為了想實現這樣的一條線, 從一開始&amp;nbsp;type-c 協議解析 IC IP2701, 到後面 type-C 公頭的元件, 看到&lt;a href=&quot;https://www.usbzh.com/article/detail-855.html&quot;&gt;後面 PD protocol 的部份&lt;/a&gt;時, 我才發現, 好像改改電阻就好了似的:&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWgZp5Ok1uzer-LcLsebrZEEHfYNFzjROwnI8A8hNu44AxgPFXGRaLsOeyZqFrbOsRnBmm_iHPV10Ht57iwP6Wx8ftr-CVANky36igsrg69LyB3ii5Ccv_ylcwinGxpVHyLZROxpFBFyHZhfB-4EqBfpgduc7CScUv0LT5ygsBPvi4wQ9IWErkaq4ihg/s1540/Clipboard%202.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;357&quot; data-original-width=&quot;1540&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWgZp5Ok1uzer-LcLsebrZEEHfYNFzjROwnI8A8hNu44AxgPFXGRaLsOeyZqFrbOsRnBmm_iHPV10Ht57iwP6Wx8ftr-CVANky36igsrg69LyB3ii5Ccv_ylcwinGxpVHyLZROxpFBFyHZhfB-4EqBfpgduc7CScUv0LT5ygsBPvi4wQ9IWErkaq4ihg/w400-h93/Clipboard%202.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;後來, 買到 type-c 公頭的接頭 (這個請注意有的有配電阻, 有的沒有), 實際動刀時才有點概念. 簡單的說, type-c 公頭上一般焊的那 56K 是橫跨在 Vconn 跟 CC 上的, 以 USB PD 的規格來說, CC 沒有這個電阻, 供電端不會給電, 只有 vconn 會給 5v 的電, 於是這顆 pull-up 電阻很順理成章的掛在 Vconn 跟 CC 的兩端:&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCw2L6DwAcjnT6Hw54pyif75oEJ0QNOHpqNeURAnuc2rzFbWNFEmWXZC6seJXzLIAf-K9lsOKWjfPYyPLy92q2xaiWYBwMoDMasv9Op_Qo032R_6mzneuFZZoSYx0-dBQl5plIsZMWS4Eyu6UtuENbgB3SN5usjq1n12tZzKFx1_TGI1aWr3FDky1TnQ/s1024/P_20230602_205318_vHDR_Auto.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1024&quot; data-original-width=&quot;683&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCw2L6DwAcjnT6Hw54pyif75oEJ0QNOHpqNeURAnuc2rzFbWNFEmWXZC6seJXzLIAf-K9lsOKWjfPYyPLy92q2xaiWYBwMoDMasv9Op_Qo032R_6mzneuFZZoSYx0-dBQl5plIsZMWS4Eyu6UtuENbgB3SN5usjq1n12tZzKFx1_TGI1aWr3FDky1TnQ/w266-h400/P_20230602_205318_vHDR_Auto.jpg&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;這張圖就是這次的犧牲品. 我把電阻從 56K 換成 9.5K (手邊找不到 10K 0805 的料..), 如上圖所說, 換成 10K 後, 等於對用電端宣告給電端擁有 5v 3A 的供電能力, 而非原來的 500mA.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;接到 z6 上的測試我忘了照, 就收進去了, 總之確定可以吃到 2A 全速充電沒問題了, 拿來給手機用也都可以正常認到 QC protocol 沒問題.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;只是呢... 這條線的意義只在於, 如果還在用很老規格的 5V 2.4A 變壓器, 或是改更大電流的 5v 變壓器直供時, 這樣改才有意義, 否則以現在充電頭科技的進步, 意義不大.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/6894458253602519288/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/6894458253602519288' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/6894458253602519288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/6894458253602519288'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2023/06/z6.html' title='Z6 充電線續集'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWgZp5Ok1uzer-LcLsebrZEEHfYNFzjROwnI8A8hNu44AxgPFXGRaLsOeyZqFrbOsRnBmm_iHPV10Ht57iwP6Wx8ftr-CVANky36igsrg69LyB3ii5Ccv_ylcwinGxpVHyLZROxpFBFyHZhfB-4EqBfpgduc7CScUv0LT5ygsBPvi4wQ9IWErkaq4ihg/s72-w400-h93-c/Clipboard%202.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8683787423894467827</id><published>2023-05-07T11:32:00.003+08:00</published><updated>2023-05-07T11:32:25.104+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="yocto"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>samba &amp; error 0x80070032</title><content type='html'>&lt;p&gt;&amp;nbsp;這個問題是, 在當 windows copy 檔案到 samba server 的共享目錄時會發生的問題. 以微軟的文件我猜測就是數據重覆刪除的問題:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://learn.microsoft.com/zh-cn/troubleshoot/windows-server/backup-and-storage/request-not-supported-smb-data-deduplication&quot;&gt;https://learn.microsoft.com/zh-cn/troubleshoot/windows-server/backup-and-storage/request-not-supported-smb-data-deduplication&lt;/a&gt;&lt;/p&gt;&lt;p&gt;但這並不完全是 samba 的問題. 0x80070032 這問題困擾我很久, 原本以為是 samba 的鍋, 因為 nfs 沒這問題, 但別人的 windoz pc 你不可能每臺都強迫裝 nfs client, 而且更別提現在 windoz 端 nfs client 僅只有支援 nfs v2 v3 沒有支援到 v4, 所以 unicode 的支援上會有相當程度的問題.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://appuals.com/error-0x80070032-copying-file/&quot;&gt;appuals 上的文章&lt;/a&gt;是我目前看過對這問題追的最徹底的, 他提了很多解法, 但請注意這些解法通常只針對 windows 對 windows 檔案共享出問題, 我的問題是 samba, 然後 samba 其實很少人碰到這問題, 碰到也不知道怎麼解, 最少你拿這些關鍵字去 google 九成九都是廢話, 或丟在那沒人回的問題.&lt;/p&gt;&lt;p&gt;我的問題發生的來源很簡單, 我把 tmpfs 開給 samba 分享出去, tmpfs 本身不支援 (因為不需要支援) &lt;a href=&quot;https://zh.wikipedia.org/wiki/%E9%87%8D%E5%A4%8D%E6%95%B0%E6%8D%AE%E5%88%A0%E9%99%A4&quot;&gt;data deduplication&lt;/a&gt;, 所以丟回給 samba 說我不支援, samba 再丟會給 windoz client, windoz 對用戶說遇到 0x80070032 的錯誤.&lt;/p&gt;&lt;p&gt;如果你掛的是其它的檔案系統像 ext4, xfs, samba 就不會有這問題, appuals 的文章最後最後一段有略略提到這件事: &quot;If the issue persists on a server, then check if installing the Deduplication server role and configuring it solves the problem.&quot;, 但 server 端可能的問題太多, 也不一定就是檔案系統.&lt;/p&gt;&lt;p&gt;tmpfs 即便可以掛載那麼多奇奇怪怪的型態, 也並沒有那麼萬能.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8683787423894467827/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8683787423894467827' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8683787423894467827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8683787423894467827'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2023/05/samba-error-0x80070032.html' title='samba &amp; error 0x80070032'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-7147149266030141727</id><published>2022-11-05T14:39:00.008+08:00</published><updated>2024-02-10T12:17:48.604+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="攝影"/><title type='text'>laowa 10-18mm 一點感想</title><content type='html'>&lt;p&gt;鏡頭用多了, 總會想要有看的更廣, 看的更遠, 越透亮, 或越有亮暗過度層次, 高光低光細節, 或更有光學暇疵衍生出自己獨特的成像效果, 或更快更精準的對焦能力等等, 太多了. 從有 sigma 8-16mm, 喜歡上這種鏡頭廣闊的空間感, 可以有更長的安全快門時間, 幾乎都是對無限遠所以很難有對焦不準的問題 (這裡指 AF 鏡), 以及最重要的, 可以有更短的拍攝者後退空間. 很多沒有更多可後退的空間時, 只能依賴廣角.&amp;nbsp;&lt;/p&gt;&lt;p&gt;有這些好處後, 我就一直在找可以拍到 95-121度視角 (也就是等效全片幅焦段 12-24mm) 更輕便, 或更廣角的組合, 之前寫的 SEL1018 就是其中的組合之一, SEL1018 跟 a7 這個組合對我來說就是可以犧牲四角完全崩壞的畫質, 只取中間 16:9 範圍時的一個妥協. 既然是妥協, 就會想找替代品, cosina volgtlander 10mm f5.6,&amp;nbsp;laowa (安徽長庚光學) 10-18mm 這幾顆鏡頭我觀望了很長一段時間. 到寫稿這時 laowa 有推出 10-18mm f4.5-5.6, 11mm f4.5, 9mm f5.6, 12-24mm f5.6 這些, 最廣的是 9mm f5.6, 這顆還可以上 GFX50s. 只是後來看到別人的比較裡, 9mm f/5.6 跟 10-18mm 相比後者邊角畫質還略好, lenstip 比較 voigtlander 10mm 也略輸 laowa 10-18mm, 又剛好看到這顆有二手 (這其實才是關鍵原因) 於是就買了 laowa 10-18mm.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCV_7XFK9NW6MI86of_kj503Oa2HzWH6NmYug20solAmjKqVdSqdSBHhnaB-scD9yHNUnCuUmgHh9A-yO3WHYyZvI4VP65PaOqCHbTkamitHWIJS5Su4pLeCYQeKvZnx0MS2jvT24MpRJuxwzXVPEJv1XdmSwa64dMq1oXnb-Yv8Cegx5WwahntJd6WA/s4032/P_20221105_131449_vHDR_Auto.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3024&quot; data-original-width=&quot;4032&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCV_7XFK9NW6MI86of_kj503Oa2HzWH6NmYug20solAmjKqVdSqdSBHhnaB-scD9yHNUnCuUmgHh9A-yO3WHYyZvI4VP65PaOqCHbTkamitHWIJS5Su4pLeCYQeKvZnx0MS2jvT24MpRJuxwzXVPEJv1XdmSwa64dMq1oXnb-Yv8Cegx5WwahntJd6WA/w640-h480/P_20221105_131449_vHDR_Auto.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;這些是過去買過的廣角鏡, 不過個人覺得不管單反鏡還無反鏡, 很多機身很難在非泛焦區對焦對到很準確....&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4ZNXnYd_U8rHtC4rMJNo3gvIFsSmi4-TcAP1S28NM1nrF1XygDgccREgYHihLuyBrG4uWcrRo1AY5HM7IvEKPbE5yl47FSN9bbzpYAr4dKX418Y-yaycNi88lQQIJ20dg429o_erYOvu2iijCUIpeo9JDhXX8SY_P1bGcQ0QoftoXCWj5U7mp6ani2w/s4032/P_20221105_132129_vHDR_Auto.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3024&quot; data-original-width=&quot;4032&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4ZNXnYd_U8rHtC4rMJNo3gvIFsSmi4-TcAP1S28NM1nrF1XygDgccREgYHihLuyBrG4uWcrRo1AY5HM7IvEKPbE5yl47FSN9bbzpYAr4dKX418Y-yaycNi88lQQIJ20dg429o_erYOvu2iijCUIpeo9JDhXX8SY_P1bGcQ0QoftoXCWj5U7mp6ani2w/w640-h480/P_20221105_132129_vHDR_Auto.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;右到左是 Nikon 4/16-35mm, Sigma 8-16mm DC, Sony 4/10-18mm, Laowa 10-18mm&lt;br /&gt;從以上可以看出體積落差有多麼巨大, aps-c 的 sigma 8-16mm 跟 sony 4/10-18mm 就可以做的到體積小巧而且擁有一樣的視野, 而 Nikon 16-35mm 甚至比 2.8/24-70mm 一代還要大顆... panasonic 4/7-14mm 有多大我不知道, 我沒買...&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtADX1oHM8_91GChMRjwPRZoeXIT8NexojGk0JKz6g8TaqfO4EqjMJmWS6HEF3VnKXzE-yGe42_xfzLaJSAXCQ_cYqBt_17cYWdQn6BODLqiNZRqMVq7EBjWY7o08AAB7LYWlGxpmCVc_x2fgqFM_Bf9WYj5Oqs4lg68oryh-fHkcprzdzfrOQLLITlg/s4032/P_20221105_132716_vHDR_Auto.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;3024&quot; data-original-width=&quot;4032&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtADX1oHM8_91GChMRjwPRZoeXIT8NexojGk0JKz6g8TaqfO4EqjMJmWS6HEF3VnKXzE-yGe42_xfzLaJSAXCQ_cYqBt_17cYWdQn6BODLqiNZRqMVq7EBjWY7o08AAB7LYWlGxpmCVc_x2fgqFM_Bf9WYj5Oqs4lg68oryh-fHkcprzdzfrOQLLITlg/w640-h480/P_20221105_132716_vHDR_Auto.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;laowa 10-18mm vs sony 10-18mm 體積落差. sony 10-18mm 當全片幅鏡使用時遮光照不能上, 實際收納體積可以在小上一截.&lt;/p&gt;&lt;p&gt;laowa 10-18mm 幾個產品的點...&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;跟 sigma 8-16mm, 12-14mm/II, sony 12-24mm 一樣前罩是套上去的, 前面也無法裝 filter. 但前罩對我來說已經比 sigma 8-16m 小巧好收納的多, 隨手就可以放口袋裡, 差別頗大. 至於濾鏡的問題, 它雖然無法裝在前面, 但後面可以加掛 37mm 口徑濾鏡, 某種程度上解決外掛巨大濾鏡價格昂貴難以攜帶等問題...&lt;/li&gt;&lt;li&gt;內對焦, 內變焦, 進塵機會減少很多.&lt;/li&gt;&lt;li&gt;對焦表尺不具參考價值.&lt;/li&gt;&lt;li&gt;不管 sony A7 還 nikon Z6, 畫面對焦輔助點沒什麼參考價值. 不過因為這顆是廣角鏡, 這個問題不太大 (後述)&lt;/li&gt;&lt;li&gt;它有個 lock 開關, 但作用是讓光圈環轉動時會不會有段落感, 並不是鎖變焦環什麼..&lt;/li&gt;&lt;li&gt;請不要討論廣角鏡的景深&lt;/li&gt;&lt;li&gt;裝在 A7 mk1 上鬆鬆垮垮的, 只差不會沒事飛出去, 不過我覺得這是 sony 的問題, SEL1018 也是這樣.&lt;/li&gt;&lt;li&gt;對焦變焦環阻尼頗大, 不用太擔心像 AF 鏡那樣用一用沒事跑掉..&lt;/li&gt;&lt;li&gt;還是很大.&lt;/li&gt;&lt;li&gt;不要再來問三小這全片幅嗎 這種爛問題&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strike&gt;首先先來講對焦表尺不具參考意義這一點. 我帶出去實拍時不管是轉在 10mm 還是 18mm 端, 無限遠端都不在刻度的無限遠那格上, 以 10mm 來說, 定在對焦表尺 1.5 那個紅字的 5 正下方這個位置, 就可以拍大約 0.5m 近到無限遠了:&lt;/strike&gt;&lt;br /&gt;ps: 後來證實是機身的問題...&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrBsIzg2I5l8XwPuqGWkvvM4GJdM05u5G2kE2P-3dsbZlACXD1I-R6gLKXowgy_kw3VQP_1WCEFuWp2JbzTnYLHHia05TwHMboGXMVbxcDu1oJkOEIEIWjdJuKxDfa5fIaSuMDFzVJ7Ei0cOH-x1O3nmCk67FoVl8O2pa4bjsDPYrKWRvpUxMNeaiLKw/s4032/P_20221105_130038_vHDR_Auto.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;4032&quot; data-original-width=&quot;3024&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrBsIzg2I5l8XwPuqGWkvvM4GJdM05u5G2kE2P-3dsbZlACXD1I-R6gLKXowgy_kw3VQP_1WCEFuWp2JbzTnYLHHia05TwHMboGXMVbxcDu1oJkOEIEIWjdJuKxDfa5fIaSuMDFzVJ7Ei0cOH-x1O3nmCk67FoVl8O2pa4bjsDPYrKWRvpUxMNeaiLKw/w480-h640/P_20221105_130038_vHDR_Auto.jpg&quot; width=&quot;480&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;再來提示對焦點的問題. 簡單的說, 物距在 0.5m 以上遠時, 幾乎整個畫面都是對焦提示點, 但實際放大來看會發現你想對的物體並沒有真的準焦. 這點 sony &amp;amp; nikon 的機子都一樣, 都要放大來對焦看再拍會安心一點, 這點就是我當初考慮很久不打算買的原因之一, 在行程很趕時, 很難有機會一張張照片慢慢對焦, 沒對到焦的照片也沒有修回來的可能, 就是做廢. 自動對焦雖然在 8-12mm 這種 14mm 以下焦段效果很科科 (不講科科笑, 難道要說它很慘嗎..... ?), 但最少成功率還有六七成, 靠連拍還是有機會抓到能用的. 此時泛焦拍攝還是有好處在的.&lt;/p&gt;&lt;p&gt;lock鎖, 我不知道廠商的想法是什麼.&lt;/p&gt;&lt;p&gt;景深嘛, 不是長焦就不用討論了. (一秒)&lt;/p&gt;&lt;p&gt;裝上機身會很鬆垮這點嘛, 這個要自己改造機身部份的鏡頭環, 或是改用 Nikon Z, 用轉接環去咬死它不讓它動.&amp;nbsp;&lt;/p&gt;&lt;p&gt;update:&lt;/p&gt;&lt;p&gt;後來轉接到 Nikon Z6 測試邊角畫質時才更確認對焦表尺轉無限遠時不是無限遠, 是 A7 機身的問題 (我的 A7 有換過卡口環, 因為原本的太鬆), 在 Z6 上離無限遠端有一點點小誤差, 很可能是轉接環的問題也可能是鏡頭的問題, 我不知道. &lt;br /&gt;以下是原圖左上方各切邊角兩塊 1024x768 大小做比較, 都是 10mm f5.6.&lt;br /&gt;首先附上 A7 拍的:&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtEka0pBdMxAiExNbnMOsQP__Z3-SrxJMX8cogTYkHPwNt2hFGoQKOFEvvnlsAc-5u-j5Vglez2P_nXvjyfn-RRo7CB8n47u35rzX4fbzt3AyJyAx6SOZf4qHB2-XJq3Y7z9hgbyl6PrND2QCOh06DMSywERiN1blE_x8hYuMk3wVL9EmfU5jBRMPtnA/s2048/DSC02388-3.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1365&quot; data-original-width=&quot;2048&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtEka0pBdMxAiExNbnMOsQP__Z3-SrxJMX8cogTYkHPwNt2hFGoQKOFEvvnlsAc-5u-j5Vglez2P_nXvjyfn-RRo7CB8n47u35rzX4fbzt3AyJyAx6SOZf4qHB2-XJq3Y7z9hgbyl6PrND2QCOh06DMSywERiN1blE_x8hYuMk3wVL9EmfU5jBRMPtnA/w640-h426/DSC02388-3.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4XLprX4Xp5qcY327D3qGfcYoy0YAEEDIG0z1G26ebfH_-2AoYrTvVb7Kb3ORW03bnLVP_tExRASpfDSquxdojiYLuID21RgF9WXC-jmczy4oCOlxjme_oAtNRuaP3U49xOtGF3YQG0YCfipCdoHCkkx2qGVueXm578RQ2j5xAO28ci_RQCRIQXci0RA/s1024/DSC02388-1.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4XLprX4Xp5qcY327D3qGfcYoy0YAEEDIG0z1G26ebfH_-2AoYrTvVb7Kb3ORW03bnLVP_tExRASpfDSquxdojiYLuID21RgF9WXC-jmczy4oCOlxjme_oAtNRuaP3U49xOtGF3YQG0YCfipCdoHCkkx2qGVueXm578RQ2j5xAO28ci_RQCRIQXci0RA/w640-h480/DSC02388-1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2hX1NsvEIkZkBdS8VMO_64pr_gwxGSzBX4uRi9w-PZntcRUyE0Q08sbYp5EqHBaF6ik8m3Rt1X3AlGHYzD77zPaaICNpLno8x8bCqGRBSyvqU4c6LuW_2R4Fo6cHEPCrnODmQ1hMsZXAcsXq7tuDObAJLmuLeSmlfBD6cVRCWZFekzsbnvocDG6b73g/s1024/DSC02388-2.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2hX1NsvEIkZkBdS8VMO_64pr_gwxGSzBX4uRi9w-PZntcRUyE0Q08sbYp5EqHBaF6ik8m3Rt1X3AlGHYzD77zPaaICNpLno8x8bCqGRBSyvqU4c6LuW_2R4Fo6cHEPCrnODmQ1hMsZXAcsXq7tuDObAJLmuLeSmlfBD6cVRCWZFekzsbnvocDG6b73g/w640-h480/DSC02388-2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;對比 Z6 拍的:&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc6Ien6NbNMqmOPISJL63AYDlPG_YDdjWJ64DXA2XrocaXJvuNWLRCEnREajkX6j6FYUmQpj3P5OivNiJc5j52il9hMl0Voje_NQU9lZ8Af78ASjypskFoInzhpDs7Df2AWfbSPAqd0rZY2BG_33JdyIZM7eUbUCV4BtOS8f-HVKJo1Rybn9_unUfqrA/s2048/DSC_3955-3.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1363&quot; data-original-width=&quot;2048&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc6Ien6NbNMqmOPISJL63AYDlPG_YDdjWJ64DXA2XrocaXJvuNWLRCEnREajkX6j6FYUmQpj3P5OivNiJc5j52il9hMl0Voje_NQU9lZ8Af78ASjypskFoInzhpDs7Df2AWfbSPAqd0rZY2BG_33JdyIZM7eUbUCV4BtOS8f-HVKJo1Rybn9_unUfqrA/w640-h426/DSC_3955-3.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8__FNH1V6vjSEhgF39ZJHLwJeYxTCyxm1Xz4NJyiDFmaFWjEc6EWNb95fRkhkVygtsEbNERHXJjIhg2-RclrSCvDBs6tsJ2Ox5hwU1bMKfYIaeoZwlwUs-0NRoxheMBthN-oLf8SaDJdAJelThPxA7LefU4BPY2C0LjHGDQIUapfPcx0rU9rAsAAlFA/s1024/DSC_3955-1.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8__FNH1V6vjSEhgF39ZJHLwJeYxTCyxm1Xz4NJyiDFmaFWjEc6EWNb95fRkhkVygtsEbNERHXJjIhg2-RclrSCvDBs6tsJ2Ox5hwU1bMKfYIaeoZwlwUs-0NRoxheMBthN-oLf8SaDJdAJelThPxA7LefU4BPY2C0LjHGDQIUapfPcx0rU9rAsAAlFA/w640-h480/DSC_3955-1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KUotYQc09ut1DklK2wO4nFw-dHrkFlMO3uAJZiikomOTbtLzsHEtDhLRP_bCFWg0zSLDZGyissjSiDVgtmxE1cpvWVqeP2FsPBpVNo1Z7l1uKVOQ9-pqzOCSjHG46v-Ypal_G01ARF8qA7zYVUfiSOAH-sJq2Geita_DOPRtMBjzgbfXV4Badjzgpw/s1024/DSC_3955-2.jpg&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1024&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KUotYQc09ut1DklK2wO4nFw-dHrkFlMO3uAJZiikomOTbtLzsHEtDhLRP_bCFWg0zSLDZGyissjSiDVgtmxE1cpvWVqeP2FsPBpVNo1Z7l1uKVOQ9-pqzOCSjHG46v-Ypal_G01ARF8qA7zYVUfiSOAH-sJq2Geita_DOPRtMBjzgbfXV4Badjzgpw/w640-h480/DSC_3955-2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;看的出來邊角畫質有傳說中的差別....&lt;br /&gt;&lt;p&gt;update: 補一篇目前看到唯一一篇數據測試, 邊角果然不行.&lt;br /&gt;&lt;a href=&quot;https://photographylife.com/reviews/laowa-10-18mm-f4-5-5-6&quot;&gt;https://photographylife.com/reviews/laowa-10-18mm-f4-5-5-6&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/7147149266030141727/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/7147149266030141727' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7147149266030141727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/7147149266030141727'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2022/11/laowa-10-18mm.html' title='laowa 10-18mm 一點感想'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCV_7XFK9NW6MI86of_kj503Oa2HzWH6NmYug20solAmjKqVdSqdSBHhnaB-scD9yHNUnCuUmgHh9A-yO3WHYyZvI4VP65PaOqCHbTkamitHWIJS5Su4pLeCYQeKvZnx0MS2jvT24MpRJuxwzXVPEJv1XdmSwa64dMq1oXnb-Yv8Cegx5WwahntJd6WA/s72-w640-h480-c/P_20221105_131449_vHDR_Auto.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-2514209828745552130</id><published>2022-09-30T00:41:00.001+08:00</published><updated>2023-04-25T18:26:01.377+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dev"/><category scheme="http://www.blogger.com/atom/ns#" term="攝影"/><title type='text'>7.4v 升壓充電模組一點點小感想..</title><content type='html'>&lt;p&gt;從以前到現在共買了這 4種, 從上到下分別為 FM4256, IP2326, CN3302, SY6982.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvXOnf3W9XAexSsoiywFUHqb21lKMoRO3vY7HArz3dVm1-dsFySJWpnJgKzmmY2fgIJ7pOsNwe6aFZE1hzFMUqYyaqqNlbU8MCYbRPoFIooPwY8CnCnogQcfBfzZQo_JTfX8wfcB438Iq4ewtYykSqmC7nlee-86ZkK5lXyEONvOAOSpWVn60giCG3CA/s1456/Clipboard%202.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1456&quot; data-original-width=&quot;797&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvXOnf3W9XAexSsoiywFUHqb21lKMoRO3vY7HArz3dVm1-dsFySJWpnJgKzmmY2fgIJ7pOsNwe6aFZE1hzFMUqYyaqqNlbU8MCYbRPoFIooPwY8CnCnogQcfBfzZQo_JTfX8wfcB438Iq4ewtYykSqmC7nlee-86ZkK5lXyEONvOAOSpWVn60giCG3CA/w350-h640/Clipboard%202.jpg&quot; width=&quot;350&quot; /&gt;&lt;/a&gt;&lt;/div&gt;至於好壞嘛.. 我覺得看用在哪裡&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;FM4256: 這是裡面高度最低的, 連板子 4mm 高, 28x21.2mm, 可以塞的進很多副廠的電池充電座裡充當第二個充電器電力來源, 單價最低, 某寶上可以找到單價 6.7 左右的. 充電電流預設限制為輸入 2A (電流感測電阻為 4.99ohm), 效率裡面排第三.&lt;/li&gt;&lt;li&gt;IP2326: 高度 4.5mm, 31.2x18.2mm, 單價次高約 10RMB, 4者中 CP 最高, 充電電流預設為輸出 1.5A (所以輸入5V 時會吃到 3A), 換言之充電速度 4者裡最快, 但不適用小容量電池. 本身支援 QC 協定, 充電時會根據電池電壓申請 6v 或 7v 電壓借以升高轉換效率. 如果有大電流 QC source 可接我會推薦用這款.&lt;/li&gt;&lt;li&gt;CN3302, 39x18x6mm, 高度 4者裡最高 (主要是因為那顆電感, 建議找 6.8x7.3x3.0mm 款的 10uH 封閉電感換上去, 效率會有略略提升), 4者中唯一非同步整流, 效率也最差. 預設輸入電流購買時就要選好, 有 1/2/4A 可選. 這顆較其它 3款最不同的地方是它工作電壓可以低到 2.4v (其它起跳 4.6v 否則會欠壓保護), 可以靠 3.7v 電池給它供電, CN3303/3304 款可以支援升壓到 12.6v / 16.8v, 如果你的電池不幸是 4串的, 那你只好選這種... 價格約 10RMB.&amp;nbsp;&lt;/li&gt;&lt;li&gt;SY6982, 29.4x19x5.5mm, 效率是 4者裡最高, 單價也最高 (20-25RMB, 有兩家在做), 模組本身可以自由設定輸入電流要 0.5A, 1A 還 2A (我買的是 2A 款), 但是它對輸入掉電壓很敏感, 店家會提到一個 0.25/0.375v 的設定就是指這個, 一般建議設 0.375v. NTC 電阻不可拆. 因為這款設定小電流輸出比較方便, 比較適用充電電流較小的電池像 NP-FW50. 這款也最適用在行動電源供電用途.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;以上只有 CN3302 會不管電池有沒有電就輸出, 其它如果只是接純電阻負載則不會有輸出. 這四者都沒有救電池過放電的能力, TP5100 那類的才有.&lt;/p&gt;&lt;p&gt;至於充電效率怎麼樣嘛... 除非特別去改小輸出, 否則在設定 2A 輸入出時都不會輸給所謂原廠充電器.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/2514209828745552130/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/2514209828745552130' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2514209828745552130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/2514209828745552130'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2022/09/74v.html' title='7.4v 升壓充電模組一點點小感想..'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvXOnf3W9XAexSsoiywFUHqb21lKMoRO3vY7HArz3dVm1-dsFySJWpnJgKzmmY2fgIJ7pOsNwe6aFZE1hzFMUqYyaqqNlbU8MCYbRPoFIooPwY8CnCnogQcfBfzZQo_JTfX8wfcB438Iq4ewtYykSqmC7nlee-86ZkK5lXyEONvOAOSpWVn60giCG3CA/s72-w350-h640-c/Clipboard%202.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8694106037992029310.post-8808645350432762970</id><published>2022-09-26T12:23:00.005+08:00</published><updated>2022-09-26T12:23:59.379+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="不爽"/><category scheme="http://www.blogger.com/atom/ns#" term="電腦"/><title type='text'>阻擋 ubuntu 土匪式的 update</title><content type='html'>&lt;p&gt;&amp;nbsp;這我很久以前就這樣設定了, 直到最近被搞到有一臺機器開不了機, 我才發現原來我沒貼在這.&lt;/p&gt;&lt;p&gt;/etc/apt/apt.conf.d/20auto-upgrades&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;APT::Periodic::Update-Package-Lists &quot;0&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;APT::Periodic::Download-Upgradeable-Packages &quot;0&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;APT::Periodic::AutocleanInterval &quot;0&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;APT::Periodic::Unattended-Upgrade &quot;0&quot;;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;即使不會開不了機, 也會把你 /boot 區塞爆, rootfs 裡每一個版本就給你塞 2xxMiB (btrfs 壓縮後的大小) 的空間, 塞到你爆炸為止.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://yoko-hama.blogspot.com/feeds/8808645350432762970/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8694106037992029310/8808645350432762970' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8808645350432762970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8694106037992029310/posts/default/8808645350432762970'/><link rel='alternate' type='text/html' href='http://yoko-hama.blogspot.com/2022/09/ubuntu-update.html' title='阻擋 ubuntu 土匪式的 update'/><author><name>Gasvosky的芭樂格</name><uri>http://www.blogger.com/profile/04082292876495683610</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>