<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>KDE &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/kde/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Thu, 14 Mar 2024 01:38:33 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>KDE Plasma CPU High Usage After Install Nvidia Driver</title>
		<link>https://richliu.com/2021/03/07/4401/kde-plasma-cpu-high-usage-after-install-nvidia-driver/</link>
					<comments>https://richliu.com/2021/03/07/4401/kde-plasma-cpu-high-usage-after-install-nvidia-driver/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 07 Mar 2021 03:36:16 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Nvidia]]></category>
		<category><![CDATA[plasma]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=4401</guid>

					<description><![CDATA[<p>My notebook with RTX3060 has this issue after do someth [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2021/03/07/4401/kde-plasma-cpu-high-usage-after-install-nvidia-driver/">KDE Plasma CPU High Usage After Install Nvidia Driver</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>My notebook with RTX3060 has this issue after do something I don&#8217;t know. OS is Ubuntu 18.04<br /><br />Everything is ok after first time install RTX3060, there is no high cpu issue, but after install IME(gcin), nomachine and anydesk and do something I don&#8217;t remember, plasma high cpu usage issue happened. </p>



<span id="more-4401"></span>



<p>Tried to uninstall anydesk, nomachine and gcin, but those actions cannot solve this issue. <br /><br />but one time, when plasma cpu usage 100%, the nvidia-smi command shows GPU usage 100%, so I think whether if prevent plasma to use nvidia, it might solve this issue temporary ? </p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="990" height="566" src="https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-normal.png" alt="" class="wp-image-4402" srcset="https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-normal.png 990w, https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-normal-600x343.png 600w, https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-normal-768x439.png 768w" sizes="(max-width: 990px) 100vw, 990px" /><figcaption>Plasma CPU / GPU usage is normal</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="989" height="574" src="https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-cpu-high.png" alt="" class="wp-image-4403" srcset="https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-cpu-high.png 989w, https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-cpu-high-600x348.png 600w, https://richliu.com/wp-content/uploads/2021/03/plasma-nvidia-cpu-high-768x446.png 768w" sizes="(max-width: 989px) 100vw, 989px" /><figcaption>Plasma CPU / GPU usage is high.</figcaption></figure>



<p>Notebook has intel i915 driver, so, prevent plasma to use GPU can solve this issue. <br /><br />First modify <code>/usr/share/X11/xorg.conf.d/11-nvidia-prime.conf</code> and replace it with text below </p>



<pre class="wp-block-code"><code># DO NOT EDIT. AUTOMATICALLY GENERATED BY gpu-manager

Section "OutputClass"
    Identifier "Nvidia Prime"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "IgnoreDisplayDevices" "CRT"
    # Option "PrimaryGPU" "Yes"
    ModulePath "/x86_64-linux-gnu/nvidia/xorg"
EndSection


Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
    Option "PrimaryGPU" "yes"
EndSection
</code></pre>



<p>Protect the file will not be overwrite by gpu-manager</p>



<pre class="wp-block-code"><code>chattr +i /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf</code></pre>



<p>Reboot system and run nvidia-smi, plasma will not use nvidia GPU, so my plasma cpu usage 100% issue disappear. <br /><br />this solution might not solve all plasma 100% cpu usage issue, but might be one possible solution.</p>



<figure class="wp-block-image"><img decoding="async" width="990" height="493" src="https://richliu.com/wp-content/uploads/2021/03/plasma-without-gpu.png" alt="" class="wp-image-4404" srcset="https://richliu.com/wp-content/uploads/2021/03/plasma-without-gpu.png 990w, https://richliu.com/wp-content/uploads/2021/03/plasma-without-gpu-600x299.png 600w, https://richliu.com/wp-content/uploads/2021/03/plasma-without-gpu-768x382.png 768w" sizes="(max-width: 990px) 100vw, 990px" /><figcaption>Plasma without GPU</figcaption></figure>



<p>Detail information which can refer to this url  <a href="https://askubuntu.com/questions/1061551/how-to-configure-igpu-for-xserver-and-nvidia-gpu-for-cuda-work" target="_blank" rel="noopener">How to configure iGPU for xserver and nvidia GPU for CUDA work</a><br /></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2021/03/07/4401/kde-plasma-cpu-high-usage-after-install-nvidia-driver/">KDE Plasma CPU High Usage After Install Nvidia Driver</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2021/03/07/4401/kde-plasma-cpu-high-usage-after-install-nvidia-driver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Kubuntu執行GTK 程式的怪問題+gcin改dayi三碼表</title>
		<link>https://richliu.com/2019/04/05/3980/kubuntu%e5%9f%b7%e8%a1%8cgtk-%e7%a8%8b%e5%bc%8f%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8cgcin%e6%94%b9dayi%e4%b8%89%e7%a2%bc%e8%a1%a8/</link>
					<comments>https://richliu.com/2019/04/05/3980/kubuntu%e5%9f%b7%e8%a1%8cgtk-%e7%a8%8b%e5%bc%8f%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8cgcin%e6%94%b9dayi%e4%b8%89%e7%a2%bc%e8%a1%a8/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Fri, 05 Apr 2019 15:43:23 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gcin]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[hime]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[PyCharm]]></category>
		<category><![CDATA[中文輸入]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=3980</guid>

					<description><![CDATA[<p>這個故事有點長，先講結論好了， hime 似乎會影響某些 GTK 程式運作 我常用的是 Kubuntu 的 D [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2019/04/05/3980/kubuntu%e5%9f%b7%e8%a1%8cgtk-%e7%a8%8b%e5%bc%8f%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8cgcin%e6%94%b9dayi%e4%b8%89%e7%a2%bc%e8%a1%a8/">Kubuntu執行GTK 程式的怪問題+gcin改dayi三碼表</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>這個故事有點長，先講結論好了， hime 似乎會影響某些 GTK 程式運作</p>



<span id="more-3980"></span>



<p>我常用的是 Kubuntu 的 Desktop （題外話，最近有些 KDE 18.04 似乎memory leak 的問題，好像沒人修）<br />之前要在 Kubuntu 18.04 裝個中文輸入法，反正試了 gcin/fcitx/hime 等等，但是怎麼裝都裝不起來，因為跑 im-config 都沒有反應，後來不知道怎麼弄的，只有 hime 會動，因為會動還不知道原因就算了，就放在那邊</p>



<p>最近因為有寫 python 程式，有用 pycharm-community 一陣子<br />上個月的事，好像 pycharm-community 不知道是不是更新了什麼套件，然後突然就無法正確的顯示在螢幕上，如果這邊講不能啟動不太正確，因為是有啟動的<br />試過重灌，拿關鍵字餵狗，或是 Download .gz 下來直接執行都找不到問題<br /><br />百般無奈可是還是要寫 python 程式，所以就裝了另一套 Kubuntu 18.10 再裝 pycharm 就正常了</p>



<p>今天因為要用中文查點東西，覺得切來切去有點麻煩，就在 Kubuntu 18.10 下裝了 hime ，pycharm 它又不會顯示了</p>



<p>這下犯人就很明顯了，所以丟了關鍵字餵狗，就有得到正確的訊息，犯人就是 hime ，移除 hime 就好了(ref. <a href="https://www.ptt.cc/bbs/Linux/M.1540316842.A.0E8.html" target="_blank" rel="noopener">Re: [問題] Ubuntu有的程式點開啟/另存會卡住</a>)</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>GLib-GObject-WARNING **: cannot register existing type &#8216;GtkIMContext&#8217; GLib-CRITICAL **: g_once_init_leave: assertion &#8216;result != 0&#8217; failed GLib-GObject-CRITICAL **: g_type_register_dynamic: assertion &#8216;parent_type &gt; 0&#8217; failed GLib-GObject-CRITICAL **: g_object_new_with_properties: assertion &#8216;G_TYPE_IS_OBJECT (object_type)&#8217; failed </p>
</blockquote>



<p>至於安裝了 gcin 之後再 im-config 設定 gcin 為輸入法就正常了，我也不知道怎麼一回事</p>



<p> gcin 預設是沒有我自己改的 dayi4 + 3 碼好用，所以在每個人都要有一個順手的 dayi 碼表格外，我使用自己建的<br />可以到 github 下載我用的 <a href="https://github.com/richliu/PIME/blob/bde95c3b171911bafbed24f144daa80954f409c1/python/cinbase/cin/dayi4.cin" target="_blank" rel="noopener">dayi4.cin</a>，下載完之後放到 /usr/share/gcin/table</p>



<pre class="wp-block-preformatted">cd /usr/share/gcin/table
wget https://raw.githubusercontent.com/richliu/PIME/bde95c3b171911bafbed24f144daa80954f409c1/python/cinbase/cin/dayi4.cin</pre>



<p>然後將以下這二行對調，對調完如下</p>



<pre class="wp-block-preformatted">%ename DaYi3:en;大易三码:zh_CN;大易三碼:zh; 
%cname 大易三碼</pre>



<p>移除以下這一部份，這是 OXIM 的設定，gcin 不能用 (ref. <a href="https://hyperrate.com/thread.php?tid=27625" target="_blank" rel="noopener">提供可在 gcin 使用下的大易輸入法【四碼加三碼】總共13053字！</a>)</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p> %setting begin<br />        AutoCompose &#8220;Yes&#8221;<br />        AutoUpChar &#8220;Yes&#8221;<br />        AutoFullUp &#8220;Yes&#8221;<br />        SpaceAutoUp &#8220;No&#8221;<br />        SelectKeyShift &#8220;Yes&#8221;<br />        SpaceIgnore &#8220;Yes&#8221;<br />        SpaceReset &#8220;Yes&#8221;<br />        WildEnable &#8220;Yes&#8221;<br />        EndKey &#8220;No&#8221;<br />        DisableSelectList &#8220;None&#8221;<br />%setting end </p>
</blockquote>



<p>然後再執行</p>



<pre class="wp-block-preformatted">gcin2tab dayi4.cin
mv dayi4.gtab dayi3.gtab</pre>



<p>重新啟動 gcin 後，就可以在 gcin 底下用大易三碼的版本<br /><br />至於 KDE 下程式不吃中文<s>和常常不能顯示拆碼視窗就算了</s><br />我在 Linux 下沒有很常用這個功能<br /><br />目前碰到只有 telegram 不支援中文</p>



<h4 class="wp-block-heading">KDE 安裝 gcin</h4>



<p>請用 gcin 官網的方式設定[ref:<a aria-label="Ubuntu 20.04/18.04/16.04/ 安裝最新的 gcin 中文輸入的完整步驟 (opens in a new tab)" href="https://hyperrate.com/thread.php?tid=28044" target="_blank" rel="noreferrer noopener">Ubuntu 20.04/18.04/16.04/ 安裝最新的 gcin 中文輸入的完整步驟</a>]</p>



<pre class="wp-block-preformatted">如果是用 Xfce or KDE，需要執行&amp;設定 gcin-tools→外觀設定→面板狀態→GTK雙圖示</pre>



<p>這樣至少可以顯示拆碼視窗</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2019/04/05/3980/kubuntu%e5%9f%b7%e8%a1%8cgtk-%e7%a8%8b%e5%bc%8f%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8cgcin%e6%94%b9dayi%e4%b8%89%e7%a2%bc%e8%a1%a8/">Kubuntu執行GTK 程式的怪問題+gcin改dayi三碼表</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2019/04/05/3980/kubuntu%e5%9f%b7%e8%a1%8cgtk-%e7%a8%8b%e5%bc%8f%e7%9a%84%e6%80%aa%e5%95%8f%e9%a1%8cgcin%e6%94%b9dayi%e4%b8%89%e7%a2%bc%e8%a1%a8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Gentoo] KDE 升級到 Plasma 5</title>
		<link>https://richliu.com/2016/04/25/1949/gentoo-kde-%e5%8d%87%e7%b4%9a%e5%88%b0-plasma-5/</link>
					<comments>https://richliu.com/2016/04/25/1949/gentoo-kde-%e5%8d%87%e7%b4%9a%e5%88%b0-plasma-5/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 24 Apr 2016 18:53:15 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Plasma5]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[升級]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=1949</guid>

					<description><![CDATA[<p>其實大多數照 Plasma 5 這一份文件升級即可 https://wiki.gentoo.org/wiki/ [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2016/04/25/1949/gentoo-kde-%e5%8d%87%e7%b4%9a%e5%88%b0-plasma-5/">[Gentoo] KDE 升級到 Plasma 5</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>其實大多數照 Plasma 5 這一份文件升級即可<br />
https://wiki.gentoo.org/wiki/KDE/Plasma_5_upgrade</p>
<p>但是過程碰到很多問題, 這邊隨意記錄一下<br />
<span id="more-1949"></span></p>
<p>首先要照 Plasma 5 那份文件做</p>
<p>升級之後要跑一次 emerge &#8211;depclean 看有些那 KDE 的 package 沒有清乾淨, dependency 要去掉<br />
所以清掉舊的 KDE4 的 Library<br />
另外, 如果有 ruby 1.9, 記得也要升級成新版, 可能會造成 qtwebkit compile 錯誤</p>
<p>如果同時 gcc 是從 4.9 升級到 5.3 要跑一下這個指令<br />
$ revdep-rebuild &#8211;library &#8216;libstdc++.so.6&#8217; &#8212; &#8211;exclude gcc<br />
想必我每次 read news 根本沒有看到重點</p>
<p>執行這一行升級整個系統<br />
$ emerge &#8211;update &#8211;newuse &#8211;deep &#8211;with-bdeps=y @world<br />
執行完沒問題, 執行<br />
$ emerge &#8211;depclean<br />
執行完沒問題, 執行<br />
$ emerge @preserved-rebuild</p>
<p>本人以前的升級習慣真不好 :X</p>
<p>其他錯誤訊息的解決方法, 放在這邊看有沒有人能 Google 到</p>
<blockquote><p>
# emerge -a1v kde-plasma/kinfocenter kwin plasma</p>
<p>These are the packages that would be merged, in order:</p>
<p>Calculating dependencies&#8230; done!</p>
<p>emerge: there are no ebuilds built with USE flags to satisfy &#8220;&gt;=dev-qt/qtgui-5.5.1:5[gles2]&#8221;.<br />
!!! One of the following packages is required to complete your request:<br />
&#8211; dev-qt/qtgui-5.5.1-r1::gentoo (Change USE: +gles2, this change violates use flag constraints defined by dev-qt/qtgui-5.5.1-r1: &#8216;any-of ( eglfs xcb ) accessibility? ( dbus xcb ) eglfs? ( egl ) ibus? ( dbus ) libinput? ( udev ) xcb? ( gles2? ( egl ) )&#8217;)<br />
(dependency required by &#8220;kde-plasma/kinfocenter-5.6.3::gentoo[gles]&#8221; [ebuild])<br />
(dependency required by &#8220;kde-plasma/kinfocenter&#8221; [argument])</p></blockquote>
<p>這是因為我 USE flag 有 opengl 和 gels 這二個 flag, 事實上我是 intel 的顯示卡, 不必要去管這個, 所以移掉就好了</p>
<p>在 ~/.xinitrc 放 exec startkde 執行之後會有類似這樣的訊息</p>
<blockquote><p>startkde: Starting up&#8230;<br />
QStandardPaths: wrong ownership on runtime directory (null), -2 instead of 1000<br />
kdeinit5: Aborting. bind() failed: Permission denied </p></blockquote>
<p>建一個 /var/run/user 的目錄再給它 777 的權限, 改完之後就可以執行<br />
執行完一次之後再改回來也不會有問題 (這什麼怪問題)</p>
<p>升級到 5 沒有 KDM , 要改用 SDDM<br />
有碰到 sddm 沒法啟動 Plasma 暫時不想管<br />
沒想到重開機之後就 OK 了</p>
<p>ref. <a href="https://forums.gentoo.org/viewtopic-t-1039382.html" target="_blank" rel="noopener">[SOLVED] Emerging of dev-qt/qtwebkit-5.5.1-r1::gentoo fails</a><br />
<a href="https://forums.gentoo.org/viewtopic-t-1043412.html" target="_blank" rel="noopener">qtwebkit-5.5.1 [SOLVED]</a><br />
<a href="https://forum.kde.org/viewtopic.php?f=287&#038;t=121306" target="_blank" rel="noopener">wrong ownership on runtime directory /tmp, 0 instead of 1000</a></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2016/04/25/1949/gentoo-kde-%e5%8d%87%e7%b4%9a%e5%88%b0-plasma-5/">[Gentoo] KDE 升級到 Plasma 5</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2016/04/25/1949/gentoo-kde-%e5%8d%87%e7%b4%9a%e5%88%b0-plasma-5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Gentoo] 升級 KDE 4.9 的問題.</title>
		<link>https://richliu.com/2012/08/13/1249/gentoo-%e5%8d%87%e7%b4%9a-kde-4-9-%e7%9a%84%e5%95%8f%e9%a1%8c/</link>
					<comments>https://richliu.com/2012/08/13/1249/gentoo-%e5%8d%87%e7%b4%9a-kde-4-9-%e7%9a%84%e5%95%8f%e9%a1%8c/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Mon, 13 Aug 2012 14:09:38 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kde 4.9]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=1249</guid>

					<description><![CDATA[<p>都什麼年代了, 還在手賤亂升 KDE 系統&#8230;.. 不過習慣了. 整個系統都要慢慢編, 慢慢升上去. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2012/08/13/1249/gentoo-%e5%8d%87%e7%b4%9a-kde-4-9-%e7%9a%84%e5%95%8f%e9%a1%8c/">[Gentoo] 升級 KDE 4.9 的問題.</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>都什麼年代了, 還在手賤亂升 KDE 系統&#8230;..</p>
<p><span id="more-1249"></span></p>
<p>不過習慣了. 整個系統都要慢慢編, 慢慢升上去. </p>
<p>這次升級完 KDE 4.9 之後, 系統進入 X 之後, 隨即跳出來, 並且出現錯誤訊息<br />
這搞了我一天才一個一個找到方法解決, 在這邊做個記錄. </p>
<p>[TEXT]<br />
startkde: Starting up&#8230;<br />
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)<br />
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.<br />
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.<br />
kded(1018): Communication problem with  &#8220;kded&#8221; , it probably crashed.<br />
Error message was:  &#8220;org.freedesktop.DBus.Error.NoReply&#8221; : &#8221; &#8220;Message did not receive a reply (timeout by message bus)&#8221; &#8221;</p>
<p>startkde: Shutting down&#8230;<br />
klauncher: Exiting on signal 1<br />
startkde: Running shutdown scripts&#8230;<br />
startkde: Done.<br />
xinit: connection to X server lost<br />
[/TEXT]</p>
<p>這個問題呢, 只要 emerge world 就可以解決了<br />
[BASH]<br />
# emerge -uDNv world<br />
[/BASH]<br />
ref. <a href="http://forum.kde.org/viewtopic.php?f=15&#038;t=107170&#038;p=247557#p247557" target="_blank" rel="noopener">kde 4.9 failed to start</a></p>
<p>接下來 emerge world, 碰到編 crypto++ Library 的問題, (這段是放別人的, 不過原理是一樣的)<br />
[TEXT]<br />
serpent.lo esign.lo randpool.lo  -lpthread<br />
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o  .libs/sharkbox.o .libs/base32.o .libs/files.o .libs/hex.o .libs/gzip.o .libs/fips140.o .libs/mars.o .libs/dh2.o .libs/twofish.o .libs/eprecomp.o .libs/dsa.o .libs/polynomi.o .libs/winpipes.o .libs/vmac.o .libs/hrtimer.o .libs/md2.o .libs/fipstest.o .libs/rc5.o .libs/ccm.o .libs/simple.o .libs/queue.o .libs/xtrcrypt.o .libs/gf256.o .libs/cmac.o .libs/authenc.o .libs/des.o .libs/default.o .libs/idea.o .libs/gcm.o .libs/squaretb.o .libs/xtr.o .libs/emsa2.o .libs/sha.o .libs/network.o .libs/eax.o .libs/tea.o .libs/dessp.o .libs/algparam.o .libs/pch.o .libs/crc.o .libs/elgamal.o .libs/mqueue.o .libs/zlib.o .libs/ecp.o .libs/blowfish.o .libs/marss.o .libs/adler32.o .libs/wait.o .libs/iterhash.o .libs/safer.o .libs/wake.o .libs/gf2n.o .libs/rc2.o .libs/cryptlib_bds.o .libs/oaep.o .libs/square.o .libs/md4.o .libs/ida.o .libs/shark.o .libs/seed.o .libs/shacal2.o .libs/eccrypto.o .libs/ripemd.o .libs/camellia.o .libs/pubkey.o .libs/trdlocal.o .libs/salsa.o .libs/seal.o .libs/luc.o .libs/ttmac.o .libs/gf2_32.o .libs/mqv.o .libs/dh.o .libs/bfinit.o .libs/whrlpool.o .libs/asn.o .libs/rng.o .libs/cast.o .libs/tiger.o .libs/channels.o .libs/zinflate.o .libs/pssr.o .libs/misc.o .libs/pkcspad.o .libs/base64.o .libs/zdeflate.o .libs/basecode.o .libs/algebra.o .libs/blumshub.o .libs/ec2n.o .libs/casts.o .libs/gfpcrypt.o .libs/cryptlib.o .libs/rijndael.o .libs/strciphr.o .libs/modes.o .libs/panama.o .libs/nbtheory.o .libs/md5.o .libs/hmac.o .libs/socketft.o .libs/gost.o .libs/tigertab.o .libs/cbcmac.o .libs/tftables.o .libs/rsa.o .libs/rdtables.o .libs/rw.o .libs/3way.o .libs/rabin.o .libs/filters.o .libs/cpu.o .libs/sosemanuk.o .libs/integer.o .libs/rc6.o .libs/skipjack.o .libs/osrng.o .libs/arc4.o .libs/dll.o .libs/serpent.o .libs/esign.o .libs/randpool.o   -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o  -Wl,-O1 -Wl,&#8211;as-needed -pthread   -pthread -Wl,-soname -Wl,libcrypto++.so.0 -o .libs/libcrypto++.so.0.0.0<br />
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crti.o: No such file or directory<br />
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtbeginS.o: No such file or directory<br />
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/crtendS.o: No such file or directory<br />
x86_64-pc-linux-gnu-g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/crtn.o: No such file or directory<br />
make: *** [libcrypto++.la] Error 1<br />
[/TEXT]</p>
<p>原來以為是 libtool 要用 fix_libtool_files.sh 去修正它, 不過還是沒有用, 最後用了一個很鳥的方式解決, 就是重新編 libtool<br />
[BASH]<br />
# emerge -av libtool<br />
[/BASH]</p>
<p>ref.<br />
<a href="http://forums.gentoo.org/viewtopic-t-932696.html?sid=a50a690e14f6f7897845654c3c31e129" target="_blank" rel="noopener">Cannot compile amule due to crypto++</a></p>
<p>接下來就是碰到編 sys-auth/polkit-kde-agent 的問題<br />
[TEXT]<br />
Linking CXX executable polkit-kde-authentication-agent-1<br />
/usr/bin/cmake -E cmake_link_script CMakeFiles/polkit-kde-authentication-agent-1.dir/link.txt &#8211;verbose=1<br />
/usr/bin/x86_64-pc-linux-gnu-g++   -march=core2 -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden  -Wl,&#8211;enable-new-dtags  -Wl,-O1 -Wl,&#8211;as-needed CMakeFiles/polkit-kde-authentication-agent-1.dir/polkit-kde-authentication-agent-1_automoc.o CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitkde.o CMakeFiles/polkit-kde-authentication-agent-1.dir/policykitlistener.o CMakeFiles/polkit-kde-authentication-agent-1.dir/main.o CMakeFiles/polkit-kde-authentication-agent-1.dir/AuthDialog.o CMakeFiles/polkit-kde-authentication-agent-1.dir/polkit1authagentadaptor.o  -o polkit-kde-authentication-agent-1 -rdynamic -L/usr/lib64/qt4 /usr/lib64/libkdeui.so.5.8.0 -lpolkit-qt-gui-1 -lpolkit-qt-core-1 -lpolkit-qt-agent-1 /usr/lib64/libkdecore.so.5.8.0 /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so -Wl,-rpath,/usr/lib64/qt4:<br />
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libattica.so.0.3, needed by /usr/lib64/libkdeui.so.5.8.0, not found (try using -rpath or -rpath-link)<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::~Person()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::~Provider()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::city() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::extendedAttribute(QString const&#038;) const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ItemJob<attica::person>::result() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Metadata::~Metadata()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ProviderManager::ProviderManager()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::country() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ProviderManager::providers() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::name() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::Provider()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::avatarUrl() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ProviderManager::loadDefaultProviders()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Metadata::error() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ProviderManager::~ProviderManager()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::BaseJob::start()&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::ProviderManager::providerByUrl(QUrl const&#038;) const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::isValid() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::requestPerson(QString const&#038;)&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Person::homepage() const&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::Provider::operator=(Attica::Provider const&#038;)&#8217;<br />
/usr/lib64/libkdeui.so.5.8.0: undefined reference to `Attica::BaseJob::metadata() const&#8217;<br />
collect2: ld returned 1 exit status<br />
[/TEXT]</p>
<p>這個內文也是拿別人的, 不過原理還是一樣, 解決方式是重編 kdelib<br />
[BASH]<br />
# emerge -av kdelib<br />
[/BASH]</p>
<p>ref.<br />
<a href="http://forums.gentoo.org/viewtopic-t-932432-start-0.html" target="_blank" rel="noopener">[solved] polkit-kde-agent versus libattica</a></p>
<p>如果 emerge world 有中斷, 解決完問題之後, 可以加上 r 參數從斷掉的地方接下去編, 就不用每次都重來了<br />
[BASH]<br />
# emerge -uDNvr world<br />
[/BASH]<br />
編到超過一半應該就可以試著重新啟動 KDE 了.</attica::person></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2012/08/13/1249/gentoo-%e5%8d%87%e7%b4%9a-kde-4-9-%e7%9a%84%e5%95%8f%e9%a1%8c/">[Gentoo] 升級 KDE 4.9 的問題.</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2012/08/13/1249/gentoo-%e5%8d%87%e7%b4%9a-kde-4-9-%e7%9a%84%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Gentoo] KDE 4.1.3 升級到 KDE 4.2.0</title>
		<link>https://richliu.com/2009/01/31/709/gentoo-kde-413-%e5%8d%87%e7%b4%9a%e5%88%b0-kde-420/</link>
					<comments>https://richliu.com/2009/01/31/709/gentoo-kde-413-%e5%8d%87%e7%b4%9a%e5%88%b0-kde-420/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sat, 31 Jan 2009 06:13:49 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=709</guid>

					<description><![CDATA[<p>最近 KDE 出了 4.2.0, 所以就順手升級一下我的 Gentoo Server 因為 Gentoo KD [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2009/01/31/709/gentoo-kde-413-%e5%8d%87%e7%b4%9a%e5%88%b0-kde-420/">[Gentoo] KDE 4.1.3 升級到 KDE 4.2.0</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>最近 KDE 出了 4.2.0, 所以就順手升級一下我的 Gentoo Server</p>
<p>因為 Gentoo KDE 都改 split package 的方式, 所以移除原來的 Package 似乎比較麻煩</p>
<p>移除主要的 KDE Package</p>
<p># emerge -C `get-child-packages kde-base/kdebase`<br />
# emerge -C `get-child-packages kde-base/kdeutils`</p>
<p>找出其他的 KDE package</p>
<p># eix ^kde | grep \\\[I\\\]</p>
<p>再執行</p>
<p># emerge -pv kde-base/kdebase-startkde</p>
<p>找出最後沒有刪除的  KDE Package</p>
<p>有時用指令 &#8220;get-parent-packages&#8221; 可以找出上層的 library, 但是大部份還是要靠 emerge 去找出來.</p>
<p>這樣很沒有效率, 不知道大家有沒有比較快的方法?</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2009/01/31/709/gentoo-kde-413-%e5%8d%87%e7%b4%9a%e5%88%b0-kde-420/">[Gentoo] KDE 4.1.3 升級到 KDE 4.2.0</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2009/01/31/709/gentoo-kde-413-%e5%8d%87%e7%b4%9a%e5%88%b0-kde-420/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Byebye Gentoo, Welcome Kubuntu</title>
		<link>https://richliu.com/2008/11/10/638/byebye-gentoo-welcome-kubuntu/</link>
					<comments>https://richliu.com/2008/11/10/638/byebye-gentoo-welcome-kubuntu/#comments</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Mon, 10 Nov 2008 06:31:21 +0000</pubDate>
				<category><![CDATA[隨手札記]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vmware]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=638</guid>

					<description><![CDATA[<p>在幾次的心理掙扎之下, 我還是下定決心換 Kubuntu 了. 主要原因還是 Gentoo 在 Desktop [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2008/11/10/638/byebye-gentoo-welcome-kubuntu/">Byebye Gentoo, Welcome Kubuntu</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>在幾次的心理掙扎之下, 我還是下定決心換 Kubuntu 了.</p>
<p>主要原因還是 Gentoo 在 Desktop Linux environment 環境不太友善, 要花太多時間去調教.<br />
從我 2004/12/11 日在 Notebook 主要作業系統從 Windows XP 轉到 Gentoo Linux 之後(請見 <a href="https://richliu.com/2004/12/11/72/" target="_blank">今天要記念一下…</a>.)</p>
<p>之後經歷了, Toshiba 31CDT, IBM X31 , IBM X61 等等硬體升級, Gentoo 也重灌過 3 次 (雖然看起來很多, 但是事實上仍然比我的 Windows XP 桌機少很多次, Windows XP 大概是 3~6 個月一次吧).</p>
<p>這次問題還是在於, Intel 的 driver 升級之後, 整個顯示效能己經下降到我無法接受的狀況(5x FPS, 正常要 600FPS 上下), 而且我找不太出來解決方法.<br />
而系統都升級上來了, 要 downgrade 是有問題的.後來心一橫, 就換用 kubuntu 試試看</p>
<p>我個人比較喜歡 KDE 的 style , 所以傾向都是用 KDE 系統, 只有在上 PTT 時用 gnome-terminal (字型因素)</p>
<p>kubuntu 安裝在 IBM X61 上沒有什麼大問題(到目前為止, 只有麥克風無法收音, 原因不明).<br />
至於其他常用的程式大致上都 OK. (目前只有 KDETwitter 有問題)</p>
<p>其他 Mozilla, Thunderbird, Kopete , Skype, SSH 的設定都很順利的就搬過來了.</p>
<p>VMWare 改裝 6.5.0 的版本, 在 kubuntu 8.10 上可以正常安裝, 不過 vmware 6.5.0 不再用 vmware-config.pl 去設定系統, 如果網路要調整, 要執行 vmware-netcfg.</p>
<p>Acrobat Reader 和 Adobe Flash 就要到網站下載, 這是比較不方便的地方, 希望以後可以提供 deb source.list 的方式下載</p>
<p>Skype 的安裝可以參照這一篇 <a href="https://help.ubuntu.com/community/Skype" target="_blank" rel="noopener">Skype</a></p>
<p>Google Desktop 的安裝可以參照這一篇 <a rel="bookmark noopener" href="http://ubuntu-tutorials.com/2007/09/03/how-to-install-google-desktop-on-ubuntu/" target="_blank">How To Install Google Desktop On Ubuntu</a></p>
<p>GPG key 的安裝可以加上 &#8220;# apt-key add key-file&#8221; 就可以了.</p>
<p>Gentoo 真是一個不錯的系統, 不過我太老, 太累, 時間太少, 沒有力氣陪他一起再 compile 慢慢玩.<br />
目前 Server 部份應該都還是會用 Gentoo, Desktop 部份就是以 kubuntu 為主了.</p>
<p>真是謝謝 Gentoo Team 陪我走過這一段時間. 希望他們能保持下去.</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2008/11/10/638/byebye-gentoo-welcome-kubuntu/">Byebye Gentoo, Welcome Kubuntu</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2008/11/10/638/byebye-gentoo-welcome-kubuntu/feed/</wfw:commentRss>
			<slash:comments>13</slash:comments>
		
		
			</item>
		<item>
		<title>2008 秋季 Gentoo 大升級</title>
		<link>https://richliu.com/2008/10/28/616/2008-%e7%a7%8b%e5%ad%a3-gentoo-%e5%a4%a7%e5%8d%87%e7%b4%9a/</link>
					<comments>https://richliu.com/2008/10/28/616/2008-%e7%a7%8b%e5%ad%a3-gentoo-%e5%a4%a7%e5%8d%87%e7%b4%9a/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 28 Oct 2008 12:49:41 +0000</pubDate>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[vmware]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=616</guid>

					<description><![CDATA[<p>己經有四個多月沒有大升級我的 Gentoo 了, 剛好昨天到公司的時候, compiz-fusion 開不起來 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2008/10/28/616/2008-%e7%a7%8b%e5%ad%a3-gentoo-%e5%a4%a7%e5%8d%87%e7%b4%9a/">2008 秋季 Gentoo 大升級</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>己經有四個多月沒有大升級我的 Gentoo 了, 剛好昨天到公司的時候, compiz-fusion 開不起來(真是剛好呀).<br />
就順手升級了系統, 這一次換掉的有</p>
<p>Linux kernel 2.6.24 -&gt; Linux kernel 2.6.27<br />
KDE 3.5.9 -&gt; KDE 3.5.10<br />
OpenOffice 2.4.1 -&gt; OpenOffice 3.0.0</p>
<p>其中 Kernel 的部份我己經懶得去調整, 就用 Genkernel 去產生我要的 Image, 雖然時間長了一點, 不過問題就比較小了. 以後真的要編再自己用 distcc 去小調整就好了.</p>
<p>比較麻煩的是 KDE 到  3.5.10, 這一次 Gentoo 捨棄原來的做法, 改用 <a href="http://www.gentoo.org/proj/en/desktop/kde/kde-split-ebuilds.xml" target="_blank" rel="noopener">split ebuild</a> 的架構, 本來 KDE 十數個套件被拆成數十個套件, 每個套件都要重解再 compile , 這是多麼花時間的事情呀. 不過 Gentoo 在 KDE 4 都是採用這樣的架構就是了. 個人因為還不是很喜歡 KDE 4 的架構, 所以還是在用 3.5.10, 不過保留升級的彈性(我猜不久的將來還是會升級的).</p>
<p>升級的方法很簡單,</p>
<blockquote><p>移除原來的套件</p>
<p># emerge &#8211;unmerge krename kde-base/kdenetwork kde-base/kdewebdev kde-base/kdeadmin kde-base/kdeedu kde-base/kdegraphics kde-base/kdeaddons kde-base/kdeutils kde-base/kdeartwork kde-base/kdemultimedia kde-base/kdepim kde-base/kdegames kde-base/kdetoys kde-base/kdebase</p>
<p>加上版本限制</p>
<p># echo &#8220;&gt;kde-base/kde-meta-4.0&#8221; &gt; /etc/portage/package.mask</p>
<p>安裝新的 KDE, 這會花很多時間</p>
<p># emerge kde-meta</p>
<p>如果不想要全部都裝, 可以裝</p>
<p># emerge kde-base/kdebase-startkde kdm</p>
<p>這二個套件, 也可以和原來的效果相同, 而且不用編很多, 不用多裝很多沒有用的東西</p></blockquote>
<p>順利的話, 這一部份可以安裝成功, 如果不成功就看看錯誤訊息, 大概就是某個套件要加某個參數之類的.</p>
<p>Vmware workstation 109488 也出了, 不過有些小問題, compile 會不成功, 可以參照這一篇文件<a href="http://bugs.gentoo.org/show_bug.cgi?id=242098" target="_blank" rel="noopener"><br />
app-emulation/vmware-modules-1.0.0.22 fails to compile in 2.6.27</a><br />
去 Patch 系統的檔案就可以了, 我猜很快就會進 ebuild 內</p>
<p>如果有出現 <strong>VCPU 0 RunVM failed: Operation not permitted</strong><br />
記得不要裝 kvm 和 kvm_intel module. Vmware 執行會有問題.</p>
<p>OpenOffice 3.0.0 看起來是沒有什麼大問題, 暫時先不管他.</p>
<p>目前感覺系統還是有點慢, 不知道是 x61 + 7200RPM HDD 慢還是我設定錯誤呀&#8230;..</p>
<p>[後記]</p>
<p>最後 KDE 3.5.10 有點小問題(像是 Firefox 的密碼會一直不能寫入, 試過網路上的方法, 重開機之後還會出現等等), 一氣之下, 就直接升級到 KDE 4.1 了, 有些地方使用習慣不太一樣, 不過大致上是可以接受(比 4.0 好太多了).</p>
<p>至於系統有點慢的問題, 可能是 xorg-server 1.5.2 + xf86-video-intel + linux kernel 2.6.27 的問題.<br />
有人也回報類似的狀況, 好像是不支援 GEM 之類的, 等到換 2.6.28 之後這個問題就可以解決.</p>
<p>大概有一個頭緒了, 目前 Intel Driver 似乎只支援 TTM 架構做加速, 不支援 GEM, 但是 GEM 所需要的 Patch 太多, 目前 Kernel 並沒有完全支援, 如果要支援加速, 那就要重啟 TTM. 有興趣的可以參照這一篇文章 <a class="maintitle" style="color: orange;" href="http://forums.gentoo.org/viewtopic-t-706953-start-0-postdays-0-postorder-asc-highlight-.html" target="_blank" rel="noopener">Intel i915: Using TTM with mesa-7.1/xorg-server-1.5</a></p>
<p>我沒力試了, 可以用就好.</p>
<p>Ref.</p>
<p><a href="http://bugs.gentoo.org/show_bug.cgi?id=236917" target="_blank" rel="noopener">media-libs/mesa-7.1: ttm always disabled</a></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2008/10/28/616/2008-%e7%a7%8b%e5%ad%a3-gentoo-%e5%a4%a7%e5%8d%87%e7%b4%9a/">2008 秋季 Gentoo 大升級</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2008/10/28/616/2008-%e7%a7%8b%e5%ad%a3-gentoo-%e5%a4%a7%e5%8d%87%e7%b4%9a/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
