Gentoo Archives: gentoo-user

From: Willie <matthews.willie@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need Help!
Date: Sat, 23 Jun 2012 03:03:31
Message-Id: CADwZqitWZiM++rOpuzK96akxAH232nyXVcKbpROFQncd9dBrsw@mail.gmail.com
In Reply to: Re: [gentoo-user] Need Help! by Alecks Gates
1 This is for my kid. He likes to watch movies. He knows how to use the
2 shortcut on the desktop. I really don't need to reinvent the wheel on this
3 one. It all works just like he learned it.
4
5 On Fri, Jun 22, 2012 at 5:09 PM, Alecks Gates <alecks.g@×××××.com> wrote:
6
7 > On Fri, Jun 22, 2012 at 5:55 PM, Willie <matthews.willie@×××××.com> wrote:
8 > > On Fri, Jun 22, 2012 at 2:59 PM, Volker Armin Hemmann
9 > > <volkerarmin@××××××××××.com> wrote:
10 > >>
11 > >> Am Freitag, 22. Juni 2012, 14:51:04 schrieb Willie:
12 > >> > On Fri, Jun 22, 2012 at 12:49 PM, Paul Hartman <
13 > >> >
14 > >> > paul.hartman+gentoo@×××××.com> wrote:
15 > >> > > On Fri, Jun 22, 2012 at 2:04 PM, Willie <matthews.willie@×××××.com>
16 > >> > > wrote:
17 > >> > > > On Fri, Jun 22, 2012 at 11:46 AM, Paul Hartman
18 > >> > > >
19 > >> > > > <paul.hartman+gentoo@×××××.com> wrote:
20 > >> > > >> On Fri, Jun 22, 2012 at 11:20 AM, Willie
21 > >> > > >> <matthews.willie@×××××.com>
22 > >> > > >>
23 > >> > > >> wrote:
24 > >> > > >> > Hi All,
25 > >> > > >> >
26 > >> > > >> > I have been running a gentoo box for quite some time without a
27 > >> > > >> > desktop
28 > >> > > >> > manager. Did a lot of upgrading in between time also. The
29 > problem
30 > >> > > >> > I
31 > >> > > >> > am
32 > >> > > >> > having is when I login I can't open any Windows. The only one
33 > >> > > >> > that
34 > >> > > >> > has
35 > >> > > >> > open
36 > >> > > >> > without crashing the entire computer that I know of is VLC.
37 > >> > > >> >
38 > >> > > >> > Any help is greatly appreciated.
39 > >> > > >>
40 > >> > > >> Be sure to "emerge --oneshot @x11-module-rebuild" after upgrading
41 > >> > > >> xorg
42 > >> > > >> stuff. Drivers might be out of sync and maybe that's causing your
43 > >> > > >> pain.
44 > >> > > >>
45 > >> > > >> Try to delete/rename your /etc/X11/xorg.conf and see if that
46 > makes
47 > >> > > >> a
48 > >> > > >> difference. Modern Xorg can start a basic environment without it.
49 > >> > > >>
50 > >> > > >> Try to run "startx" as a user instead of using xdm and see if you
51 > >> > > >> get
52 > >> > > >> any better errors/logs.
53 > >> > > >>
54 > >> > > >> If you have another computer/device SSH into your problematic
55 > >> > > >> computer
56 > >> > > >> before starting X so you can see if it's still alive, just
57 > >> > > >> unresponsive at the local terminal. Maybe then you can see logs
58 > and
59 > >> > > >> stuff.
60 > >> > > >>
61 > >> > > >> revdep-rebuild just to ensure everything is consistent on your
62 > >> > > >> system.
63 > >> > > >
64 > >> > > > I rebuild all of my x11-drivers it rebuild the nvidia driver along
65 > >> > > > with
66 > >> > > > a
67 > >> > > > couple of others.
68 > >> > > >
69 > >> > > > I used startx and got the errors below. I have a feeling it has
70 > >> > >
71 > >> > > something to
72 > >> > >
73 > >> > > > do with my nVidia card (Geforce 8400GS)
74 > >> > > >
75 > >> > > > SSH is not active anymore. It is also the computer that shares the
76 > >> > >
77 > >> > > internet
78 > >> > >
79 > >> > > > and no one can access the internet either.
80 > >> > > >
81 > >> > > > Okay now I think we are getting somewhere. Didn't think to leave
82 > XDM
83 > >> > > > out
84 > >> > >
85 > >> > > but
86 > >> > >
87 > >> > > > I did do it. It still froze but I got some useful information soon
88 > >> > > > as it
89 > >> > >
90 > >> > > did
91 > >> > >
92 > >> > > > freeze. This is from /var/log/messages
93 > >> > > >
94 > >> > > > Jun 22 11:52:52 beast kernel: NVRM: Xid (0000:02:00): 6, PE0001
95 > >> > > > Jun 22 11:52:54 beast kernel: NVRM: os_schedule: Attempted to
96 > yield
97 > >> > > > the
98 > >> > >
99 > >> > > CPU
100 > >> > >
101 > >> > > > while in atomic or interrupt context
102 > >> > > > Jun 22 11:52:54 beast kernel: NVRM: Xid (0000:02:00): 3, C
103 > 00000002
104 > >> > > > SC
105 > >> > > > 00000003 M 00000100 Data 00000000
106 > >> > > > Jun 22 11:53:03 beast kernel: NVRM: os_schedule: Attempted to
107 > yield
108 > >> > > > the
109 > >> > >
110 > >> > > CPU
111 > >> > >
112 > >> > > > while in atomic or interrupt context
113 > >> > > > Jun 22 11:53:05 beast kernel: NVRM: os_schedule: Attempted to
114 > yield
115 > >> > > > the
116 > >> > >
117 > >> > > CPU
118 > >> > >
119 > >> > > > while in atomic or interrupt context
120 > >> > > > Jun 22 11:53:08 beast kernel: NVRM: os_schedule: Attempted to
121 > yield
122 > >> > > > the
123 > >> > >
124 > >> > > CPU
125 > >> > >
126 > >> > > > while in atomic or interrupt context
127 > >> > > >
128 > >> > > > That was printed as soon as XFCE froze.
129 > >> > >
130 > >> > > Okay, now I googled those errors and it seems to be a fairly common
131 > >> > > problem. The workaround I saw is to add "nolapic_timer" to your
132 > kernel
133 > >> > > commandline. Try that, reboot and cross your fingers. ;)
134 > >> >
135 > >> > Yeah I see that too. Tried to add that to my grub.conf/menu.lst. It
136 > did
137 > >> > not
138 > >> > work for me. I rebuild my kernel for nouveau drivers. Rebuilt
139 > >> > xorg-drivers
140 > >> > and mesa, installed xf86-video-nouveau. So far it is not working,
141 > still
142 > >> > might have to do some tweaking.
143 > >>
144 > >> if you use nvidia binary, turn off all nvidia graphics related stuff in
145 > >> the
146 > >> kernel and to be sure nothing screws you over - unmerge nouveau.
147 > >>
148 > >> If you use nouveau, try the binary driver.
149 > >>
150 > >>
151 > >> There are reasons, Linus does not like nvidia very much.
152 > >>
153 > >> --
154 > >> #163933
155 > >
156 > >
157 > > It was working with this same kernel. I can't figure out for the life of
158 > me
159 > > why it is not working now. I have a feeling after 6 months of upgrades
160 > > something broke in that time. I am fine with the nouveau driver. I only
161 > > really want a GUI to play movies.
162 > >
163 > > --
164 > >
165 > > Willie Matthews
166 > > matthews.willie@×××××.com
167 >
168 > A bit off topic but you don't really need a full GUI for movies. Try
169 > just X + mplayer, or XBMC. Dunno if those alone would work for you
170 > (and you probably want to fix your problems anyway). Depending on
171 > your CPU and video card, the proprietary drivers may help you if you
172 > can use VDPAU for video acceleration.
173 >
174 >
175
176
177 --
178
179 Willie Matthews
180 matthews.willie@×××××.com