[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: soucis avec xrandr



Le Fri, 28 Aug 2015 13:22:09 +0200,
Bernard Schoenacker <bernard.schoenacker@free.fr> a écrit :

> bonjour,
> 
> je n'arrive pas à obtenir une résolution de 1600x1200
> 
> voici ce que me dit xrandr :
>  xrandr
> xrandr: Failed to get size of gamma for output default
> Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
> default connected 1024x768+0+0 0mm x 0mm
>    1024x768      61.00* 
>    800x600       61.00  
>    640x480       60.00  
>   1600x1200_75 (0x17f) 245.660MHz
>         h: width  1600 start 1632 end 2560 total 2592 skew    0 clock
>  94.78KHz v: height 1200 start 1223 end 1238 total 1261
> clock 75.16Hz
> 
> la carte graphique :
> 
> lspci |grep VGA
> 01:00.0 VGA compatible controller: NVIDIA Corporation NV5 [Riva TNT2
> Model 64 / Model 64 Pro] (rev 15)
> 
> le script qui permettais d'obtenir la résolution ad hoc :
> 
> # !/bin/sh
> # script-xrandr.sh
> 
>  xrandr --newmode "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200
>  1203 1207 1245 -hsync +vsync xrandr --addmode LVDS1  1600x1200_60.00
>  xrandr --addmode LVDS0  1600x1200_60.00
>  xrandr --addmode VGA-1 1600x1200_60.00
>  xrandr --addmode VGA-0 1600x1200_60.00
>  xrandr --output VGA-1 --mode 1600x1200_60.00
>  xrandr --output VGA-0 --mode 1600x1200_60.00
> 
> 
> la version du noyau :
> uname -ar
> Linux hamtaro 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u3
> (2015-08-04) i686 GNU/Linux
> 
> 
> qui aurais une solution ?
> 
> slt
> bernard
> 

bonjour,

grâce à une âme charitable j'ai résolu mon problème de résolution ...
ci joint le script corrigé

slt
bernard

Attachment: script-xrandr.sh
Description: application/shellscript


Reply to: