embeded/raspberry pi2015. 3. 16. 20:40

라즈비안에서는 tvservice라는 걸로 해상도는 확인/변경이 가능한데

영구적으로 바뀌는것은 아니고 런타임으로 1회성으로 변경이 가능하며

모니터 특성을 타는지 출력 변경 직후 ctrl-alt-F1 / ctrl-alt-F7을 눌러

다른 터미널로 갔다가 Xwindow로 복귀해야 화면이 제대로 나왔다.


pi@raspberrypi ~ $ sudo tvservice

Usage: tvservice [OPTION]...

  -p, --preferred                   Power on HDMI with preferred settings

  -e, --explicit="GROUP MODE DRIVE" Power on HDMI with explicit GROUP (CEA, DMT, CEA_3D_SBS, CEA_3D_TB)

                                      MODE (see --modes) and DRIVE (HDMI, DVI)

  -t, --ntsc                        Use NTSC frequency for HDMI mode (e.g. 59.94Hz rather than 60Hz)

  -c, --sdtvon="MODE ASPECT"        Power on SDTV with MODE (PAL or NTSC) and ASPECT (4:3 14:9 or 16:9)

  -o, --off                         Power off the display

  -m, --modes=GROUP                 Get supported modes for GROUP (CEA, DMT)

  -M, --monitor                     Monitor HDMI events

  -s, --status                      Get HDMI status

  -a, --audio                       Get supported audio information

  -d, --dumpedid <filename>         Dump EDID information to file

  -j, --json                        Use JSON format for --modes output

  -n, --name                        Print the device ID from EDID

  -h, --help                        Print this information


pi@raspberrypi ~ $ sudo tvservice -p

Powering on HDMI with preferred settings


pi@raspberrypi ~ $ sudo tvservice -modes=CEA

Group CEA has 0 modes:


pi@raspberrypi ~ $ sudo tvservice -modes=DMT

Group DMT has 19 modes:

           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive

           mode 5: 640x480 @ 72Hz 4:3, clock:31MHz progressive

           mode 6: 640x480 @ 75Hz 4:3, clock:31MHz progressive

           mode 8: 800x600 @ 56Hz 4:3, clock:36MHz progressive

           mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive

           mode 10: 800x600 @ 72Hz 4:3, clock:50MHz progressive

           mode 11: 800x600 @ 75Hz 4:3, clock:49MHz progressive

           mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive

           mode 17: 1024x768 @ 70Hz 4:3, clock:75MHz progressive

           mode 18: 1024x768 @ 75Hz 4:3, clock:78MHz progressive

           mode 28: 1280x800 @ 60Hz 16:10, clock:83MHz progressive

           mode 32: 1280x960 @ 60Hz 4:3, clock:108MHz progressive

           mode 35: 1280x1024 @ 60Hz 5:4, clock:108MHz progressive

           mode 36: 1280x1024 @ 75Hz 5:4, clock:135MHz progressive

           mode 47: 1440x900 @ 60Hz 16:10, clock:106MHz progressive

           mode 51: 1600x1200 @ 60Hz 4:3, clock:162MHz progressive

           mode 58: 1680x1050 @ 60Hz 16:10, clock:146MHz progressive

           mode 82: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive

  (prefer) mode 83: 1600x900 @ 60Hz 16:9, clock:108MHz progressive


pi@raspberrypi ~ $ sudo tvservice -e "DMT 83"

Powering on HDMI with explicit settings (DMT mode 83)


pi@raspberrypi ~ $ sudo tvservice -s

state 0x120016 [DVI DMT (82) RGB full 16:9], 1920x1080 @ 60.00Hz, progressive 


영구적으로 손을 보기 위해서는

config.txt 파일에

#These values are valid if hdmi_group=2 (DMT)

hdmi_group=2

hdmi_mode=82   #1080p      60 Hz  

#hdmi_mode=83   #1600x900          Reduced blanking 

부분을 넣어줘야 한다.

단, 위와 같이 hdmi_group을 지정해 버리면 DVI로만 쓸 수 있고 HDMI로는 안되니 이 것 역시 문제네.. -_-


[링크 : https://pidome.wordpress.com/2013/08/22/raspberry-pi-monitordisplay-resolution-problems/]

    [링크 : http://www.raspberrypi.org/forums/viewtopic.php?t=5851]

    [링크 : http://elinux.org/RPiconfig]

Posted by 구차니