看板 Linux 關於我們 聯絡資訊
目前的筆電用的是 Intel Corporation Sky Lake Integrated Graphics 安裝Ubuntu 16.04後 雖然一切安好 但看影片時 畫面會破裂 同一台筆電 現在改安裝Linux Mint 18.1 Cinnamon 同一部影片 畫面破裂的情形減少到幾乎沒有 Ubuntu跟Mint 裝的Codecs應該差不多 所以會影響畫面破裂的因素 應該就是驅動程式 如果我找得到Mint已安裝的驅動程式 然後拿去安裝在Ubuntu裡面 這台筆電用Ubuntu看影片 應該就不會畫面破裂了 可是,怎麼找出Mint裡面已安裝了的驅動程式? 謝謝。 -- ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1484917284.A.2F1.html
HamalAri: codec 和驅動無關 01/20 21:43
HamalAri: 驅動就只是 i915 ; 然後 X 會需要 mesa/dri 01/20 21:46
好,謝謝
HamalAri: 會撕裂頂多也只是改改 xorg.conf 和 i915 有關參數 01/20 21:47
改參數我就不會了
HamalAri: 至於 xf86-video-intel 那個根本不用裝而且只影響 2d 01/20 21:47
a34021501: find / -name "*.ko" 01/20 21:55
a34021501: lsmod 01/20 21:56
a34021501: lspci也可以試試看有哪些device 01/20 22:00
好的,謝謝
a34021501: 用linux的好處是碰到有問題的.ko可以自己編譯一個~_~" 01/20 22:01
amatt: lspci -nnk 01/20 23:21
結果跑出來了: 00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1904] (rev 08) Subsystem: Dell Skylake Host Bridge/DRAM Registers [1028:06b2] 00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07) DeviceName: Onboard IGD Subsystem: Dell Skylake Integrated Graphics [1028:06b2] Kernel driver in use: i915_bpo Kernel modules: i915_bpo ... 後面還有一大串 不過似乎看到驅動程式了:i915_bpo 但,根據HamalAri的意思,似乎找到驅動之外,還得會改參數才行
Bencrie: 用哪個播放器? 01/21 00:14
播放器是指螢幕嗎? ※ 編輯: connected (1.169.149.48), 01/21/2017 07:44:29
Bencrie: 你播放影片用的軟體 01/21 16:27
connected: VLC 及 SMPlayer 01/21 16:50
Bencrie: 把兩個軟體的影像輸出改成 OpenGL/GLX 01/21 17:46
Bencrie: 其實我不太確定你說的破裂是指 screen tearing 還是 01/21 17:47
Bencrie: decode 破圖。 01/21 17:48
應該是 screen tearing 特別是影片中人物快速動作時(如車子飛奔而過) 畫面就會撕裂 類似這樣吧:https://goo.gl/bKMbtA 或這樣:https://goo.gl/wrv1b7 ※ 編輯: connected (1.169.149.48), 01/21/2017 18:02:52
Bencrie: 喔喔,那就把 vo 改成 OpenGL/GLX/vaapi 吧 01/21 18:07
嗯,好,謝謝 所以,請教一下 畫面撕裂其實跟驅動完全無關?只要改video output就可以了? (我前兩天已經把筆電安裝成Mint 18,因為畫面撕裂的電腦看起來很痛苦 未來若安裝Ubuntu或替親友安裝 會改video output) ※ 編輯: connected (1.169.149.48), 01/21/2017 18:23:41
Bencrie: 無關啊,除非 driver 的 vsync 那塊做壞了 01/21 19:00
Bencrie: 會撕裂大概是自動選 vo 的時候選到 x11 或 xv 吧 01/21 19:02
了解,感謝! 所以,以後如果要選購筆電 不管筆電內建的video card是AMD 或 Nvidia 都不影響Linux的安裝?不用特別為Linux選擇Nvidia的筆電? ※ 編輯: connected (1.169.149.48), 01/21/2017 19:44:19
Bencrie: 其實比較推純 intel 的 XD 01/21 19:58
剛「lspci -v」了一下,發現這台筆電是: VGA compatible controller: Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller]) 但 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: radeon Kernel modules: radeon 所以看來這台筆電不是純intel
Bencrie: 如果沒有要玩 CUDA、OpenCL、打電動的話這樣就夠用了 01/21 20:05
嗯,主要是看影片時畫面不要花掉、讓人出戲就好了 XD ※ 編輯: connected (1.169.149.48), 01/21/2017 21:59:45
Bencrie: 你這台規格看起來好像 Inspiron 14 5000 XD 01/21 23:52
哈哈,很接近了。 不過,是 Dell Inspiron 15 5000 剛又用Mint 18在這台筆電看了一下電影復仇者聯盟的打鬥場面 幾乎沒什麼可以挑剔的 也完全沒有 screen tearing 所以 算OK 只是,為何Mint 18可以,Ubuntu 16.04不行(會有畫面撕裂)? Mint 18明明就是以Ubuntu 16.04為基礎開發的 關於 AMD Catalyst (fglrx) drivers, Linux Mint 在官網(https://goo.gl/xwNAMw)上說: The AMD Catalyst (fglrx) drivers are not compatible with Xorg 1.18, which is the version used in Linux Mint 18. These drivers are proprietary and so their code is not available. AMD indicated they no longer wanted to support them and urged their customers to use open-source drivers instead. If you are using an ATI GPU in Linux Mint 18, the operating system will either select the Radeon or AMDGPU drivers for you, and these are installed by default. 也就是: 『AMD Catalyst (fglrx) 的驅動程式不與 Xorg 1.18 相容。 而Mint 18用的就是Xorg 1.18。 這些驅動是有專利的,所以無法取得使用。AMD表示他們不再打算提供支援,因此希望 他們的使用者能改用開源版的驅動程式。 如果你在Linux Mint 18上使用ATI GPU,作業系統會自動為你選擇安裝Radeon或AMDGPU 的驅動程式。』 所以,我這台筆電現在用的驅動程式就是Radeon的開源版驅動程式。 Ubuntu 16.04應該也一樣才對呀!為什麼兩個畫質差這麼多? ※ 編輯: connected (1.169.149.48), 01/22/2017 00:47:21 剛用USB隨身碟 開機 Ubuntu 16.04 在YouTube上觀賞HD的動作場面 沒有畫面撕裂 但因為是隨身碟開機,Ubuntu 16.04 無法安裝 VLC 或其他播放器 所以無法用 VLC 試看影片,改變video output,測試撕裂情形 輸入「lspci -v」後,得出Ubuntu 16.04的drivers與Mint18一樣,都是: Kernel driver in use: radeon Kernel modules: radeon ※ 編輯: connected (118.167.4.32), 01/22/2017 08:22:58
Bencrie: 雖然他有列 radeon,可是實際上你是用 intel 在看片吧 01/22 12:30
我目前的程度是Linux初學者 無法判斷「實際上」筆電是用哪一套driver在看影片耶 ※ 編輯: connected (118.167.4.32), 01/22/2017 15:22:44
Bellkna: 我記得 影片播放軟體都有即時資訊顯示 裡面就有寫用啥播 01/22 19:49
Bencrie: glxinfo 就會寫 default 輸出 01/22 20:55
嗯,那如果是用VLC或SMPlayer播放影片 要去哪裡看driver的資訊? ※ 編輯: connected (118.167.4.32), 01/22/2017 21:09:00 Google「glxinfo」了,原來這個是指令 跑出一大串資料,不確定哪個資料是在講driver 比如: server glx vendor string: SGI client glx vendor string: Mesa Project and SGI Extended renderer info (GLX_MESA_query_renderer): Vendor: Intel Open Source Technology Center (0x8086) Device: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) (0x1916) OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0 ... 等等 ※ 編輯: connected (118.167.4.32), 01/22/2017 21:17:48
Bencrie: 就直接下 glxinfo。雙顯卡機器你沒指定用獨立顯卡 01/22 21:15
Bencrie: 就是用內建顯示晶片 01/22 21:15
Bellkna: Tearing prevention ("vsync") 關掉看看 01/23 00:18
好,謝謝 兩天前已經把筆電改裝成Mint18 沒有tearing的問題 下次換Ubuntu或其他版本的時候 會試看看 ※ 編輯: connected (118.167.4.32), 01/23/2017 10:08:21 剛用Manjaro 16.10.03 XFCE 的 Live USB 開機 在YouTube上觀賞The Mummy的預告片(https://goo.gl/mcUoZV) 約45秒處,飛機受大量不明飛行物體(應該是鳥)攻擊時, 畫面出現明顯的撕裂(screen tearing)。 關機後,改開啓Linux Mint 18,同部預告片,完全沒有tearing發生! 但Manjaro 16.10.03用的是上一個版本的X.org Mint 18(及Ubuntu 16.04)用的是新版本的Xorg 1.18 反而Mint 18的影片播放可以完美呈現! 我沒有下載、安裝、或更動過Mint 18的任何drivers Mint 18安裝好 直接就可以看影片了 給使用AMD/ATI顯卡的Linux幼幼班同學參考一下 ※ 編輯: connected (118.167.4.32), 01/23/2017 22:32:32
Bellkna: 我用arch前陣子都還得關掉才會正常 直到最近driver升級 01/23 23:58
Bellkna: 使用amd內顯 xorg升級好幾次都一樣 覺得應該是driver問題 01/23 23:59
Bencrie: compositor 也有差,mutter 是兇手之一 XD 01/24 00:26
Bencrie: 如果要用 xfwm4 比的話大家都要用一樣的才比較準 01/24 00:26
Bencrie: Ubuntu Unity、Mint Cinnamon、Manjaro XFCE 這樣比不準 01/24 00:28
Bencrie: (compiz/mutter/xfwm4) 01/24 00:28
Bellkna: 其實就算用一樣 還有版本環境硬體差異 要抓問題不容易 01/24 01:11
剛好奇又用Ubuntu 16.04.01的Live USB開機一下 開Firefox 在YouTube上觀賞The Mommy的預告片(同上) 整部預告片看到完 包括45秒處 被鳥攻擊的地方 都沒有screen tearing 而Manjaro 16.10.03看同部預告有嚴重的screen tearing 所以,應該可以排除codecs,不是codecs的問題 (除非YouTube上看影片與codecs無關) 理由是,Live USB開機的話,是沒有下載、安裝codecs的 ※ 編輯: connected (118.167.4.32), 01/24/2017 09:06:18
Bencrie: codecs 本來就不會影響 vsync/screen tearing 01/24 12:03
嗯,不過這個我本來是不知道的 ※ 編輯: connected (118.167.4.32), 01/24/2017 22:31:38