Ubuntu分辨率卡在1024x768无法设置为1366x768的解决求助
Hey there! Let's sort out this resolution issue together—you definitely don't need to jump back to Windows right away. Your 4th-gen Intel Core i3 with HD 4400 graphics should fully support 1366x768 on Ubuntu, so let's walk through some practical fixes step by step:
第一步:确认Intel显卡驱动状态
First up, let's make sure your Intel graphics driver is properly installed and running. Open the terminal (press Ctrl+Alt+T) and run this command to check your video hardware info:lshw -c video
Look for lines mentioning "Intel HD Graphics 4400" and verify if the driver shows up asi915(that's the correct open-source driver for your card). If you don't see the driver listed, install the official Intel video package with:sudo apt install xserver-xorg-video-intel
Reboot your system after installation and check the resolution again.第二步:用xrandr手动添加1366x768分辨率
It sounds like you tried custom resolution before but hit a snag—let's do this properly:- Generate the resolution mode parameters by running:
cvt 1366 768
You'll get output like this (copy the entire Modeline line except the#comment):1366x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 85.25 MHzModeline "1366x768_60.00" 85.25 1366 1440 1576 1784 768 771 781 798 -hsync +vsync
- Create the new resolution mode using the copied details:
xrandr --newmode "1366x768_60.00" 85.25 1366 1440 1576 1784 768 771 781 798 -hsync +vsync - Find your HDMI display's name by running
xrandr—it'll look something likeHDMI-1orHDMI-0. Then add the new mode to this display:xrandr --addmode HDMI-1 "1366x768_60.00" - Finally, apply the resolution:
xrandr --output HDMI-1 --mode "1366x768_60.00"
If this works, make the setting permanent by adding these threexrandrcommands to your~/.profilefile. Open it withnano ~/.profile, paste the commands at the end, save (Ctrl+O, press Enter) and exit (Ctrl+X). It'll load automatically on next boot.
- Generate the resolution mode parameters by running:
第三步:强制加载显示器EDID(如果xrandr失败)
Sometimes Ubuntu doesn't correctly read your monitor's EDID info (which tells the system supported resolutions) over HDMI. Here's how to fix that:- Locate your monitor's EDID file with:
find /sys -name edid
The path might be something like/sys/class/drm/card0-HDMI-A-1/edid. - Create a folder for custom EDID files and copy the EDID there:
sudo mkdir -p /lib/firmware/edidsudo cp /sys/class/drm/card0-HDMI-A-1/edid /lib/firmware/edid/1366x768.edid - Edit the GRUB config to force using this EDID:
sudo nano /etc/default/grub
Find the line starting withGRUB_CMDLINE_LINUX_DEFAULTand add the EDID parameter inside the quotes, like:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm.edid_firmware=HDMI-A-1:edid/1366x768.edid" - Update GRUB and reboot:
sudo update-grubsudo reboot
- Locate your monitor's EDID file with:
Most of the time, the first two steps will get your 1366x768 resolution working. Don't give up on Ubuntu just yet—Intel graphics have great open-source support, so this is just a small hiccup!
备注:内容来源于stack exchange,提问作者Md Shamim

