* [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
@ 2012-05-22 6:02 Andrey Moshbear
2012-05-23 15:12 ` Michael Scherer
0 siblings, 1 reply; 9+ messages in thread
From: Andrey Moshbear @ 2012-05-22 6:02 UTC (permalink / raw
To: gentoo-user
Lately, I've been having some issues with segfaults when running
startx and it's been pretty persistent.
Xorg.0.log and emerge --info are available at https://gist.github.com/2766926 .
Kernel config is available at https://gist.github.com/276943 .
I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2 fails
to compile due to incomplete structs.
Is this more a driver or a hardware issue?
--
001100 m0shbear
010010
011110 andrey at moshbear dot net
100001 andrey dot vul at gmail
101101
110011
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-05-22 6:02 [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue? Andrey Moshbear
@ 2012-05-23 15:12 ` Michael Scherer
2012-06-01 8:11 ` Andrey Moshbear
0 siblings, 1 reply; 9+ messages in thread
From: Michael Scherer @ 2012-05-23 15:12 UTC (permalink / raw
To: gentoo-user
----- Original Message -----
From: "Andrey Moshbear" <andrey.vul@gmail.com>
To: "gentoo-user" <gentoo-user@lists.gentoo.org>
Sent: Tuesday, 22 May, 2012 08:02
Subject: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
> Lately, I've been having some issues with segfaults when running
> startx and it's been pretty persistent.
>
> Xorg.0.log and emerge --info are available at https://gist.github.com/2766926 .
> Kernel config is available at https://gist.github.com/276943 .
>
> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2 fails
> to compile due to incomplete structs.
>
> Is this more a driver or a hardware issue?
>
> --
> 001100 m0shbear
> 010010
> 011110 andrey at moshbear dot net
> 100001 andrey dot vul at gmail
> 101101
> 110011
>
>
first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64". with ~amd64 you globally
allow all packages masked for amd64. unless you are a developer/tester for gentoo you should remove
this keyword, because gentoo usually has good reasons to mask some packages. if for some reason you
really need a masked package, you can do this easily only for that package.
global unmasking alone might be the reason for half of your troubles.
second, it is advisable to use kernel modesetting, which is obviously not enabled. gentoo has a detailed
howto for this under http://www.gentoo.org/doc/en/xorg-config.xml. this gives you all necessary details.
just a quick shot for the moment. your kernel config doesn't under the link you give, I'd like to see that
too, and maybe /etc/X11/xorg.conf or the contents of /etc/X11/xorg.conf.d, if you have any of these,
regards, nichael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-05-23 15:12 ` Michael Scherer
@ 2012-06-01 8:11 ` Andrey Moshbear
2012-06-05 15:41 ` Michael Scherer
0 siblings, 1 reply; 9+ messages in thread
From: Andrey Moshbear @ 2012-06-01 8:11 UTC (permalink / raw
To: gentoo-user
On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
<a6702894@unet.univie.ac.at> wrote:
> ----- Original Message ----- From: "Andrey Moshbear" <andrey.vul@gmail.com>
> To: "gentoo-user" <gentoo-user@lists.gentoo.org>
> Sent: Tuesday, 22 May, 2012 08:02
> Subject: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4:
> driver issue or hardware issue?
>
>
>
>> Lately, I've been having some issues with segfaults when running
>> startx and it's been pretty persistent.
>>
>> Xorg.0.log and emerge --info are available at
>> https://gist.github.com/2766926 .
>> Kernel config is available at https://gist.github.com/276943 .
>>
>> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2 fails
>> to compile due to incomplete structs.
>>
>> Is this more a driver or a hardware issue?
>>
>
> first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64". with
> ~amd64 you globally
> allow all packages masked for amd64. unless you are a developer/tester for
> gentoo you should remove
> this keyword, because gentoo usually has good reasons to mask some packages.
> if for some reason you
> really need a masked package, you can do this easily only for that package.
> global unmasking alone might be the reason for half of your troubles.
>
> second, it is advisable to use kernel modesetting, which is obviously not
> enabled. gentoo has a detailed
> howto for this under http://www.gentoo.org/doc/en/xorg-config.xml. this
> gives you all necessary details.
>
> just a quick shot for the moment. your kernel config doesn't under the link
> you give, I'd like to see that
> too, and maybe /etc/X11/xorg.conf or the contents of /etc/X11/xorg.conf.d,
> if you have any of these,
>
> regards, nichael
>
>
Well, I added radeon drm & modesetting and the kernel is crashing
right after the microcode is loaded, but without any signs of panic,
be it flashing keyboard lights or kernel backtrace with register
values.
Also, the segfault was caused by the DRI code interpreting a DRI
opcode as a pointer, hence 0xa4 or similar in the back trace.
--
m0shbear
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-01 8:11 ` Andrey Moshbear
@ 2012-06-05 15:41 ` Michael Scherer
2012-06-07 8:29 ` Andrey Moshbear
2012-06-07 8:52 ` Andrey Moshbear
0 siblings, 2 replies; 9+ messages in thread
From: Michael Scherer @ 2012-06-05 15:41 UTC (permalink / raw
To: gentoo-user
On Fri, 1 Jun 2012 04:11:35 -0400
Andrey Moshbear <andrey.vul@gmail.com> wrote:
> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
> <a6702894@unet.univie.ac.at> wrote:
> > ----- Original Message ----- From: "Andrey Moshbear"
> > <andrey.vul@gmail.com> To: "gentoo-user"
> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012 08:02
> > Subject: [gentoo-user] Issues with
> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
> >
> >
> >
> >> Lately, I've been having some issues with segfaults when running
> >> startx and it's been pretty persistent.
> >>
> >> Xorg.0.log and emerge --info are available at
> >> https://gist.github.com/2766926 .
> >> Kernel config is available at https://gist.github.com/276943 .
> >>
> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
> >> fails to compile due to incomplete structs.
> >>
> >> Is this more a driver or a hardware issue?
> >>
> >
> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64".
> > with ~amd64 you globally
> > allow all packages masked for amd64. unless you are a
> > developer/tester for gentoo you should remove
> > this keyword, because gentoo usually has good reasons to mask some
> > packages. if for some reason you
> > really need a masked package, you can do this easily only for that
> > package. global unmasking alone might be the reason for half of
> > your troubles.
> >
> > second, it is advisable to use kernel modesetting, which is
> > obviously not enabled. gentoo has a detailed
> > howto for this under http://www.gentoo.org/doc/en/xorg-config.xml.
> > this gives you all necessary details.
> >
> > just a quick shot for the moment. your kernel config doesn't under
> > the link you give, I'd like to see that
> > too, and maybe /etc/X11/xorg.conf or the contents
> > of /etc/X11/xorg.conf.d, if you have any of these,
> >
> > regards, nichael
> >
> >
>
> Well, I added radeon drm & modesetting and the kernel is crashing
> right after the microcode is loaded, but without any signs of panic,
> be it flashing keyboard lights or kernel backtrace with register
> values.
>
> Also, the segfault was caused by the DRI code interpreting a DRI
> opcode as a pointer, hence 0xa4 or similar in the back trace.
>
> --
> m0shbear
>
in any case, I'd need some more information:
the link to your .config is broken, I only get an empty page.
if the kernel is involved, output of dmesg and rc.log would
be needed to.
by the way, did you anything with your ACCEPT_KEYWORDS?
if not, the best thing would be set it simply ="" (and
afterwards --update world, --depclean and revdep-rebuild),
but that's up to you.
please send me the requested information, otherwise it's
difficult to find out what's wrong.
regards, michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-05 15:41 ` Michael Scherer
@ 2012-06-07 8:29 ` Andrey Moshbear
2012-06-07 8:52 ` Andrey Moshbear
1 sibling, 0 replies; 9+ messages in thread
From: Andrey Moshbear @ 2012-06-07 8:29 UTC (permalink / raw
To: gentoo-user
On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
<a6702894@unet.univie.ac.at> wrote:
> On Fri, 1 Jun 2012 04:11:35 -0400
> Andrey Moshbear <andrey.vul@gmail.com> wrote:
>
>> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>> <a6702894@unet.univie.ac.at> wrote:
>> > ----- Original Message ----- From: "Andrey Moshbear"
>> > <andrey.vul@gmail.com> To: "gentoo-user"
>> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012 08:02
>> > Subject: [gentoo-user] Issues with
>> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
>> >
>> >
>> >
>> >> Lately, I've been having some issues with segfaults when running
>> >> startx and it's been pretty persistent.
>> >>
>> >> Xorg.0.log and emerge --info are available at
>> >> https://gist.github.com/2766926 .
>> >> Kernel config is available at https://gist.github.com/276943 .
>> >>
>> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
>> >> fails to compile due to incomplete structs.
>> >>
>> >> Is this more a driver or a hardware issue?
>> >>
>> >
>> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64".
>> > with ~amd64 you globally
>> > allow all packages masked for amd64. unless you are a
>> > developer/tester for gentoo you should remove
>> > this keyword, because gentoo usually has good reasons to mask some
>> > packages. if for some reason you
>> > really need a masked package, you can do this easily only for that
>> > package. global unmasking alone might be the reason for half of
>> > your troubles.
>> >
>> > second, it is advisable to use kernel modesetting, which is
>> > obviously not enabled. gentoo has a detailed
>> > howto for this under http://www.gentoo.org/doc/en/xorg-config.xml.
>> > this gives you all necessary details.
>> >
>> > just a quick shot for the moment. your kernel config doesn't under
>> > the link you give, I'd like to see that
>> > too, and maybe /etc/X11/xorg.conf or the contents
>> > of /etc/X11/xorg.conf.d, if you have any of these,
>> >
>> >
>> >
>>
>> Well, I added radeon drm & modesetting and the kernel is crashing
>> right after the microcode is loaded, but without any signs of panic,
>> be it flashing keyboard lights or kernel backtrace with register
>> values.
>>
>> Also, the segfault was caused by the DRI code interpreting a DRI
>> opcode as a pointer, hence 0xa4 or similar in the back trace.
>
> in any case, I'd need some more information:
> the link to your .config is broken, I only get an empty page.
> if the kernel is involved, output of dmesg and rc.log would
> be needed to.
Here's the .config of the kernel which crashed when loading the radeon
microcode: http://servbox.moshbear.net/r9k-3.3.6-pf-.config.txt
On 3.3.6, dmesg did tend to fill up with "uvesafb: mode switch failed
(eax=0x34f, err=0). Trying again with default settings."
Also, I'm unsure how use of userspace modeseting contributes to X's
drm code confusing an opcode for a pointer.
xorg.conf is blank since X's hardware detection is sufficiently
functional to not require a xorg.conf.
>
> by the way, did you anything with your ACCEPT_KEYWORDS?
> if not, the best thing would be set it simply ="" (and
> afterwards --update world, --depclean and revdep-rebuild),
> but that's up to you.
I use ~amd64 because I like having everything be recent. Otherwise, it
tends to feel a bit like a fast version of debian. That, and 99.9%
functionality is enough. I've been able to fix almost all issues that
arise by means of google - this one is simply proving to be tricky.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-05 15:41 ` Michael Scherer
2012-06-07 8:29 ` Andrey Moshbear
@ 2012-06-07 8:52 ` Andrey Moshbear
2012-06-07 14:18 ` Michael Scherer
1 sibling, 1 reply; 9+ messages in thread
From: Andrey Moshbear @ 2012-06-07 8:52 UTC (permalink / raw
To: gentoo-user
On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
<a6702894@unet.univie.ac.at> wrote:
> On Fri, 1 Jun 2012 04:11:35 -0400
> Andrey Moshbear <andrey.vul@gmail.com> wrote:
>
>> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>> <a6702894@unet.univie.ac.at> wrote:
>> > ----- Original Message ----- From: "Andrey Moshbear"
>> > <andrey.vul@gmail.com> To: "gentoo-user"
>> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012 08:02
>> > Subject: [gentoo-user] Issues with
>> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
>> >
>> >
>> >
>> >> Lately, I've been having some issues with segfaults when running
>> >> startx and it's been pretty persistent.
>> >>
>> >> Xorg.0.log and emerge --info are available at
>> >> https://gist.github.com/2766926 .
>> >> Kernel config is available at https://gist.github.com/276943 .
>> >>
>> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
>> >> fails to compile due to incomplete structs.
>> >>
>> >> Is this more a driver or a hardware issue?
>> >>
>> >
>> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64".
>> > with ~amd64 you globally
>> > allow all packages masked for amd64. unless you are a
>> > developer/tester for gentoo you should remove
>> > this keyword, because gentoo usually has good reasons to mask some
>> > packages. if for some reason you
>> > really need a masked package, you can do this easily only for that
>> > package. global unmasking alone might be the reason for half of
>> > your troubles.
>> >
>> > second, it is advisable to use kernel modesetting, which is
>> > obviously not enabled. gentoo has a detailed
>> > howto for this under http://www.gentoo.org/doc/en/xorg-config.xml.
>> > this gives you all necessary details.
>> >
>> > just a quick shot for the moment. your kernel config doesn't under
>> > the link you give, I'd like to see that
>> > too, and maybe /etc/X11/xorg.conf or the contents
>> > of /etc/X11/xorg.conf.d, if you have any of these,
>> >
>> > regards, nichael
>> >
>> >
>>
>> Well, I added radeon drm & modesetting and the kernel is crashing
>> right after the microcode is loaded, but without any signs of panic,
>> be it flashing keyboard lights or kernel backtrace with register
>> values.
>>
>> Also, the segfault was caused by the DRI code interpreting a DRI
>> opcode as a pointer, hence 0xa4 or similar in the back trace.
>>
>> --
>> m0shbear
>>
>
> in any case, I'd need some more information:
> the link to your .config is broken, I only get an empty page.
> if the kernel is involved, output of dmesg and rc.log would
> be needed to.
>
> by the way, did you anything with your ACCEPT_KEYWORDS?
> if not, the best thing would be set it simply ="" (and
> afterwards --update world, --depclean and revdep-rebuild),
> but that's up to you.
>
> please send me the requested information, otherwise it's
> difficult to find out what's wrong.
>
Also, I've noticed that that radeon.ko autodetection configures it as
a RS780, whereas, according to motherboard documentation, it should be
RS880 (780G vs 785G).
This may be a reason for crashing, since the video card dies due to
being supplied bad microcode.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-07 8:52 ` Andrey Moshbear
@ 2012-06-07 14:18 ` Michael Scherer
2012-06-12 14:33 ` Michael Scherer
0 siblings, 1 reply; 9+ messages in thread
From: Michael Scherer @ 2012-06-07 14:18 UTC (permalink / raw
To: gentoo-user
On Thu, 7 Jun 2012 04:52:35 -0400
Andrey Moshbear <andrey.vul@gmail.com> wrote:
> On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
> <a6702894@unet.univie.ac.at> wrote:
> > On Fri, 1 Jun 2012 04:11:35 -0400
> > Andrey Moshbear <andrey.vul@gmail.com> wrote:
> >
> >> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
> >> <a6702894@unet.univie.ac.at> wrote:
> >> > ----- Original Message ----- From: "Andrey Moshbear"
> >> > <andrey.vul@gmail.com> To: "gentoo-user"
> >> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012 08:02
> >> > Subject: [gentoo-user] Issues with
> >> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware
> >> > >issue?
> >> >
> >> >
> >> >
> >> >> Lately, I've been having some issues with segfaults when running
> >> >> startx and it's been pretty persistent.
> >> >>
> >> >> Xorg.0.log and emerge --info are available at
> >> >> https://gist.github.com/2766926 .
> >> >> Kernel config is available at https://gist.github.com/276943 .
> >> >>
> >> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
> >> >> fails to compile due to incomplete structs.
> >> >>
> >> >> Is this more a driver or a hardware issue?
> >> >>
> >> >
> >> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64
> >> > ~amd64". with ~amd64 you globally
> >> > allow all packages masked for amd64. unless you are a
> >> > developer/tester for gentoo you should remove
> >> > this keyword, because gentoo usually has good reasons to mask
> >> > some packages. if for some reason you
> >> > really need a masked package, you can do this easily only for
> >> > that package. global unmasking alone might be the reason for
> >> > half of your troubles.
> >> >
> >> > second, it is advisable to use kernel modesetting, which is
> >> > obviously not enabled. gentoo has a detailed
> >> > howto for this under
> >> > http://www.gentoo.org/doc/en/xorg-config.xml. this gives you all
> >> > necessary details.
> >> >
> >> > just a quick shot for the moment. your kernel config doesn't
> >> > under the link you give, I'd like to see that
> >> > too, and maybe /etc/X11/xorg.conf or the contents
> >> > of /etc/X11/xorg.conf.d, if you have any of these,
> >> >
> >> > regards, nichael
> >> >
> >> >
> >>
> >> Well, I added radeon drm & modesetting and the kernel is crashing
> >> right after the microcode is loaded, but without any signs of
> >> panic, be it flashing keyboard lights or kernel backtrace with
> >> register values.
> >>
> >> Also, the segfault was caused by the DRI code interpreting a DRI
> >> opcode as a pointer, hence 0xa4 or similar in the back trace.
> >>
> >> --
> >> m0shbear
> >>
> >
> > in any case, I'd need some more information:
> > the link to your .config is broken, I only get an empty page.
> > if the kernel is involved, output of dmesg and rc.log would
> > be needed to.
> >
> > by the way, did you anything with your ACCEPT_KEYWORDS?
> > if not, the best thing would be set it simply ="" (and
> > afterwards --update world, --depclean and revdep-rebuild),
> > but that's up to you.
> >
> > please send me the requested information, otherwise it's
> > difficult to find out what's wrong.
> >
>
> Also, I've noticed that that radeon.ko autodetection configures it as
> a RS780, whereas, according to motherboard documentation, it should be
> RS880 (780G vs 785G).
> This may be a reason for crashing, since the video card dies due to
> being supplied bad microcode.
>
according to the gentoo manual, under "device drivers-graphics-
support for framebufferdevices" you should uncheck
-everything- except "enable video mode handling helpers".
instead of uvesafb in the kernel parameters you may use
"radeondrmfb", if anything at all.
from the Xorg radeon page:
"First of all check that you don't load radeonfb, uvesafb or vesafb
module. This includes no vga parameters for kernel when using KMS.
Console is provided by fbcon and radeondrmfb frame buffer console. So
it is best to make sure that fbcon module is loaded"
disabling vesa also should rid you of uvesa messages in Xorg.0.log.
the rs880 and configuring as rs780 is indeed probably at the root
of your troubles. seems that you got the wrong firmware. I have
found other postings with the exact same problem, but as yet
no clear solution. I'll see what I can find and let you know.
regards, michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-07 14:18 ` Michael Scherer
@ 2012-06-12 14:33 ` Michael Scherer
2012-08-29 17:02 ` Andrey Moshbear
0 siblings, 1 reply; 9+ messages in thread
From: Michael Scherer @ 2012-06-12 14:33 UTC (permalink / raw
To: gentoo-user
On Thu, 7 Jun 2012 16:18:02 +0200
Michael Scherer <a6702894@unet.univie.ac.at> wrote:
> On Thu, 7 Jun 2012 04:52:35 -0400
> Andrey Moshbear <andrey.vul@gmail.com> wrote:
>
> > On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
> > <a6702894@unet.univie.ac.at> wrote:
> > > On Fri, 1 Jun 2012 04:11:35 -0400
> > > Andrey Moshbear <andrey.vul@gmail.com> wrote:
> > >
> > >> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
> > >> <a6702894@unet.univie.ac.at> wrote:
> > >> > ----- Original Message ----- From: "Andrey Moshbear"
> > >> > <andrey.vul@gmail.com> To: "gentoo-user"
> > >> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012
> > >> > 08:02 Subject: [gentoo-user] Issues with
> > >> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware
> > >> > >issue?
> > >> >
> > >> >
> > >> >
> > >> >> Lately, I've been having some issues with segfaults when
> > >> >> running startx and it's been pretty persistent.
> > >> >>
> > >> >> Xorg.0.log and emerge --info are available at
> > >> >> https://gist.github.com/2766926 .
> > >> >> Kernel config is available at https://gist.github.com/276943 .
> > >> >>
> > >> >> I've tried downgrading, but
> > >> >> <=x11-drivers/xf86-video-ati-6.14.2 fails to compile due to
> > >> >> incomplete structs.
> > >> >>
> > >> >> Is this more a driver or a hardware issue?
> > >> >>
> > >> >
> > >> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64
> > >> > ~amd64". with ~amd64 you globally
> > >> > allow all packages masked for amd64. unless you are a
> > >> > developer/tester for gentoo you should remove
> > >> > this keyword, because gentoo usually has good reasons to mask
> > >> > some packages. if for some reason you
> > >> > really need a masked package, you can do this easily only for
> > >> > that package. global unmasking alone might be the reason for
> > >> > half of your troubles.
> > >> >
> > >> > second, it is advisable to use kernel modesetting, which is
> > >> > obviously not enabled. gentoo has a detailed
> > >> > howto for this under
> > >> > http://www.gentoo.org/doc/en/xorg-config.xml. this gives you
> > >> > all necessary details.
> > >> >
> > >> > just a quick shot for the moment. your kernel config doesn't
> > >> > under the link you give, I'd like to see that
> > >> > too, and maybe /etc/X11/xorg.conf or the contents
> > >> > of /etc/X11/xorg.conf.d, if you have any of these,
> > >> >
> > >> > regards, nichael
> > >> >
> > >> >
> > >>
> > >> Well, I added radeon drm & modesetting and the kernel is crashing
> > >> right after the microcode is loaded, but without any signs of
> > >> panic, be it flashing keyboard lights or kernel backtrace with
> > >> register values.
> > >>
> > >> Also, the segfault was caused by the DRI code interpreting a DRI
> > >> opcode as a pointer, hence 0xa4 or similar in the back trace.
> > >>
> > >> --
> > >> m0shbear
> > >>
> > >
> > > in any case, I'd need some more information:
> > > the link to your .config is broken, I only get an empty page.
> > > if the kernel is involved, output of dmesg and rc.log would
> > > be needed to.
> > >
> > > by the way, did you anything with your ACCEPT_KEYWORDS?
> > > if not, the best thing would be set it simply ="" (and
> > > afterwards --update world, --depclean and revdep-rebuild),
> > > but that's up to you.
> > >
> > > please send me the requested information, otherwise it's
> > > difficult to find out what's wrong.
> > >
> >
> > Also, I've noticed that that radeon.ko autodetection configures it
> > as a RS780, whereas, according to motherboard documentation, it
> > should be RS880 (780G vs 785G).
> > This may be a reason for crashing, since the video card dies due to
> > being supplied bad microcode.
> >
>
> according to the gentoo manual, under "device drivers-graphics-
> support for framebufferdevices" you should uncheck
> -everything- except "enable video mode handling helpers".
> instead of uvesafb in the kernel parameters you may use
> "radeondrmfb", if anything at all.
>
> from the Xorg radeon page:
> "First of all check that you don't load radeonfb, uvesafb or vesafb
> module. This includes no vga parameters for kernel when using KMS.
> Console is provided by fbcon and radeondrmfb frame buffer console. So
> it is best to make sure that fbcon module is loaded"
>
> disabling vesa also should rid you of uvesa messages in Xorg.0.log.
>
> the rs880 and configuring as rs780 is indeed probably at the root
> of your troubles. seems that you got the wrong firmware. I have
> found other postings with the exact same problem, but as yet
> no clear solution. I'll see what I can find and let you know.
>
> regards, michael
>
>
if you haven't solved your problem already, there are two
possibilities you coud try:
one is using the Radeon R600-family RLC microcode: radeon/R600_rlc.bin
(without something else). this should include the rs880.
another option might be to download firmware-linux-nonfree from
http://packages.debian.org/de/squeeze/firmware-linux-nonfree
some people seem to have used it successfully, but I don't
know if it works on gentoo.
sorry that I can only guess on this, not having an rs880 myself.
isn't someone on gentoo users with a similar configuration who
could give you better advice?
regards, michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
2012-06-12 14:33 ` Michael Scherer
@ 2012-08-29 17:02 ` Andrey Moshbear
0 siblings, 0 replies; 9+ messages in thread
From: Andrey Moshbear @ 2012-08-29 17:02 UTC (permalink / raw
To: gentoo-user
On Tue, Jun 12, 2012 at 10:33 AM, Michael Scherer
<a6702894@unet.univie.ac.at> wrote:
> On Thu, 7 Jun 2012 16:18:02 +0200
> Michael Scherer <a6702894@unet.univie.ac.at> wrote:
>
>> On Thu, 7 Jun 2012 04:52:35 -0400
>> Andrey Moshbear <andrey.vul@gmail.com> wrote:
>>
>> > On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
>> > <a6702894@unet.univie.ac.at> wrote:
>> > > On Fri, 1 Jun 2012 04:11:35 -0400
>> > > Andrey Moshbear <andrey.vul@gmail.com> wrote:
>> > >
>> > >> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>> > >> <a6702894@unet.univie.ac.at> wrote:
>> > >> > ----- Original Message ----- From: "Andrey Moshbear"
>> > >> > <andrey.vul@gmail.com> To: "gentoo-user"
>> > >> > <gentoo-user@lists.gentoo.org> Sent: Tuesday, 22 May, 2012
>> > >> > 08:02 Subject: [gentoo-user] Issues with
>> > >> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware
>> > >> > >issue?
>> > >> >
>> > >> >
>> > >> >
>> > >> >> Lately, I've been having some issues with segfaults when
>> > >> >> running startx and it's been pretty persistent.
>> > >> >>
>> > >> >> Xorg.0.log and emerge --info are available at
>> > >> >> https://gist.github.com/2766926 .
>> > >> >> Kernel config is available at https://gist.github.com/276943 .
>> > >> >>
>> > >> >> I've tried downgrading, but
>> > >> >> <=x11-drivers/xf86-video-ati-6.14.2 fails to compile due to
>> > >> >> incomplete structs.
>> > >> >>
>> > >> >> Is this more a driver or a hardware issue?
>> > >> >>
>> > >> >
>> > >> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64
>> > >> > ~amd64". with ~amd64 you globally
>> > >> > allow all packages masked for amd64. unless you are a
>> > >> > developer/tester for gentoo you should remove
>> > >> > this keyword, because gentoo usually has good reasons to mask
>> > >> > some packages. if for some reason you
>> > >> > really need a masked package, you can do this easily only for
>> > >> > that package. global unmasking alone might be the reason for
>> > >> > half of your troubles.
>> > >> >
>> > >> > second, it is advisable to use kernel modesetting, which is
>> > >> > obviously not enabled. gentoo has a detailed
>> > >> > howto for this under
>> > >> > http://www.gentoo.org/doc/en/xorg-config.xml. this gives you
>> > >> > all necessary details.
>> > >> >
>> > >> > just a quick shot for the moment. your kernel config doesn't
>> > >> > under the link you give, I'd like to see that
>> > >> > too, and maybe /etc/X11/xorg.conf or the contents
>> > >> > of /etc/X11/xorg.conf.d, if you have any of these,
>> > >> >
>> > >> > regards, nichael
>> > >> >
>> > >> >
>> > >>
>> > >> Well, I added radeon drm & modesetting and the kernel is crashing
>> > >> right after the microcode is loaded, but without any signs of
>> > >> panic, be it flashing keyboard lights or kernel backtrace with
>> > >> register values.
>> > >>
>> > >> Also, the segfault was caused by the DRI code interpreting a DRI
>> > >> opcode as a pointer, hence 0xa4 or similar in the back trace.
>> > >>
>> > >> --
>> > >> m0shbear
>> > >>
>> > >
>> > > in any case, I'd need some more information:
>> > > the link to your .config is broken, I only get an empty page.
>> > > if the kernel is involved, output of dmesg and rc.log would
>> > > be needed to.
>> > >
>> > > by the way, did you anything with your ACCEPT_KEYWORDS?
>> > > if not, the best thing would be set it simply ="" (and
>> > > afterwards --update world, --depclean and revdep-rebuild),
>> > > but that's up to you.
>> > >
>> > > please send me the requested information, otherwise it's
>> > > difficult to find out what's wrong.
>> > >
>> >
>> > Also, I've noticed that that radeon.ko autodetection configures it
>> > as a RS780, whereas, according to motherboard documentation, it
>> > should be RS880 (780G vs 785G).
>> > This may be a reason for crashing, since the video card dies due to
>> > being supplied bad microcode.
>> >
>>
>> according to the gentoo manual, under "device drivers-graphics-
>> support for framebufferdevices" you should uncheck
>> -everything- except "enable video mode handling helpers".
>> instead of uvesafb in the kernel parameters you may use
>> "radeondrmfb", if anything at all.
>>
>> from the Xorg radeon page:
>> "First of all check that you don't load radeonfb, uvesafb or vesafb
>> module. This includes no vga parameters for kernel when using KMS.
>> Console is provided by fbcon and radeondrmfb frame buffer console. So
>> it is best to make sure that fbcon module is loaded"
>>
>> disabling vesa also should rid you of uvesa messages in Xorg.0.log.
>>
>> the rs880 and configuring as rs780 is indeed probably at the root
>> of your troubles. seems that you got the wrong firmware. I have
>> found other postings with the exact same problem, but as yet
>> no clear solution. I'll see what I can find and let you know.
>>
>>
>
> if you haven't solved your problem already, there are two
> possibilities you coud try:
> one is using the Radeon R600-family RLC microcode: radeon/R600_rlc.bin
> (without something else). this should include the rs880.
> another option might be to download firmware-linux-nonfree from
> http://packages.debian.org/de/squeeze/firmware-linux-nonfree
> some people seem to have used it successfully, but I don't
> know if it works on gentoo.
>
> sorry that I can only guess on this, not having an rs880 myself.
> isn't someone on gentoo users with a similar configuration who
> could give you better advice?
>
Interesting updates:
1) RS780 is the proper firmwareset, as evidenced by knoppix.
2) In 3.5.2, while it appears to hang after loading firmware,
<Alt><SysRq>R keeps the process flowing along. I will say this -
switching between vt and X in the kms radeon driver is a *** of a lot
faster than in the nvidia blob.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-08-29 17:04 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 6:02 [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue? Andrey Moshbear
2012-05-23 15:12 ` Michael Scherer
2012-06-01 8:11 ` Andrey Moshbear
2012-06-05 15:41 ` Michael Scherer
2012-06-07 8:29 ` Andrey Moshbear
2012-06-07 8:52 ` Andrey Moshbear
2012-06-07 14:18 ` Michael Scherer
2012-06-12 14:33 ` Michael Scherer
2012-08-29 17:02 ` Andrey Moshbear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox