Hi,
I want to change the graphic mode at runtime.
I use your graphic SDK 4.05.00.03 with X11/DRI/DRM drivers.
I use a X server 1.7.5 and the binary xrandr :
~ # xrandr -d :0.0 -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
1280x720 0.0*
~ # xrandr -d :0.0 --output default --newmode "640x480 60Hz" 25.2 640 656 752 800 480 490 492 525 -HSync -VSync
xrandr: Failed to get size of gamma for output default
xrandr: Failed to get size of gamma for output default
~ # xrandr -d :0.0 -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
1280x720 0.0*
640x480 60Hz (0x108) 25.2MHz
h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz
v: height 480 start 490 end 492 total 525 clock 60.0Hz
~ # xrandr -d :0.0 --addmode default "640x480 60Hz"
xrandr: Failed to get size of gamma for output default
~ # xrandr -d :0.0 -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
1280x720 0.0*
640x480 60Hz 60.0
~ # xrandr -d :0.0 --output default --mode "640x480 60Hz" --crtc 0
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed
~ # xrandr -d :0.0 -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
1280x720 0.0*
640x480 60Hz 60.0
I don't understand why the mode is not changed.
Can you explain me it?
Regards,