miércoles, 19 de marzo de 2014

Linux: Problema resolució 1360x768

Tenint la següent tarjeta de vídeo (integrada a la mobo):

01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS780L [Radeon HD 3000]

Tenia el problema que a l'iniciar el KDM la pantalla feia pampallugues.
Solució: Deixar l'arxiu /etc/kde4/kdm/Xsetup així:

#! /bin/sh
# Xsetup - run as root before the login dialog appears


#xconsole -geometry 480x130-0-0 -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole &

xrandr --newmode "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
xrandr --addmode HDMI-0 1360x768_60.00                                                                                                                                 
xrandr --output HDMI-0 --mode 1360x768_60.00                                                                                                                           
xrandr --addmode DVI-0 1360x768_60.00                                                                                                                                  
xrandr --output DVI-0 --mode 1360x768_60.00

NOTA: Ara no sé perque quan miro com tinc editat aquest fitxer ho tinc a l'inrevès: la única línia no comentada és la que comença per "xconsole" i les 5 de "xrandr" les tinc comentades.

No hay comentarios: