![Asus Tuf fx505 GTX 1660T 上未检测到 HDMI](https://linux22.com/image/1171571/Asus%20Tuf%20fx505%20GTX%201660T%20%E4%B8%8A%E6%9C%AA%E6%A3%80%E6%B5%8B%E5%88%B0%20HDMI.png)
Asus Tuf fx505(BIOS 版本 - 310)、GTX 1660TI、Ryzen 7 3750h ubuntu 18.04 5.3.0-45-generic 上未检测到 HDMI。
此外,我在挂起模式后遇到了屏幕闪烁的问题。尝试添加:GRUB_CMDLINE_LINUX="nouveau.blacklist=1"
按照建议https://www.dell.com/community/Linux-General/Suspend-resume-problems-on-Ubuntu-18-04/td-p/6072410没有结果。
nvidia-sm
i 显示:
dmesg
错误:
[ 0.446580] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS], AE_NOT_FOUND (20190703/dswload2-160)
[ 0.446586] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20190703/psobject-221)
[ 0.446588] ACPI: Skipping parse of AML opcode: Scope (0x0010)
[ 0.446589] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP0.SWUS.SWDS], AE_NOT_FOUND (20190703/dswload2-160)
[ 0.446592] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20190703/psobject-221)
[ 1.369200] pci 0000:00:00.2: AMD-Vi: Unable to write to IOMMU perf counter.
[ 1.470598] Linux agpgart interface v0.103
[ 1.471315] tpm_crb MSFT0101:00: can't request region for resource [mem 0xbd326000-0xbd329fff]
[ 1.471323] tpm_crb: probe of MSFT0101:00 failed with error -16
[ 71.781264] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 193.069345] ucsi_ccg 1-0008: failed to reset PPM!
[ 193.069353] ucsi_ccg 1-0008: PPM init failed (-110)
[ 803.091435] ucsi_ccg 1-0008: i2c_transfer failed -110
[ 848.269734] ucsi_ccg 1-0008: PPM NOT RESPONDING
[ 848.269745] PM: dpm_run_callback(): ucsi_ccg_resume+0x0/0x20 [ucsi_ccg] returns -110
[ 848.269748] PM: Device 1-0008 failed to resume: error -110
xrandr
:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 120.04*+ 48.01
1680x1050 120.04
1280x1024 120.04
1440x900 120.04
1280x800 120.04
1280x720 120.04
1024x768 120.04
800x600 120.04
640x480 120.04
我已经与这个问题斗争了将近 4 天。尝试过在 Ubuntu 18.04 上检测不到 HDMI 端口,尝试过不同版本的 nvidia 驱动程序 - 没有结果。
希望有人能帮助我。
答案1
主要步骤:
- 删除/etc/X11/xorg.conf
- 调整/usr/share/X11/xorg.conf.d/10-amdgpu.conf
Driver "amdgpu"
->Driver "modesetting"
- 在 /usr/share/X11/xorg.conf.d/10-nvidia.conf 中添加
Option "PrimaryGPU" "Yes"
- 创建两个文件桌面版在 /etc/xdg/自动启动/和/usr/share/gdm/greeter/自动启动/ 内容:
桌面版
[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto"
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
之后,可以在终端中检查功能:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep vendor
输出应该是Nvidia
这个对我有用。