max*_*415 8 nvidia multiple-monitors hdmi 4k-monitor 20.04
我有一台安装了 Ubuntu 20.04.1 的 MSI GL-65 Leopard ms-16u8 笔记本。\n根据规格,我的笔记本具有支持 4K 的 HDMI(版本 1.4,4K @ 30Hz)端口、Intel GPU 和 Nvidia GeForce GTX 1650 .\n我有 LG 27UL500-W 外接显示器,支持高达 4K(3840 x 2160) 的分辨率,并使用支持 4k 的 HDMI 电缆连接。\n我的驱动程序是 nvidia-driver-460。
\n在“设置”->“显示”中,我可以\xe2\x80\x99t 为外部显示器启用 3840x2160 分辨率(设置为 30 Hz),仅最高可达 1920x1080 的分辨率可用。
\n我尝试了各种方法,例如创建和添加自定义模式,但在尝试启用它时只会出现黑屏:
\ngtf 3840 2160 30\n 3840x2160 @ 30.00 Hz (GTF) hsync: 65.91 kHz; pclk: 339.57 MHz\n Modeline "3840x2160_30.00" 339.57 3840 4080 4496 5152 2160 2161 2164 2197 -HSync +Vsync\nxrandr --newmode "3840x2160_30.00" 339.57 3840 4080 4496 5152 2160 2161 2164 2197 -HSync +Vsync\nxrandr --addmode HDMI-1-2 "3840x2160_30.00"\nxrandr --output HDMI-1-2 --mode "3840x2160_30.00"\nRun Code Online (Sandbox Code Playgroud)\n我有另一台笔记本电脑(Dell g3、Ubuntu 20.04),它立即将该显示器识别为 4K 并允许设置 3840 x 2160 分辨率(这就是我知道的,我的 HDMI 电缆支持 4k)。
\n我的 xrandr 输出:
\nScreen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384\neDP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 193mm\n1920x1080 120.11*+ 59.97 59.96 59.93 48.08\n1680x1050 84.94 74.89 69.88 59.95 59.88\n1600x1024 60.17\n1400x1050 85.00 74.76 70.00 59.98\n1600x900 59.99 59.94 59.95 59.82\n1280x1024 85.02 75.02 60.02\n1440x900 59.89\n1400x900 59.96 59.88\n1280x960 85.00 60.00\n1440x810 60.00 59.97\n1368x768 59.88 59.85\n1360x768 59.80 59.96\n1280x800 59.99 59.97 59.81 59.91\n1152x864 100.00 85.06 85.00 75.00 75.00 70.00 60.00\n1280x720 60.00 59.99 59.86 59.74\n1024x768 85.00 75.05 60.04 85.00 75.03 70.07 60.00\n1024x768i 86.96\n960x720 85.00 75.00 60.00\n928x696 75.00 60.05\n896x672 75.05 60.01\n1024x576 59.95 59.96 59.90 59.82\n960x600 59.93 60.00\n832x624 74.55\n960x540 59.96 59.99 59.63 59.82\n800x600 85.00 75.00 70.00 65.00 60.00 85.14 72.19 75.00 60.32 56.25\n840x525 85.02 74.96 69.88 60.01 59.88\n864x486 59.92 59.57\n800x512 60.17\n700x525 85.08 74.76 70.06 59.98\n800x450 59.95 59.82\n640x512 85.02 75.02 60.02\n720x450 59.89\n700x450 59.96 59.88\n640x480 85.09 60.00 85.01 72.81 75.00 59.94\n720x405 59.51 58.99\n720x400 85.04\n684x384 59.88 59.85\n680x384 59.80 59.96\n640x400 59.88 59.98 85.08\n576x432 100.11 85.15 85.09 75.00 75.00 70.00 60.06\n640x360 59.86 59.83 59.84 59.32\n640x350 85.08\n512x384 85.00 75.03 70.07 60.00\n512x384i 87.06\n512x288 60.00 59.92\n416x312 74.66\n480x270 59.63 59.82\n400x300 85.27 72.19 75.12 60.32 56.34\n432x243 59.92 59.57\n320x240 85.18 72.81 75.00 60.05\n360x202 59.51 59.13\n360x200 85.04\n320x200 85.27\n320x180 59.84 59.32\n320x175 85.27\nDP-1 disconnected (normal left inverted right x axis y axis)\nHDMI-1 disconnected (normal left inverted right x axis y axis)\nHDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm\n1920x1080 60.00 50.00 59.94 30.00* 24.00 29.97 23.98\n1600x900 60.00\n1280x1024 60.02\n1280x800 59.91\n1280x720 60.00 59.94\n1024x768 60.00\n800x600 60.32\n720x576 50.00\n720x480 60.00 59.94\n640x480 60.00 59.94\nRun Code Online (Sandbox Code Playgroud)\n
感谢 Nvidia 论坛上的优秀人士: https://forums.developer.nvidia.com/t/cant-enable-4k-resolution-on-external-display/165719 我得到了正确的模型行:
xrandr --newmode "3840x2160_30.00" 297.0 3840 4016 4104 4400 2160 2168 2178 2250 +hsync -vsync
xrandr --addmode HDMI-2 "3840x2160_30.00"
xrandr --output HDMI-2 --mode "3840x2160_30.00"
Run Code Online (Sandbox Code Playgroud)
您可以使用该命令xrandr --listmonitors查找接口的名称
| 归档时间: |
|
| 查看次数: |
11495 次 |
| 最近记录: |