Compare commits

...

2 commits

Author SHA1 Message Date
lif f7c158ec99 useful env vars for this setup 2021-12-16 02:37:50 -08:00
lif 2baf9d9967 new modelines just dropped 2021-12-16 02:37:32 -08:00
2 changed files with 33 additions and 7 deletions

6
bashrc Normal file
View file

@ -0,0 +1,6 @@
# i think this helps it not pick llvmpipe when it's not hardcoded(?)
export SDL_RENDER_DRIVER=software
# trendy gnome-poisoned apps waste vertical screen real estate
export GTK_CSD=0
export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0

View file

@ -15,23 +15,43 @@ Section "Screen"
EndSubSection EndSubSection
EndSection EndSection
# 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.
Section "Monitor" Section "Monitor"
Identifier "Monitor0" Identifier "Monitor0"
# default to a decent compromise for legibility on the small screen
Option "PreferredMode" "1128x540_60.00" Option "PreferredMode" "1128x540_60.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! # 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 Modeline "1248x600_60.00" 59.71 1248 1296 1424 1600 600 601 604 622 -HSync +Vsync
# half 1080p, in case you need to integer downscale a full-HD video? # 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 Modeline "1128x540_60.00" 48.03 1128 1168 1280 1432 540 541 544 559 -HSync +Vsync
# whole-number multiple of Gameboy Advance resolution (160p * 3) # 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)
Modeline "1000x480_60.00" 37.45 1000 1024 1128 1256 480 481 484 497 -HSync +Vsync Modeline "1000x480_60.00" 37.45 1000 1024 1128 1256 480 481 484 497 -HSync +Vsync
# whole-number multiple of Super NES resolution (224p * 2) # 2x NES/SNES (224p)
Modeline "936x448_60.00" 32.29 936 952 1048 1160 448 449 452 464 -HSync +Vsync Modeline "936x448_60.00" 32.29 936 952 1048 1160 448 449 452 464 -HSync +Vsync
# whole-number multiple of Gameboy Color resolution (144p * 3) # 3x GBC (144p)
Modeline "896x432_60.00" 29.68 896 912 1000 1104 432 433 436 448 -HSync +Vsync Modeline "896x432_60.00" 29.68 896 912 1000 1104 432 433 436 448 -HSync +Vsync
# whole-number multiple of Doom and Doom accessories (200p * 2) # 2x Doom (200p)
Modeline "832x400_60.00" 25.10 832 840 920 1008 400 401 404 415 -HSync +Vsync Modeline "832x400_60.00" 25.10 832 840 920 1008 400 401 404 415 -HSync +Vsync
# 2x upscaling to native (768p) # 1/2 native (768p)
Modeline "800x384_60.00" 23.31 800 808 888 976 384 385 388 398 -HSync +Vsync Modeline "800x384_60.00" 23.31 800 808 888 976 384 385 388 398 -HSync +Vsync
# good for watching 360p youtube # youtube (360p)
Modeline "752x360_60.00" 20.05 752 752 824 896 360 361 364 373 -HSync +Vsync Modeline "752x360_60.00" 20.05 752 752 824 896 360 361 364 373 -HSync +Vsync
EndSection EndSection