kde wayland 很卡?

最大的社区版本,Ubuntu的发源地
回复
debub
帖子: 289
注册时间: 2010-05-16 18:17

kde wayland 很卡?

#1

帖子 debub » 2017-05-24 15:26

最近想折腾一下,弄个 sid 的 kde5 试试。
上次由 debub 在 2017-05-25 20:35,总共编辑 2 次。

Intel G4560 + 8G DDR4
HD610 + GTX1050M
Windows10 + Manjaro kde
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: debian wayland 可用了吗?

#2

帖子 poloshiao » 2017-05-24 18:26

debub
帖子: 289
注册时间: 2010-05-16 18:17

Re: debian wayland 可用了吗?

#3

帖子 debub » 2017-05-25 20:31

谢谢 poloshiao

Debian sid 成功安装,ssdm 可以选择 plasma 和 plasma wayland,第一个没有问题,特效流畅,wayland 那个也可以登录,但很卡,发现是 kwin-wayland 进程的 CPU 占用很高,内存狂飙至 4G,不知是什么原因。

我是用 debian-8.8.0-amd64-netinst.iso 安装的基础系统,再升级至 sid,然后跳过 xorg 直接安装 plasma:

sudo aptitude -R install fonts-wqy-microhei kde-l10n-zhcn kde-window-manager dolphin konsole kwrite systemsettings sddm plasma-desktop plasma-nm plasma-pa plasma-workspace-wayland

xorg wayland 作为依赖被自动装上了,不知道是不是过于精简,有没有什么包漏装?显卡是牙膏厂的集显,NV 没有启用。
但这样真的真的很小巧呵,开机才 310M :em06

Intel G4560 + 8G DDR4
HD610 + GTX1050M
Windows10 + Manjaro kde
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: kde wayland 很卡?

#4

帖子 poloshiao » 2017-05-26 7:52

wayland 那个也可以登录,但很卡,发现是 kwin-wayland 进程的 CPU 占用很高,内存狂飙至 4G,不知是什么原因。
显卡是牙膏厂的集显,NV 没有启用。
1. 優先檢查 顯卡硬件芎動 是否正常作用中 (當然 還可能有別的情況)
把下面指令 複製 貼進終端機 執行
1-1. uname -a
1-2. sudo lspci -knn
1-3. sudo lshw -numeric -class video
1-3-1. 如果 lshw 還沒安裝 需要先安裝 套件 lshw
https://packages.debian.org/search?suit ... words=lshw
把結果直接 選取/複製 貼上來
debub
帖子: 289
注册时间: 2010-05-16 18:17

Re: kde wayland 很卡?

#5

帖子 debub » 2017-05-26 8:08

$ uname -a

代码: 全选

Linux linux 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux
$ sudo lspci -knn

代码: 全选

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:590f] (rev 05)
        Subsystem: CLEVO/KAPOK Computer Device [1558:651a]
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 05)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5902] (rev 04)
        Subsystem: CLEVO/KAPOK Computer Device [1558:651a]
        Kernel driver in use: i915
        Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H USB 3.0 xHCI Controller [1558:651a]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H CSME HECI [1558:651a]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SATA controller [AHCI mode] [1558:651a]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1b.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Root Port #19 [8086:a169] (rev f1)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #4 [8086:a113] (rev f1)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a144] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H LPC Controller [1558:651a]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H PMC [1558:651a]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H HD Audio [1558:651a]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
        Subsystem: CLEVO/KAPOK Computer Sunrise Point-H SMBus [1558:651a]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8d] (rev a1)
        Subsystem: CLEVO/KAPOK Computer Device [1558:651a]
        Kernel modules: nouveau
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader [10ec:5287] (rev 01)
        Subsystem: CLEVO/KAPOK Computer RTL8411B PCI Express Card Reader [1558:651a]
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
02:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)
        Subsystem: CLEVO/KAPOK Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1558:651a]
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Network controller [0280]: Intel Corporation Wireless 3165 [8086:3165] (rev 81)
        Subsystem: Intel Corporation Dual Band Wireless AC 3165 [8086:4010]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
$ sudo lshw -numeric -class video

代码: 全选

*-display UNCLAIMED       
       description: 3D controller
       product: NVIDIA Corporation [10DE:1C8D]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: latency=0
       resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation [8086:5902]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:128 memory:dd000000-ddffffff memory:a0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

Intel G4560 + 8G DDR4
HD610 + GTX1050M
Windows10 + Manjaro kde
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: kde wayland 很卡?

#6

帖子 poloshiao » 2017-05-26 8:12

*-display UNCLAIMED
description: 3D controller
product: NVIDIA Corporation [10DE:1C8D]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
1. nVidia 顯卡 沒有完全被啟動
1-1. 沒有作用中的顯卡驅動
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8d] (rev a1)
Subsystem: CLEVO/KAPOK Computer Device [1558:651a]
Kernel modules: nouveau
2. 可以使用的 顯卡驅動 開源 nouveau
但是缺少 Kernel driver in use: nouveau 這一行
2-1. lsmod | grep nouveau
看看 開源 nouveau 有沒有被載入
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1c8d] (rev a1)
3. http://pci-ids.ucw.cz/v2.2/pci.ids
10de NVIDIA Corporation
1c8d GP107M [GeForce GTX 1050 Mobile]
3-1. 確認 偵測出來的顯卡品牌/型號 是否正確

4. https://nouveau.freedesktop.org/wiki/CodeNames/
NV130 family (Pascal)
NV137 (GP107) GeForce GTX (1050, 1050 Ti)
4-1. GTX 1050 在開源 nouveau 支援名單內
4-1-1. 但是 GP107 與 GP107M 是否相容 ? 待查

5. 參閱 在 Wayland 使用開源 nouveau 經驗談
5-0. https://forum.manjaro.org/t/gdm-not-dis ... ons/9844/6
The problem was that I had nvidia propriotary drivers and they do not support wayland yet . Switched to nouveau drivers and now gdm shows them and they are fully working !
5-1. https://arstechnica.com/gadgets/2016/12 ... st-moment/
The biggest caveat to all the good news in Wayland is that Nvidia's proprietary driver does not support Wayland. The open source Nouveau drivers do, but those drivers can be a noticeable step down depending on your system and what you're trying to do. In my experience, the Nouveau drivers are also a little buggy, ...
5-2. https://devtalk.nvidia.com/default/topi ... d-support/
請使用 nouveau 搜尋
5-3. https://devtalk.nvidia.com/default/topi ... -support-/
請使用 nouveau 搜尋
debub
帖子: 289
注册时间: 2010-05-16 18:17

Re: kde wayland 很卡?

#7

帖子 debub » 2017-05-28 19:10

最近比较忙,忘了回复,不好意思哈~
不太想装 nvidia 驱动,开源闭源都觉得没必要,现在先用着,有空再折腾了。

Intel G4560 + 8G DDR4
HD610 + GTX1050M
Windows10 + Manjaro kde
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: kde wayland 很卡?

#8

帖子 poloshiao » 2017-05-29 6:42

不太想装 nvidia 驱动,开源闭源都觉得没必要

安裝 Ubuntu 時 遇到 nVidia 顯卡硬件
就會預裝开源 nouveau (不需要額外安裝)
如果 nVidia 顯卡硬件 在 nouveau 支援名單內
一般 是就可以使用
合適 設定
能正常發揮
回复