본문 바로가기
프로그래밍/OS

RHEL 디스플레이 해상도 800x600 보다 높은 값으로 설정

by 남생 namsaeng 2022. 5. 20.
반응형

1. VGA 확인

[root@localhost ~]# lspci -vnn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics P630 [8086:591d] (rev 04) (prog-if 00 [VGA controller])

 

 

2. 커널 드라이버 확인

[root@localhost ~]# lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics P630 (rev 04)
	DeviceName: Onboard - Video
	Subsystem: Intel Corporation Device 2015
	Kernel driver in use: i915

 

 

3. 기타 VGA 정보 확인

[root@localhost ~]# lspci -vnn | grep VGA -A 12
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics P630 [8086:591d] (rev 04) (prog-if 00 [VGA controller])
	DeviceName: Onboard - Video
	Subsystem: Intel Corporation Device [8086:2015]
	Flags: bus master, fast devsel, latency 0, IRQ 144
	Memory at de000000 (64-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)

 

 

4. 1920x1080 주사율 확인

[root@localhost ~]# cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

 

5. xrandr 새로운 모드 설정

[root@localhost ~]# xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

 

 

6. /etc/default/grub 파일 설정

[root@localhost ~]# vi /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet splash i915.alpha_support=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_GFXMODE=1920x1080

 

 

7. grub2에 반영

[root@localhost ~]# dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg && grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
반응형

댓글