[Share Experiences] HDMI无法外接显示器 +++ 已解决!
Tofloor
poster avatar
DMF
deepin
2022-09-05 05:13
Author

中秋节把这问题搞定了,总结在楼下。。。。 applaud

++++

09-07更新一下。

找了个显示器试了一下,同样问题,说明不是投影仪问题,而是nvidia显卡输出的HDMI无法输出的问题。

但是,在重启的过程中,在登录之前,显示器上能显示deepin的蓝光标。 只是密码登录后,显卡无法输出了,这是为什么?

deepin.png

////////// 以下旧信息//////////////

新装的系统20.7, 无法通过HDMI外接投影仪,笔记本自带的Fn+F8切换显示的功能无效,按了没有任何显示和反应,但是Fn + 其它的功能键是有效的。

Win+P也无效。

在系统显示里没有多显示器输出的选项

display.png

在设备管理器里能看到两张显卡工作正常

Graphic cards.png

在显示设备里能检测到两个设备,其中一个是投影仪。该投影仪连接其它Windows 笔记本的HDMI 能正常工作。

HDMI Projector.png

所以如何让deepin系统能指定从HDMI 口输出?

smirk

Reply Favorite View the author
All Replies
山水之道
deepin
2022-09-05 06:04
#1

截图_dde-control-center_20220904220110.png
截图_dde-control-center_20220904220044.png

我的跟你的显示不太一样,是你的投影问题吧。

Reply View the author
Ziggy
deepin
2022-09-05 07:43
#2

装nvidia-detect,用root执行这个程序,就会recommand装哪个包

Reply View the author
DMF
deepin
2022-09-05 11:51
#3
山水之道

截图_dde-control-center_20220904220110.png
截图_dde-control-center_20220904220044.png

我的跟你的显示不太一样,是你的投影问题吧。

你这张图是接上投影仪的显示吗?

我觉得投影仪没问题,因为在Windows机器上完全正常,只是我的深度无法指定HDMI口输出。

Reply View the author
DMF
deepin
2022-09-05 12:08
#4
Ziggy

装nvidia-detect,用root执行这个程序,就会recommand装哪个包

在其它帖子里看到了版主的类似提示,但是安装失败了。 卡在NVIDIA-Setting上。

后来发现是要先完全移除那个老的通用显卡Nevouse的驱动,然后再从NVIDIA上下载驱动在sudo init 3下安装原厂驱动。后来也失败了。 当中借鉴了几个本论坛和其它论坛的帖子。

所以重新安装了一遍系统,因为目前从设备信息上看,驱动是正常的,显卡也是正常的,投影仪也是能找到的。

问题只是deepin无法指定输出端口为HDMI,似乎只差最后一口气?

顺便说一下,同样的机器,同样的投影仪,安装了优麒麟就可以用Fn+F8来切换输出到HDMI,跟Windows下的切换是一模一样的,所以这应该是放在系统级别的功能。让用户自己解决还是有些难度。

Reply View the author
funicorn
deepin
2022-09-05 12:46
#5

投影仪接口为什么显示为LVDS?

Reply View the author
DMF
deepin
2022-09-05 22:53
#6

HDMI输出到投影仪和输出到一般显示器会有区别嘛?

笔记本不能输出到投影仪,直接无法去访问客户啊

Reply View the author
DMF
deepin
2022-09-05 22:53
#7
It has been deleted!
DMF
deepin
2022-09-06 23:22
#8
  • [ ]

回帖重复了

Reply View the author
DMF
deepin
2022-09-08 12:15
#9

更新在楼顶

Reply View the author
DMF
deepin
2022-09-11 09:33
#10

定心折腾了一下,搞定了。

思路总结一下

  1. Windows, uKylin OS都可以正常外接, 说明不是硬件问题
  2. 既然只能是深度系统的驱动问题,那就得硬着头皮去安装。经过看论坛类似问题帖子,结合版主的回答,再加上自己在ubuntu论坛里看相关鬼子们的讨论,还是最终把原厂驱动给装上了,安装过程中看提示里需要装另外两个貌似不相关的package. 并且并不需要搞nvidia-settings
  3. 原厂驱动装好后,再根据论坛其它机友(?)的讨论,安装了星火商店的那个显示切换插件。
  4. 突然间,bangbang! 不但能自由切换显示输出,而且我的Fn+F8也能切换输出了,跟Windows 和优麒麟一样的。

希望对有类似需要的机友有所提示。

自力更生,丰衣足食!

Reply View the author
DMF
deepin
2024-07-11 02:25
#11

https://www.nvidia.com/Download/index.aspx 找到自己的显卡的正确驱动,下载之

NVIDIA-Linux-x86_64-390.157.run

sudo apt install build-essential libglvnd-dev pkg-config

https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux

Disable Nouveau Nvidia driver.Next step is to disable the default nouveau Nvidia driver. Follow this guide on how to disable the default Nouveau Nvidia driver.

Disable/blacklist Nouveau nvidia driver on Ubuntu 20.04 step by step instructions

  1. First step is to Blacklist Nvidia nouveau driver. Open up terminal and enter the following commands:

    $ sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    $ sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
    
  2. Confirm the content of the newly created modeprobe file blacklist-nvidia-nouveau.conf:

    $ cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf
    blacklist nouveau
    options nouveau modeset=0
    
  3. Enter the following Linux command to update kernel initramfs:

    $ sudo update-initramfs -u
    
  4. WARNING
    Depending on your Nvidia VGA model your system might misbehave. At this stage be ready to get your hands dirty. After the reboot you may end up without GUI at all. Be sure that you have the SSH enabled on your system to be able login remotely or use CTRL+ALT+F2 to switch TTY console and continue with the installation.
    Make sure you reboot your system before you proceed to the next step.

  5. Stop Desktop Manager.In order to install new Nvidia driver we need to stop the current display server. The easiest way to do this is to change into runlevel 3 using the telinit command. After executing the following linux command the display server will stop, therefore make sure you save all your current work ( if any ) before you proceed:

    $ sudo telinit 3
    

    Hit CTRL+ALT+F1 and login with your username and password to open a new TTY1 session or login via SSH.

  6. Install Nvidia Driver.To start installation of Nvidia driver execute the following linux command and follow the wizard:

    $ sudo bash NVIDIA-Linux-x86_64-440.44.run
    

重启

若需要Uninstall之前的版本

sudo apt purge nvidia-*
NVIDIA-Linux-x86_64-xxx.run -no-x-check -no-nouveau-check -no-opengl-files
The Nvidia driver is now installed.Reboot your system:
$ sudo reboot
Configure NVIDIA X Server Settings.After reboot your should be able to start NVIDIA X Server Settings app from the Activities menu.

或者这么移除

  1. The following command will remove the proprietary Nvidia driver:
    $ sudo dpkg -P $(dpkg -l | grep nvidia-driver | awk '{print $2}')
    $ sudo apt autoremove
    
  2. Switch back to nouveau driver:
    $ sudo apt install xserver-xorg-video-nouveau
    
Reboot your system.
Once your system has rebooted confirm loaded nouveau modules:
$ lsmod | grep nouveau
nouveau              1949696  4
mxm_wmi                16384  1 nouveau
ttm                   106496  1 nouveau
drm_kms_helper        184320  1 nouveau
drm                   491520  7 drm_kms_helper,ttm,nouveau
i2c_algo_bit           16384  1 nouveau
wmi                    32768  3 wmi_bmof,mxm_wmi,nouveau
video                  49152  1 nouveau

Reply View the author