Category Archives: OS

Wine 玩 Diablo III 音樂會頓的問題…

這幾天用 Wine 跑 Diablo III,有時聲音會狂 lag,關掉 Diablo III 後重跑還是一樣,要重開機才會恢復… 仔細看 Wine 丟出來的訊息,發現訊息內有給這個網頁:「winepulse in ubuntu wine ppa」,其中提到 1.5.3 以後的 ppa 版本 (寫這篇文章的時候是 1.5.4) 可以在啟動 Wine 時加上環境變數 WINENOPULSE=1 解決聲音的問題。 目前測起來是正常了,不知道還會不會有其他問題要解…

Posted in Computer, Game, Linux, Murmuring, OS, Recreation, Software, Windows | Tagged , , , , , , , | 1 Comment

在 Ubuntu (12.04) 上用 Wine 1.5.4 跑 Diablo III

主要是參考「WineHQ – Diablo III 1.0.*」這個網頁,另外找資料的時候有找到「[心得] Diablo III on Ubuntu 12.04 x86 – 看板 DIABLO – 批踢踢實業坊」這篇。 我是使用沒有 non-patch wine 1.5.4 跑的 (透過「Latest official WineHQ releases : “Ubuntu Wine Team” team」這邊提供的 ppa),所以必須先用 Windows 裝完 Diablo III 後再 copy 到 Ubuntu 裡面。 … Continue reading

Posted in Computer, Game, Linux, Murmuring, Network, OS, Recreation, Software | Tagged , , , , | Leave a comment

Ubuntu 12.04 與 Nvidia GTX 550 Ti

Ubuntu 12.04 換完顯示卡,重開機就沒畫面了,原因是系統的顯卡驅動程式不夠新。 解法是: 開機的時候先進 GRUB 畫面,進 recovery mode 生一個 root shell 出來。 把網路弄通,對於有發 DHCP 的設備,用 ifconfig eth0 up + dhclient 應該夠用。 裝 nvidia-current。 重開機後就正常了…

Posted in Computer, Hardware, Linux, Murmuring, OS, Software | Tagged , , , , , , , | Leave a comment

AWS USD$50 的優惠…

從 Colin Percival 的 Twitter 上看到的: Looks like Amazon Web Services is giving away $50 credits which can be used for running FreeBSD on EC2: http://aws.amazon.com/solutions/global-solution-providers/microsoft/aprilcredit/ 活動的網址在「$50 AWS Service Credit for Microsoft Windows Server Instances Running on Amazon EC2」這裡。照說明是用在 AWS … Continue reading

Posted in AWS, Cloud, Computer, FreeBSD, Murmuring, Network, OS, Windows | Tagged , , | Leave a comment

AMD CPU bug 問題…

去年年底時 Matthew Dillon 在 DragonFly BSD mailing list 上的說明:「Buildworld loop seg-fault update — I believe it is hardware」,以及今年三月從 AMD 確認問題「AMD cpu bug update — AMD confirms! (additional info)」。 可以從 mailing list 上看到他想辦法重製問題的方法 (從兩天才能重製,到小於 60 秒就能重製),讓他覺得最棘手的原因是無法引入工具: Debugging the issue in userland … Continue reading

Posted in Computer, Hardware, Murmuring, OS, Software | Tagged , , | Leave a comment

AWS EC2 全面支援 64bits,並補上產品線…

之前用 AWS EC2 的人常遇到的狀況是,t1.micro 記憶體太小會常常 out of memory (用 EBS 硬撐當 swap 效能不好),但 m1.small 只能跑 32bits,為他做完整的 32bits image 維護成本實在不划算,因為等到之後變大後又得改做一份 64bits 的 image,如果從 t1.micro 改用 m1.large 又嫌太大台… 現在這個問題總算是解決了:「Announcing three new Amazon EC2 features」,EC2 這次提供新功能包括: 推出新的 instance 種類 m1.medium,收費是 m1.small 的兩倍,所以規格大致上也是 m1.small … Continue reading

Posted in AWS, Cloud, Computer, Linux, Murmuring, Network, OS, Software | Tagged , , , , , | 2 Comments

iTerm2 + screen (FreeBSD 上) 的 256 色

我家裡有兩台桌機在用,一台是跑 Ubuntu 11.10,另外一台是 Mac Mini (上面是 10.7),雖然 Mac 的字比較好看,但平常主要開發都還是在 Ubuntu 上,因為搞不定 iTerm2 過 GNU Screen 後只剩下標準 16 color 的問題… 中間找問題的過程就跳過去 (也忘的差不多了),最後是在「Report Terminal Type」這邊找到解法,本來是「xterm-256color」,改成「xterm」後 screen 內的 256 色就出現了:

Posted in Computer, MacOS, Murmuring, OS, Software | Tagged , , , , , | 2 Comments

Ubuntu 11.04 最近一次 kernel 升級後沒聲音…

桌機還在用 Ubuntu 11.04,剛剛 apt-get 升級後沒聲音了 (有注意到 kernel 有更新),後來是用「Ubuntu 11.04 – No sound at all」這篇的方法解決: rm -r ~/.pulse ~/.asound* ~/.pulse-cookie sudo rm /etc/asound.conf 重開機後就有聲音了…

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , | Leave a comment

自己編 rTorrent 與 libTorrent…

Ubuntu 提供的 rTorrent 比較舊,11.04 上面只有 0.8.6 可以用,11.10 則是 0.8.7。目前最新的 stable 是 0.8.9,有支援 magnet uri… 找了 launchpad 上面有沒有人做,看起來是沒有 :/ 因為不想影響到系統舊版的 libTorrent 與 rTorrent,所以裝在自己的 home directory 下。 先安裝 libTorrent,用 ./configure –prefix=/home/gslin/foo 之後用 make 編完後 make install 就可以了,有缺軟體的部份會跳訊息出來,用 apt-get 補上 -dev 版本後再繼續安裝。 再來是 … Continue reading

Posted in Computer, Linux, Murmuring, Network, OS, P2P, Software | Tagged , , | Leave a comment

把 Ubuntu 11.10 的 Alt-Tab 行為改掉…

參考「Revert Alt-tab behavior changed in 11.10」這篇提到的方法改。 Ubuntu 11.10 的 Alt-Tab 切換視窗的行為與 11.04 不同,會遇到切換兩次是不會切回原來視窗的情況。 我遇到的情況是 Google Chrome 除了 browser 本身以外,還開了一個 Tasky for Google Tasks,於是在系統裡面就會有兩個視窗。當我現在 focus 在 browser window,用 Alt-Tab 切到 terminal 後,再用 Alt-Tab 切回來,focus 變成在 Tasky 上面… 這讓人相當困擾 :o 依照上面那篇文章所提到的方法改系統設定就回到原來 11.04 … Continue reading

Posted in Computer, Linux, Murmuring, OS, Software | Tagged , , , | 1 Comment