How to set new resolution with xrandr?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set new resolution with xrandr?

2,866件の閲覧回数
deven_solanki
Contributor III

Hi community,

I am working with L4.9-Morty in imx7d sabresd board. I am trying to change display resolution when it is running. I am doing below steps to change the resolution. But I am unable to change it.

Can anyone help me with this.

# fbset

mode "1920x1080-60"
    # D: 148.500 MHz, H: 67.500 kHz, V: 60.000 Hz
    geometry 1920 1080 1920 1080 16
    timings 6734 148 88 36 4 44 5
    hsync high
    vsync high
    rgba 5/11,6/5,5/0,0/0
endmode

# echo "S:1280x720p-60" > /sys/class/graphics/fb0/mode

# fbset

mode "1280x720-60"
    # D: 74.250 MHz, H: 45.000 kHz, V: 60.000 Hz
    geometry 1280 720 1280 720 16
    timings 13468 220 110 20 5 40 5
    hsync high
    vsync high
    rgba 5/11,6/5,5/0,0/0
endmode

# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080     60.00*

# cvt 1280 720 60
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync

# xrandr --newmode "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync

# xrandr --addmode default 1280x720_60.00
xrandr: Failed to get size of gamma for output default

# xrandr --output default --mode 1280x720_60.00
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed

# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080     60.00*
   1280x720_60.00  59.86  

Thanks,

Solanki Deven

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

2,016件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Solanki Deven,

Are you still experiencing this issue? Have you tried the suggestion on the following thread (it’s an older BSP but the xrand instruction should remain the same)?

https://community.nxp.com/message/434031?commentID=434031#comment-434031

I hope this helps,

Regards,

0 件の賞賛
返信

2,016件の閲覧回数
deven_solanki
Contributor III

Yes I tried that but still not working. Can you please check once in imx7 sabresd.

0 件の賞賛
返信