Gentoo Archives: gentoo-user

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

Replies

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