shifted x axis of 480i modeline for sdtv into good alignment

This commit is contained in:
lucca
2026-09-19 22:59:02 -04:00
parent 498aed50d2
commit 30c406f8c4
+25 -11
View File
@@ -128,13 +128,6 @@ testvidmode () {
xrandr --addmode HDMI-A-0 $1
xrandr --output HDMI-A-0 --mode $1
}
testvidmode2 () {
xrandr --delmode DisplayPort-0 $1
xrandr --rmmode $1
xrandr --newmode $*
xrandr --addmode DisplayPort-0 $1
xrandr --output DisplayPort-0 --mode $1
}
nintendontify () {
for i in *; do mkdir "$(echo $i | sed 's/.iso//')"; mv "$i" "$(echo $i | sed 's/.iso//')"/game.iso; done
}
@@ -144,12 +137,33 @@ wiiconnect () {
vsync () {
picom --backend glx --vsync
}
testvidmode2 () {
xrandr --delmode DisplayPort-0 $1
xrandr --rmmode $1
xrandr --newmode $*
xrandr --addmode DisplayPort-0 $1
xrandr --output DisplayPort-0 --mode $1
}
crtTVSet480i () {
testvidmode2 "1280x480_60i" 26.108 1280 1364 1487 1664 480 483 489 523 interlace -hsync -vsync
}
crtTV () {
       testvidmode "1280x480_60i" 26.108 1280 1332 1455 1664 480 483 489 523 interlace -hsync -vsync
       xrandr --output DisplayPort-0 --mode 1280x480_60i --scale-from 640x480 --below HDMI-A-0
crtTVSet480i
xrandr --output DisplayPort-0 --mode 1280x480_60i --scale-from 640x480 --below HDMI-A-0
}
crtTVscale () {
       testvidmode "1280x480_60i" 26.108 1280 1332 1455 1664 480 483 489 523 interlace -hsync -vsync
       xrandr --output DisplayPort-0 --mode 1280x480_60i --scale-from 1280x960 --below HDMI-A-0
crtTVSet480i
xrandr --output DisplayPort-0 --mode 1280x480_60i --scale-from 1280x960 --same-as HDMI-A-0
}
crtTVSet240p () {
testvidmode2 "1280x240_60" 26.108 1280 1396 1519 1664 240 241 244 262 -hsync -vsync
}
crtTV240 () {
crtTVSet240p
xrandr --output DisplayPort-0 --mode 1280x240_60 --scale-from 320x240 --below HDMI-A-0
}
crtTV240scale () {
crtTVSet240p
xrandr --output DisplayPort-0 --mode 1280x240_60 --scale-from 1280x960 --same-as HDMI-A-0
}