Gentoo Archives: gentoo-user

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

Replies

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