My HDMI setup uses a converter box for dvi+spdif to hdmi. The converter box fails to pass the correct edid from my samsung tv, thus my intel X4500HD chip needs to know the samsung's correct maximum resolution.
There are two problems:
sudo nano /etc/X11/xorg.conf
and add the following under the "screen" section:
SubSection "Display"Modes "1920x1080"
# Virtual 1920 1080
Virtual 2000 1200
EndSubSection
# :rac
sudo nano ~/rac/fix-resolution
and add the following:
#!/bin/bash
# exit 0 # uncomment to disable resolution change
# exit 0 # uncomment to disable resolution change
# must have virtual >= 1920x1080 in xorg.conf
xrandr --newmode 1920x1080 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
xrandr --addmode HDMI-1 1920x1080
xrandr --output HDMI-1 --mode 1920x1080
#xrandr -s 1920x1080
xrandr --dpi 100
sleep 1
killall mythfrontend.real
mythfrontend --service
xrandr --newmode 1920x1080 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
xrandr --addmode HDMI-1 1920x1080
xrandr --output HDMI-1 --mode 1920x1080
#xrandr -s 1920x1080
xrandr --dpi 100
sleep 1
killall mythfrontend.real
mythfrontend --service
sudo nano ~/rac/fix-resolution.desktop
and add the following:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xrandr
Comment=Change resolution to 1920x1080
Exec=bash /home/rchavers/rac/fix-resolution
StartupNotify=false
Terminal=false
Hidden=false
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xrandr
Comment=Change resolution to 1920x1080
Exec=bash /home/rchavers/rac/fix-resolution
StartupNotify=false
Terminal=false
Hidden=false
create a symlink in the xfce4 autostart directory
ln -s /home/rchavers/rac/fix-resolution.desktop /home/rchavers/.config/autostart/
and finally, disable the original mythtv desktop command:
mv /home/rchavers/.config/autostart/mythtv.desktop /home/rchavers/.config/autostart/mythtv.desktop.off
| < Prev | Next > |
|---|


