vaiops/xorg.conf

62 lines
2.8 KiB
Xorg
Raw Permalink Normal View History

2021-12-09 08:16:56 +00:00
Section "Device"
Identifier "Card0"
Driver "modesetting"
Option "AccelMethod" "none"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSectionSub "Display"
Depth 16
Viewport 0 0
EndSubSection
EndSection
2021-12-16 10:37:32 +00:00
# the vaio-p display can do upscaling with bilinear filtering, which saves our
# poor intel atom cpu from having to upscale an image to a very pixel-dense
# screen in software. thankfully, the density can also work to our advantage
# here; it means the monitor's upscaling doesn't look too bad at lower
# resolutions! since we have no GPU driver, we want to take advantage of this
# as much as possible by full-screening applications and using appropriate
# integer-multiple resolutions.
2021-12-09 08:16:56 +00:00
Section "Monitor"
Identifier "Monitor0"
2021-12-16 10:37:32 +00:00
# default to a decent compromise for legibility on the small screen
Option "PreferredMode" "1128x540_60.00"
2021-12-16 10:37:32 +00:00
# HD (720p), good luck decoding it in time!
Modeline "1504x720_60.00" 88.09 1504 1576 1736 1968 720 721 724 746 -HSync +Vsync
# 3x NES/SNES (224p)
Modeline "1400x672_60.00" 75.84 1400 1464 1608 1816 672 673 676 696 -HSync +Vsync
# fits 640px-wide stuff in tate mode. is this anything?
Modeline "1336x640_60.00" 68.42 1336 1392 1528 1720 640 641 644 663 -HSync +Vsync
# fits 800x600, great for that Windows XP you've got running in qemu-kvm!
Modeline "1248x600_60.00" 59.71 1248 1296 1424 1600 600 601 604 622 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 3/4 native (768p), 4x GBC (144p)
Modeline "1200x576_60.00" 55.02 1200 1248 1368 1536 576 577 580 597 -HSync +Vsync
# half fullHD (1080p), in case you integer downscale such a video?
Modeline "1128x540_60.00" 48.03 1128 1168 1280 1432 540 541 544 559 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 2/3 native (768p), which means maximally ugly 1.5x upscaling
Modeline "1064x512_60.00" 42.56 1064 1096 1200 1336 512 513 516 531 -HSync +Vsync
# 3x GBA (160p), 2x PS1 resolution (240p)
2021-12-09 08:16:56 +00:00
Modeline "1000x480_60.00" 37.45 1000 1024 1128 1256 480 481 484 497 -HSync +Vsync
2021-12-16 10:44:49 +00:00
# more closely match the GBA's framerate (59.7275 Hz). FreeSync eat your heart out
Modeline "1000x480_59.73_gba" 37.28 1000 1024 1128 1256 480 481 484 497 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 2x NES/SNES (224p)
Modeline "936x448_60.00" 32.29 936 952 1048 1160 448 449 452 464 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 3x GBC (144p)
Modeline "896x432_60.00" 29.68 896 912 1000 1104 432 433 436 448 -HSync +Vsync
2021-12-16 10:49:39 +00:00
# more closely match the GBC's framerate (59.7275 Hz)
Modeline "896x432_59.73_gbc" 29.54 896 912 1000 1104 432 433 436 448 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 2x Doom (200p)
Modeline "832x400_60.00" 25.10 832 840 920 1008 400 401 404 415 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# 1/2 native (768p)
Modeline "800x384_60.00" 23.31 800 808 888 976 384 385 388 398 -HSync +Vsync
2021-12-16 10:37:32 +00:00
# youtube (360p)
2021-12-09 08:16:56 +00:00
Modeline "752x360_60.00" 20.05 752 752 824 896 360 361 364 373 -HSync +Vsync
EndSection