Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Heads up: Video mode and booting with KVM switch
Date: Sun, 15 Nov 2015 03:35:32
Message-Id: 20151115033501.GA27918@waltdnes.org
In Reply to: Re: [gentoo-user] Heads up: Video mode and booting with KVM switch by Walter Dnes
1 On Sat, Nov 14, 2015 at 02:56:09PM -0500, Walter Dnes wrote
2 > Thanks for the ideas. "video=VGA-1:1920x1080@60" (as indicated by
3 > xrandr) didn't work well. The text console showed 2 copies of the
4 > screen side-by each. Imagine working with the "screen" or "tmux"
5 > program, or the vim ":vsplit" command. And it was offset 3/4 inch down
6 > and to the right. X Window showed only one image, but the down and
7 > right shift was still there. I couldn't see the autoraising menubar at
8 > the bottom of the screen in ICEWM, so it was unusable.
9 >
10 > "video=VGA-1:1920x1080@60m", where the "m" is to allow some margin in
11 > the calculations, got rid of the double image in text console, but the
12 > down and right shift was still there in both the text console, and X.
13 >
14 > I tried sticking "xrandr -s 1920x1080" in my .xinitrc. It "works",
15 > but the fonts are noticably "fatter" after a disconnected boot versus
16 > a connected boot.
17 >
18 > I ran "cp /sys/class/drm/card0/card0-VGA-1/edid my_edid.bin" and I'll
19 > try loading it in the kernel later today.
20
21 Plan A
22
23 [d531][root][~] get-edid > my_edid.bin
24 This is read-edid version 3.0.1. Prepare for some fun.
25 Attempting to use i2c interface
26 Looks like no busses have an EDID. Sorry!
27 Attempting to use the classical VBE interface
28 Illegal instruction
29
30 Plan B
31
32 I generated an xorg.conf file (Xorg -configure), dumped it in /etc/X11
33 and inserted...
34 Option "ModeDebug" "True"
35 as per https://forums.gentoo.org/viewtopic-t-992752.html
36
37 The result I got in the log was...
38
39 (WW) intel(0): Option "ModeDebug" is not used
40
41 ...this was getting annoying
42
43 Remember what I mentioned about "fatter" fonts? This brought back
44 memories of the bad old days when we needed a /etc/X11/xorg.conf file
45 to run X. DPI was one of the things we worried about. After much
46 experimentation, I inserted the line...
47
48 /usr/bin/xterm -e xrandr -s 1920x1080 && xrandr --dpi 96 &
49
50 ...into my .xinitrc, and every thing looks just fine inside X. In case
51 you were wondering, no...
52
53 /usr/bin/xterm -e xrandr -s 1920x1080 --dpi 96 &
54
55 ...does *NOT* work. Yes, the setup is a kludge, but it works.
56
57 --
58 Walter Dnes <waltdnes@××××××××.org>
59 I don't run "desktop environments"; I run useful applications