[opensuse-xorg] where do xrandr commands to be run at X/KDM/KDE startup belong?
[previously posted to factory list, where it has yet to generate a response] According to https://wiki.ubuntu.com/X/Config/Resolution if I was using *buntu they could go in ~/.xprofile or /etc/kde4/kdm/Xsetup. M7 has no latter, and apparently doesn't bother with any existing ~/.xprofile, which I linked to a script that works when run from Konsole. According to http://forums.opensuse.org/get-help-here/laptop/417815-run-xrandr-automatica... such commands belong in /etc/init.d/boot.local. That makes no sense to me, but I tried it anyway. That too fails. This script does what it needs to do: # 1280x960 59.94 Hz (CVT 1.23M3) hsync: 59.70 kHz; pclk: 101.25 MHz xrandr --newmode "1280x960-60" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync xrandr --addmode VGA1 1280x960-60 # 1400x1050 59.98 Hz (CVT 1.47M3) hsync: 65.32 kHz; pclk: 121.75 MHz xrandr --newmode "1400x1050-60" 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync xrandr --addmode VGA1 1400x1050-60 # 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz xrandr --newmode "1600x1200-60" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync xrandr --addmode VGA1 1600x1200-60 # 1792x1344 60.00 Hz (CVT 2.41M3) hsync: 83.57 kHz; pclk: 203.25 MHz xrandr --newmode "1792x1344-60" 203.25 1792 1920 2112 2432 1344 1347 1351 1393 -hsync +vsync xrandr --addmode VGA1 1792x1344-60 # 1856x1392 59.93 Hz (CVT 2.58M3) hsync: 86.48 kHz; pclk: 217.25 MHz xrandr --newmode "1856x1392-60" 217.25 1856 1992 2184 2512 1392 1395 1399 1443 -hsync +vsync xrandr --addmode VGA1 1856x1392-60 # 1920x1440 59.97 Hz (CVT 2.76M3) hsync: 89.53 kHz; pclk: 233.50 MHz xrandr --newmode "1920x1440-60" 233.50 1920 2064 2264 2608 1440 1443 1447 1493 -hsync +vsync xrandr --addmode VGA1 1920x1440-60 # 2048x1536 59.95 Hz (CVT 3.15M3) hsync: 95.45 kHz; pclk: 267.25 MHz xrandr --newmode "2048x1536-60" 267.25 2048 2208 2424 2800 1536 1539 1543 1592 -hsync +vsync xrandr --addmode VGA1 2048x1536-60 xrandr --dpi 120 xrandr --output VGA1 --mode 1600x1200-60 However, it needs to be run before KDM or the desktop populate, so that everything on the desktop initializes at the correct resolution and DPI, just like used to happen automatically in 11.0. Alternatively, how does one get PreferredMode, NoDDC, etc. in xorg.conf to do what they used to do? On my i845G, an xorg.conf file that worked to get up to 2048x1536 only last fall no longer works, sticking me in the awful lowfi mode 1024x768. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
I am not sure if i understand your question. You have a wrong resolution when KDM comes up ? So autoconfig fails ? re, wh Felix Miata schrieb:
[previously posted to factory list, where it has yet to generate a response]
According to https://wiki.ubuntu.com/X/Config/Resolution if I was using *buntu they could go in ~/.xprofile or /etc/kde4/kdm/Xsetup. M7 has no latter, and apparently doesn't bother with any existing ~/.xprofile, which I linked to a script that works when run from Konsole.
According to http://forums.opensuse.org/get-help-here/laptop/417815-run-xrandr-automatica... such commands belong in /etc/init.d/boot.local. That makes no sense to me, but I tried it anyway. That too fails.
This script does what it needs to do: # 1280x960 59.94 Hz (CVT 1.23M3) hsync: 59.70 kHz; pclk: 101.25 MHz xrandr --newmode "1280x960-60" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync xrandr --addmode VGA1 1280x960-60 # 1400x1050 59.98 Hz (CVT 1.47M3) hsync: 65.32 kHz; pclk: 121.75 MHz xrandr --newmode "1400x1050-60" 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync xrandr --addmode VGA1 1400x1050-60 # 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz xrandr --newmode "1600x1200-60" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync xrandr --addmode VGA1 1600x1200-60 # 1792x1344 60.00 Hz (CVT 2.41M3) hsync: 83.57 kHz; pclk: 203.25 MHz xrandr --newmode "1792x1344-60" 203.25 1792 1920 2112 2432 1344 1347 1351 1393 -hsync +vsync xrandr --addmode VGA1 1792x1344-60 # 1856x1392 59.93 Hz (CVT 2.58M3) hsync: 86.48 kHz; pclk: 217.25 MHz xrandr --newmode "1856x1392-60" 217.25 1856 1992 2184 2512 1392 1395 1399 1443 -hsync +vsync xrandr --addmode VGA1 1856x1392-60 # 1920x1440 59.97 Hz (CVT 2.76M3) hsync: 89.53 kHz; pclk: 233.50 MHz xrandr --newmode "1920x1440-60" 233.50 1920 2064 2264 2608 1440 1443 1447 1493 -hsync +vsync xrandr --addmode VGA1 1920x1440-60 # 2048x1536 59.95 Hz (CVT 3.15M3) hsync: 95.45 kHz; pclk: 267.25 MHz xrandr --newmode "2048x1536-60" 267.25 2048 2208 2424 2800 1536 1539 1543 1592 -hsync +vsync xrandr --addmode VGA1 2048x1536-60 xrandr --dpi 120 xrandr --output VGA1 --mode 1600x1200-60
However, it needs to be run before KDM or the desktop populate, so that everything on the desktop initializes at the correct resolution and DPI, just like used to happen automatically in 11.0.
Alternatively, how does one get PreferredMode, NoDDC, etc. in xorg.conf to do what they used to do? On my i845G, an xorg.conf file that worked to get up to 2048x1536 only last fall no longer works, sticking me in the awful lowfi mode 1024x768. -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On 2010/06/19 18:34 (GMT+0200) walter harms composed:
I am not sure if i understand your question. You have a wrong resolution when KDM comes up ? So autoconfig fails ?
It comes up in the 1024x768 fallback, which is unacceptable here. AFAICT, autoconfig is not designed to work in current Xorg absent usable DDC/EDID, which is the case here. And traditional workarounds (NoXrandr,DisplaySize,NoDDC,PreferredMode,etc) via xorg.conf are apparently ignored, at least ATM with Intel drivers. I'm currently getting desired results using xrandr commands in /etc/X11/xinit/xinitrc in the section labeled "#Add your own lines here...". -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
participants (2)
-
Felix Miata
-
walter harms