hns - 日記自動生成システム - Version 2.19.9

先月 2015年03月 来月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2015年03月27日(金) 旧暦 [n年日記] [更新:"2015/03/27 14:14:30"]

#1 [NetBSD] Dual Displays by xrandr

徳田さんの 「NetBSDとEee PCで外部ディスプレイを使う」 も大変参考にしながら、机上機を dual display にして見た。
Looking at Tokuda's (Japanese diary) my desktop was converted to Dual displays.
Machine: HP ML115/G1
Graphic Card
 (--) RADEON(0): Chipset: "ATI Radeon HD 3450" (ChipID = 0x95c5)
OS NetBSD/amd64 6.1.4
X11R7 installed
Displays 表示部分:
For VGA ananlog:  FlexScan L565 43cm (17 inch)
For DVI Digital:  I/O DATA     50cm (19 inch)
いつもは xdm を起動していて、/etc/X11/xorg.conf は存在しない そのままで xrandr にいくつか引数を付けて起動すると、
My machine does not have /etc/X11/xorg.conf. It was OK for single. If I tried xrandr setup, it claims like:
xrandr: specified screen 1600x1200 not large enough
   for output DVI-0 (1200x1600+1280+0)
「画面が小さくて、二画面は置けない」
と言われる。それで「二画面が置けるような大きさを指定」するべく Virtual の文字が必要になるが、入れるべき xorg.conf がない。
そこで /var/log/Xorg.0.log を見て、それらしい文字を取出すが、どうも足りない。 結局、今使っているのは、次のもの。

So I need to put Virtual setup at xorg.conf to fit large two displays, but no xorg.conf yet.
By looking at /var/log/Xorg.0.log, picked up the strings, but some lines may be missing. After all, I'm using following lines for now.
modena@makoto 15:08:34/150327(~)% cat /etc/X11/xorg.conf

Section "Device"
        Identifier      "Builtin Default ati Device 0"
        Driver  "ati"
EndSection
Section "Screen"
        Identifier      "Builtin Default ati Screen 0"
        Device  "Builtin Default ati Device 0"
        Monitor "Monitor0"
        Subsection "Display"
        Virtual 2880 1200
        EndSubsection
EndSection
Section "Monitor"
        Identifier "Monitor0"
EndSection
Section "ServerLayout"
        Identifier      "Builtin Default Layout"
        Screen  "Builtin Default ati Screen 0"
EndSection
こうしておいて、xrandr を引数なしで起動して名前などを確認してから
With this setup, first issues xrandr without argument to know displays name, and then,
xrandr --fb 2880x1200 \
 --output DVI-0 --auto --rotate normal --pos  0x0  \
 --output VGA-0 --auto --rotate normal --left-of DVI-0
のように入力すると、二画面が分れて使えるようになった。
時々、何かの具合で、Focus しない、つまり入力が出来ないことがある。 その時には、fvwm のメニューも、VGA 側にしか出ない。
(もしかして fvwm を VGA 側で起動すると、そうなるのかな)
そのような時には xdm からやり直し。 この状態で xrandr を引数無で起動すると、次のようになる。

Above xrandr command places dual displays now. In some case, Focusing are missing, say, unable to input letters in DVI side. In that situation, menus of fvwm with mouse-1 always appears the VGA side. Seems fvwm invocation on VGA side may give such situation. (But not confirmed yet).

modena@makoto 15:15:19/150327(~)% xrandr

Screen 0: minimum 320 x 200, current 2880 x 1200, maximum 2880 x 1200
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 337mm x 270mm
   1280x1024      60.0*+   75.0
   1280x960       75.0     60.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
DVI-0 connected 1600x1200+1280+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1024x768       75.0     72.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  

Vertical:

Tried different layout, say,
For VGA is horizontal, but for DVI rotated
The different number is placed for /etc/X11/xorg.conf, to allow height to be 1600.
        Virtual 2880 1600
And issues as:
 xrandr --fb 2880x1600 \
        --output DVI-0 --auto --rotate right  --pos  0x0  \
        --output VGA-0 --auto --rotate normal --left-of DVI-0
By the way, cvt command may help to know mode lines parameter if necessary.
modena@makoto 23:04:51/150327(~)% cvt 1280 1024
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)