Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mythfrontend segfaults [SOLVED]
Date: Thu, 16 Apr 2009 16:18:49
Message-Id: 1239898723.24828.1.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] Mythfrontend segfaults by Michael Sullivan
1 On Thu, 2009-04-16 at 09:40 -0500, Michael Sullivan wrote:
2 > On Tue, 2009-04-14 at 18:19 -0700, Mark Knecht wrote:
3 > > On Tue, Apr 14, 2009 at 5:07 PM, Michael Sullivan <msulli1355@×××××.com> wrote:
4 > > <SNIP>
5 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
6 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
7 > > > mythfrontend[31548]: segfault at 6f732e4c ip 6f732e4c sp bfe0b09c error
8 > > > 4
9 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
10 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
11 > > > mythfrontend[32128]: segfault at 6f732e4c ip 6f732e4c sp bffb8a4c error
12 > > > 4
13 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
14 > > > [drm:i915_getparam] *ERROR* Unknown parameter 5
15 > > > mythfrontend[32527]: segfault at 6f732e4c ip 6f732e4c sp bf98041c error
16 > > > 4
17 > > <SNIP>
18 > > >
19 > > > Here's what I could gather from Xorg.0.log:
20 > > >
21 > > > camille log # grep EE Xorg.0.log
22 > > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
23 > > > (II) Loading extension MIT-SCREEN-SAVER
24 > > > (EE) Failed to load module "type1" (module does not exist, 0)
25 > > > (EE) Failed to load module "freetype" (module does not exist, 0)
26 > > > (EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed
27 > > > (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file
28 > > > or directory)
29 > > > (EE) AIGLX: reverting to software rendering
30 > > > camille log # grep WW Xorg.0.log
31 > > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
32 > > > (WW) The directory "/usr/share/fonts/CID/" does not exist.
33 > > > (WW) The directory "/usr/share/fonts/OTF" does not exist.
34 > > > (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or
35 > > > directory)
36 > > > (WW) Warning, couldn't open module type1
37 > > > (WW) Warning, couldn't open module freetype
38 > > > (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
39 > > > (WW) intel(0): ESR is 0x00000001, instruction error
40 > > > (WW) intel(0): Existing errors found in hardware state.
41 > > >
42 > > <SNIP>
43 > >
44 > > This is all suggesting to me a fairly serious setup problem, but not
45 > > necessarily a problem with Myth.
46 > >
47 > > You are correct - there is no mythfrontend log file. That would be on
48 > > your server. My mistake. You still might want to look through the tail
49 > > of that file but I doubt anything about this will be there.
50 > >
51 > > As I said earlier, you should simply remove the freetype line from the
52 > > fonts section of your xorg.conf file. It's not an issue though.
53 > > PRobably the same for the type1 font, assuming it's a font. Xorg isn't
54 > > finding those fonts which jsut means it cannot use them. That's not
55 > > going to cause a crash in Myth though.
56 > >
57 > > I'm not understanding why your system isn't finding the right video
58 > > driver. It appears hal wants you to run the i915 driver. Is the i915
59 > > driver in memory? (lsmod|grep i915)
60 > >
61 > > Is it on your system? On the 32-bit machine they are in /usr/lib/dri.
62 > > Your Xorg.0.log file says they aren't there. Why not?
63 > >
64 > > dragonfly ~ # ls -la /usr/lib/dri/
65 > > total 8824
66 > > drwxr-xr-x 2 root root 4096 2009-04-12 08:37 .
67 > > drwxr-xr-x 125 root root 77824 2009-04-14 17:22 ..
68 > > -rwxr-xr-x 1 root root 2150796 2009-04-12 08:37 i810_dri.so
69 > > -rwxr-xr-x 1 root root 2372108 2009-04-12 08:37 i915_dri.so
70 > > -rwxr-xr-x 1 root root 2422028 2009-04-12 08:37 i965_dri.so
71 > > -rwxr-xr-x 1 root root 1978328 2009-04-12 08:37 swrast_dri.so
72 > > dragonfly ~ #
73 > >
74 > > If they really aren't there then you need to build them. They are
75 > > provided byxf86-video-intel. I don't have them on this AMD64 machine
76 > > but note that if I wanted to add them then they drag in XvMC which I
77 > > am suspecting is causing the segfault crash on my wife's 32-bit Intel
78 > > based machine:
79 > >
80 > > lightning mythtv # emerge -pv1 xf86-video-intel
81 > >
82 > > These are the packages that would be merged, in order:
83 > >
84 > > Calculating dependencies... done!
85 > > [ebuild N ] app-admin/eselect-xvmc-0.1 0 kB
86 > > [ebuild N ] x11-libs/libXvMC-1.0.4 USE="-debug" 220 kB
87 > > [ebuild N ] x11-drivers/xf86-video-intel-2.6.3-r1 USE="dri -debug" 772 kB
88 > >
89 > > Total: 3 packages (3 new), Size of downloads: 992 kB
90 > > lightning mythtv #
91 > >
92 > > I am curious as to whether this matters. xvmc is one of the rendering
93 > > technologies and is pretty much default with Myth. On my wife's
94 > > machine neither implementation is selected. Possibly that's part of
95 > > the problem on her machine. I'll have to play with that a bit:
96 > >
97 > > dragonfly ~ # eselect xvmc list
98 > > Available XvMC implementations ( * is current ):
99 > > [1] xorg-x11
100 > > [2] intel
101 > > dragonfly ~ #
102 > >
103 > > I don't know what other clues to give you. I'm going back to xorg-1.3
104 > > as we speak to see if I can get her machine working again. I'll let
105 > > you know how it goes.
106 > >
107 > > - Mark
108 > >
109 >
110 > In my /var/log/Xorg.0.log file, the only errors are as follows:
111 >
112 > camille ~ # grep EE /var/log/Xorg.0.log
113 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
114 > (EE) Unable to locate/open config file
115 > (II) Loading extension MIT-SCREEN-SAVER
116 > (EE) open /dev/fb0: No such file or directory
117 > (EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed
118 > (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file
119 > or directory)
120 > (EE) AIGLX: reverting to software rendering
121 >
122 >
123 > Now I don't know what /dev/fb0 is, but the /usr/lib/dri/i915_dri.so I
124 > think I should have, but I don't.
125 >
126 > camille ~ # locate i915_dri.so
127 > camille ~ # ls -l /usr/lib/dri
128 > total 2004
129 > -rwxr-xr-x 1 root root 2047960 Apr 12 03:17 swrast_dri.so
130 >
131 >
132 > Where can I get this file?
133
134 I found /usr/lib/dri/i915_dri.so on one of my other boxes and ran equery
135 belongs on it. It belonged to media-libs/mesa. I re-merged mesa and
136 rebooted X and myth works. I checked LiveTV and it works too.

Replies

Subject Author
Re: [gentoo-user] Mythfrontend segfaults [SOLVED] Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Mythfrontend segfaults [SOLVED] Mark Knecht <markknecht@×××××.com>