Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New install, a few problems (or not?)
Date: Fri, 09 Sep 2016 15:17:50
Message-Id: 57D2D28F.6070306@gmail.com
In Reply to: [gentoo-user] New install, a few problems (or not?) by waltdnes@waltdnes.org
1 On 09/08/2016 09:50 PM, waltdnes@××××××××.org wrote:
2 > 64-bit no-multilib install on a relatively new Dell Inspiron...
3 >
4 > 1) X works OK, but installing x11-drivers/xf86-video-intel finishes off
5 > with the message...
6 >
7 > ***********************************************
8 > WARN: postinst
9 > This driver requires KMS support in your kernel
10 > Device Drivers --->
11 > Graphics support --->
12 > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
13 > <*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
14 > i915 driver
15 > [*] Enable modesetting on intel by default
16 > ***********************************************
17 >
18 > Note that make.conf contains...
19 > VIDEO_CARDS="intel i965"
20 > ...and X loads the i965 driver, and runs OK. Why is i915 even mentioned?
21
22 You have built the Intel driver in the kernel correct? It is telling you
23 you didn't build KMS support in your kernel and showing you what needs
24 to be set in your kernel.
25
26 This will probably correct your problem #3, by the way.
27
28 >
29 >
30 > 2) "uname -a" gives the following output...
31 >
32 > [i3][root][~] uname -a
33 > Linux i3 4.4.6-gentoo #4 SMP Wed Sep 7 17:12:27 Local time zone must be set--see zic m x86_64 Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GenuineIntel GNU/Linux
34 >
35 >
36 > ...but I've already run...
37 >
38 > [i3][root][~] emerge --config sys-libs/timezone-data
39 >
40 > Configuring pkg...
41 >
42 > * Updating /etc/localtime with /usr/share/zoneinfo/Canada/Eastern
43
44 The new link is /etc/timezone, not /etc/localtime. I would think if you
45 renamed it that problem will go away?
46
47 >
48 > 3) The new machine is not co-operating with my hardware KVM switch. If
49 > I select the machine while it's booting up, it works fine. But if I
50 > switch away and come back, the VGA video does not work. I've confirmed
51 > that the keyboard part of KVM still works...
52 > * boot up with new machine selected
53 > * log in as root in text console mode
54 > * switch away
55 > * switch back, and there's no video
56 > * but if I blindly type "poweroff", it shuts down, so keyboard works
57 >
58 > Ugly hack... The new machine has VGA and HDMI ports. My monitor has
59 > VGA (which the KVM switch uses) and HDMI (and DVI and Displayport?). I
60 > can add one more cable to the "rat's nest" under the table. But
61 > switching between machines will also require toggling the monitor as
62 > well as the KVM.
63
64 Try building KMS support (and the Intel driver if you haven't) in the
65 kernel and report back.
66
67 >
68 > 4) media-libs/x265 took 68 minutes to build on a relatively new 4-core
69 > Intel Silvermont with 8 gigs of RAM, and X was not running! Time output
70 >
71 > real 68m48.122s
72 > user 87m52.139s
73 > sys 0m25.027s
74 >
75 > It got stuck at a few times building "deblock"...
76 >
77 > [ 98%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o cd /var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source-abi_x86_64.amd64-main10/common && /usr/bin/x86_64-pc-linux-gnu-g++ -DEXPORT_C_API=0 -DHAVE_INT_TYPES_H=1 -DHIGH_BIT_DEPTH=1 -DX265_ARCH_X86=1 -DX265_DEPTH=10 -DX265_NS=x265_10bit -DX86_64=1 -D__STDC_LIMIT_MACROS=1 -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/. -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/common -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/encoder -I/var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source-abi_x86_64.amd64-main10 -DNDEBUG -O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -Wall -Wextra -Wshadow -fPIC -Wno-array-bounds -ffast-math -mstackrealign -fno-exceptions -o CMakeFiles/common.dir/deblock.cpp.o -c /var/tmp/portage/media-libs/x265-1.8-r3/work/x265_11047/source/common/deblock.cpp
78 >
79 > When I say "stuck", I mean that "top" shows yasm pegging one core at 100%
80 >
81 > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
82 > 3520 portage 20 0 178920 171848 2032 R 100.0 2.1 24:48.70 yasm
83 > 3749 waltdnes 20 0 21808 2824 2340 R 0.7 0.0 0:03.54 top
84 > 1 root 20 0 4188 1564 1460 S 0.0 0.0 0:00.37 init
85 > 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
86 >
87 >
88
89 I haven't tried compiling this one so I can't comment on it.
90
91
92 Dan

Replies

Subject Author
Re: [gentoo-user] New install, a few problems (or not?) Daniel Frey <djqfrey@×××××.com>
Re: [gentoo-user] New install, a few problems (or not?) waltdnes@××××××××.org