V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
ChenSino
V2EX  ›  Linux

Manjaro 笔记本下连接外置显示器不显示

  •  
  •   ChenSino · 2022-05-25 12:02:24 +08:00 · 2762 次点击
    这是一个创建于 674 天前的主题,其中的信息可能已经有所发展或是发生改变。

    能识别到显示器,但是就是不显示,有没有大哥遇到类似情况的?

    24 条回复    2022-06-26 21:24:48 +08:00
    ClericPy
        1
    ClericPy  
       2022-05-25 12:10:20 +08:00
    之前 thinkpad 遇到过, 反正我是盖盖然后打开然后再盖一次才出来, 原理不知道, 但和你情况似乎不一样
    chenxytw
        2
    chenxytw  
       2022-05-25 12:15:06 +08:00
    不知道 Manjaro 是否有做自动设置外接显示器的功能 0 0
    可以先自行用一下 xrandr 命令配置一下外置显示器,确定一下使用本身是否有问题。

    一个简单例子
    ```
    # 列出识别到的显示器
    xrandr --listactivemonitors

    #设置 <output> 接口的显示器复制主显示器内容
    xrandr --output '<output>' --same-as --auto
    ```
    chenxytw
        3
    chenxytw  
       2022-05-25 12:16:20 +08:00
    笔记本的内置接口一般是 eDP 。 外置接口可能是 HDMI ,如果是 type-c 连接的外置,一般是 DP 。
    Biwood
        4
    Biwood  
       2022-05-25 12:29:13 +08:00
    多半是连接线的问题,我一直用笔记本接外置显示器 2 个月了,没发现什么大问题。建议先用 xrandr 看下显示器连接情况,在排查显卡驱动问题。
    ChenSino
        5
    ChenSino  
    OP
       2022-05-25 14:02:49 +08:00
    @Biwood 应该不是线的问题吧,显示器能识别出来,用 xrandr 能看到两个显示器,但外置的 hdmi 那个显示器不显示
    ChenSino
        6
    ChenSino  
    OP
       2022-05-25 14:03:57 +08:00
    @ClericPy
    试了一下没有用呢。。。
    ChenSino
        7
    ChenSino  
    OP
       2022-05-25 14:05:13 +08:00
    xrandr 输出
    ```shell
    $ xrandr
    Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
    eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
    1920x1080 60.05*+ 60.01 59.97 59.96 59.93
    1680x1050 59.95 59.88
    1400x1050 59.98
    1600x900 59.99 59.94 59.95 59.82
    1280x1024 60.02
    1400x900 59.96 59.88
    1280x960 60.00
    1440x810 60.00 59.97
    1368x768 59.88 59.85
    1280x800 59.99 59.97 59.81 59.91
    1280x720 60.00 59.99 59.86 59.74
    1024x768 60.04 60.00
    960x720 60.00
    928x696 60.05
    896x672 60.01
    1024x576 59.95 59.96 59.90 59.82
    960x600 59.93 60.00
    960x540 59.96 59.99 59.63 59.82
    800x600 60.00 60.32 56.25
    840x525 60.01 59.88
    864x486 59.92 59.57
    700x525 59.98
    800x450 59.95 59.82
    640x512 60.02
    700x450 59.96 59.88
    640x480 60.00 59.94
    720x405 59.51 58.99
    684x384 59.88 59.85
    640x400 59.88 59.98
    640x360 59.86 59.83 59.84 59.32
    512x384 60.00
    512x288 60.00 59.92
    480x270 59.63 59.82
    400x300 60.32 56.34
    432x243 59.92 59.57
    320x240 60.05
    360x202 59.51 59.13
    320x180 59.84 59.32
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1 disconnected (normal left inverted right x axis y axis)
    HDMI-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm
    1920x1080 60.00*+ 50.00 59.94
    1920x1080i 60.00 50.00 59.94
    1680x1050 59.88
    1280x1024 75.02 60.02
    1440x900 59.90
    1280x960 60.00
    1280x720 60.00 50.00 59.94
    1024x768 75.03 70.07 60.00
    832x624 74.55
    800x600 72.19 75.00 60.32 56.25
    720x576 50.00
    720x480 60.00 59.94
    640x480 75.00 72.81 66.67 60.00 59.94
    720x400 70.08
    DP-2 disconnected (normal left inverted right x axis y axis)
    HDMI-3 disconnected (normal left inverted right x axis y axis)

    ```
    ChenSino
        8
    ChenSino  
    OP
       2022-05-25 14:09:21 +08:00
    @chenxytw 奇怪的很,另一个显示器完全黑屏,但是我能把软件托到外置那个显示屏,就是不显示
    ChenSino
        9
    ChenSino  
    OP
       2022-05-25 14:10:26 +08:00
    是不是 kde 桌面支持不行?
    ```shell
    $ screenfetch

    ██████████████████ ████████ chenkun@chenkun-pc
    ██████████████████ ████████ OS: Manjaro 21.2.6 Qonos
    ██████████████████ ████████ Kernel: x86_64 Linux 5.17.9-1-MANJARO
    ██████████████████ ████████ Uptime: 5h 25m
    ████████ ████████ Packages: 1607
    ████████ ████████ ████████ Shell: zsh 5.9
    ████████ ████████ ████████ Resolution: 3840x1080
    ████████ ████████ ████████ DE: KDE 5.94.0 / Plasma 5.24.5
    ████████ ████████ ████████ WM: KWin
    ████████ ████████ ████████ GTK Theme: Breath [GTK2/3]
    ████████ ████████ ████████ Icon Theme: WhiteSur
    ████████ ████████ ████████ Disk: 130G / 243G (57%)
    ████████ ████████ ████████ CPU: Intel Core i7-6700HQ @ 8x 3.5GHz [60.0°C]
    ████████ ████████ ████████ GPU: NVIDIA GeForce GTX 960M
    RAM: 12062MiB / 15425MiB

    ```
    ChenSino
        10
    ChenSino  
    OP
       2022-05-25 14:11:38 +08:00
    $ xrandr --listactivemonitors
    Monitors: 2
    0: +*eDP-1 1920/344x1080/193+0+0 eDP-1
    1: +HDMI-2 1920/527x1080/296+1920+0 HDMI-2
    ChenSino
        11
    ChenSino  
    OP
       2022-05-25 14:24:19 +08:00
    我在 kde 设置里面把扩展屏放在主屏幕右边,我把鼠标一直向右边移动,出现了一个比较怪异的现象,不好描述。就是在我的主屏幕出现了两个桌面的感觉,
    http://afatpig.oss-cn-chengdu.aliyuncs.com/blog/image-20220525142317493.png
    chenxytw
        12
    chenxytw  
       2022-05-25 14:57:20 +08:00
    @ChenSino 你的截图为什么那么像 Mac.... 是虚拟机里面装的 Linux ?
    ChenSino
        13
    ChenSino  
    OP
       2022-05-25 15:03:42 +08:00
    @chenxytw 不是虚拟机,就是 kde 一个皮肤啊
    chenxytw
        14
    chenxytw  
       2022-05-25 15:08:00 +08:00
    @ChenSino 没用过 KDE.... 不过截图的样子,应该是类似于是否仅在主屏幕显示菜单栏这样的设置 0 0 建议可以照这个方向搜索看看
    ChenSino
        15
    ChenSino  
    OP
       2022-05-25 15:13:17 +08:00
    @chenxytw 好的,感谢大佬,我去查一下
    CheckTime
        16
    CheckTime  
       2022-05-25 15:33:54 +08:00
    我用的 Manjaro + i3 ,使用 xrandr 命令,有时候也会遇到黑屏不显示的情况,就是系统已经识别到显示器了,也链接上了,但是就是黑屏不显示内容,这个时候我都是多重新加载几遍就好了,也就是多执行几次 xrandr 命令,会明显看到显示器刷新几次然后界面就出来了。
    CheckTime
        17
    CheckTime  
       2022-05-25 15:37:01 +08:00
    @CheckTime 补充一下,一般先开机笔记本电脑,然后再连接显示器的时候就会出现这种情况,但是连接 HDMI 线开机就不会,登录界面会自动跳到显示器上去。
    ChenSino
        18
    ChenSino  
    OP
       2022-05-25 15:49:32 +08:00
    @CheckTime 试过了,开机连着外置 hdmi 显示器,多次 xrandr 不好使,放弃治疗了
    banmuyutian
        19
    banmuyutian  
       2022-05-25 18:28:29 +08:00
    劝楼主放弃,linux 桌面接不同分辨率的屏幕就是灾难……
    otorain
        20
    otorain  
       2022-05-25 21:00:52 +08:00
    装个 arandr 方便操作点,看看有没有识别出来,也可以看看显示器是怎么排布的
    k2019
        21
    k2019  
       2022-05-25 21:05:43 +08:00
    我的经历:
    独显连接外接显示器
    硬件设置中 安装 video-hybrid-amd-nvidia-470xx-prime , 在 `/etc/optimus-manager/optimus-manager.conf`. 配置文件中 startup_mode 中写入 nvidia 。重启即可。
    ChenSino
        22
    ChenSino  
    OP
       2022-05-27 17:54:21 +08:00
    @banmuyutian 相同分辨率,我用 mint 是可以的,用 Manjaro 死活不行,困扰我两年了
    ChenSino
        23
    ChenSino  
    OP
       2022-05-27 17:54:54 +08:00
    @k2019 放弃治疗了
    Friday2333
        24
    Friday2333  
       2022-06-26 21:24:48 +08:00
    @ChenSino 按照 @k2019 的方式已解决
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4839 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:44 · PVG 17:44 · LAX 02:44 · JFK 05:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.