Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Alexander Kapshuk
On Sun, Aug 27, 2017 at 8:24 PM, IceAmber  wrote:
> iceamber@localhost:~ $ grep NOUVEAU /usr/src/linux/.config
> CONFIG_DRM_NOUVEAU=m
> CONFIG_NOUVEAU_DEBUG=5
> CONFIG_NOUVEAU_DEBUG_DEFAULT=3
> CONFIG_DRM_NOUVEAU_BACKLIGHT=y
>
> iceamber@localhost:~ $ grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf
> VIDEO_CARDS="nouveau"
>
> here is the `grep -si nouveau /var/log/*`
>
> I have rebuilt the xorg-server, it is built for kernel 4.12.5 now.
> And I have set the USEs of "gallium" and "video_cards_nouveau"
>
> On Sun, Aug 27, 2017 at 4:54 PM, Alexander Kapshuk
>  wrote:
>>
>> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
>>  wrote:
>> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
>> >  wrote:
>> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber 
>> >> wrote:
>> >>> I have tried, but the same result
>> >>>
>> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter 
>> >>> wrote:
>> >
>> > yes, here is the eselect
>> 
>> 
>>  When i have X problems i can resolve i run emerge -av
>>  @x11-module-rebuild
>>  xorg-server mesa but its generally an act of desperation after
>>  running out
>>  of intelligent options.
>> >>>
>> >>>
>> >>
>> >> Your xorg-server was built for kernel 4.9.34.
>> >> [24.014] Build Operating System: Linux 4.9.34-gentoo x86_64 Gentoo
>> >> [24.014] Current Operating System: Linux localhost 4.12.5-gentoo
>> >> #10 SMP Sat Aug 26 13:15:20 UTC 2017 x86_64
>> >>
>> >> Might be a good idea to rebuild x11-base/xorg-server for your current
>> >> kernel.
>> >>
>> >> What's the output of the command lines below?
>> >> grep NOUVEAU linux/.config
>> >> grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf
>> >
>> > This one too please:
>> > grep -si nouveau /var/log/*
>>
>> Also, let's make sure mesa has the USE flags below enabled:
>>
>> equery -q u mesa | grep -E 'gallium|nouveau'
>> +gallium
>> +video_cards_nouveau
>>
>

I'm not seeing these errors in your Xorg.0.log any more:
[25.361] (EE) AIGLX error: Calling driver entry point failed
[25.375] (EE) AIGLX: reverting to software rendering

Are you still getting the error message about the nouveau driver not
being loaded when running glxinfo or glxgears?
If you are, what's the output of:
lsmod nouveau
modinfo /lib/modules/`uname -r`/path/to/nouveau.ko



Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread IceAmber
iceamber@localhost:~ $ grep NOUVEAU /usr/src/linux/.config
CONFIG_DRM_NOUVEAU=m
CONFIG_NOUVEAU_DEBUG=5
CONFIG_NOUVEAU_DEBUG_DEFAULT=3
CONFIG_DRM_NOUVEAU_BACKLIGHT=y

iceamber@localhost:~ $ grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf
VIDEO_CARDS="nouveau"

here is the `grep -si nouveau /var/log/*`


I have rebuilt the xorg-server, it is built for kernel 4.12.5 now.
And I have set the USEs of "gallium" and "video_cards_nouveau"

On Sun, Aug 27, 2017 at 4:54 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
>  wrote:
> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> >  wrote:
> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber 
> wrote:
> >>> I have tried, but the same result
> >>>
> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter 
> wrote:
> >
> > yes, here is the eselect
> 
> 
>  When i have X problems i can resolve i run emerge -av
> @x11-module-rebuild
>  xorg-server mesa but its generally an act of desperation after
> running out
>  of intelligent options.
> >>>
> >>>
> >>
> >> Your xorg-server was built for kernel 4.9.34.
> >> [24.014] Build Operating System: Linux 4.9.34-gentoo x86_64 Gentoo
> >> [24.014] Current Operating System: Linux localhost 4.12.5-gentoo
> >> #10 SMP Sat Aug 26 13:15:20 UTC 2017 x86_64
> >>
> >> Might be a good idea to rebuild x11-base/xorg-server for your current
> kernel.
> >>
> >> What's the output of the command lines below?
> >> grep NOUVEAU linux/.config
> >> grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf
> >
> > This one too please:
> > grep -si nouveau /var/log/*
>
> Also, let's make sure mesa has the USE flags below enabled:
>
> equery -q u mesa | grep -E 'gallium|nouveau'
> +gallium
> +video_cards_nouveau
>
>


Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Alexander Kapshuk
On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
 wrote:
> On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
>  wrote:
>> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber  wrote:
>>> I have tried, but the same result
>>>
>>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter  wrote:
>
> yes, here is the eselect


 When i have X problems i can resolve i run emerge -av @x11-module-rebuild
 xorg-server mesa but its generally an act of desperation after running out
 of intelligent options.
>>>
>>>
>>
>> Your xorg-server was built for kernel 4.9.34.
>> [24.014] Build Operating System: Linux 4.9.34-gentoo x86_64 Gentoo
>> [24.014] Current Operating System: Linux localhost 4.12.5-gentoo
>> #10 SMP Sat Aug 26 13:15:20 UTC 2017 x86_64
>>
>> Might be a good idea to rebuild x11-base/xorg-server for your current kernel.
>>
>> What's the output of the command lines below?
>> grep NOUVEAU linux/.config
>> grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf
>
> This one too please:
> grep -si nouveau /var/log/*

Also, let's make sure mesa has the USE flags below enabled:

equery -q u mesa | grep -E 'gallium|nouveau'
+gallium
+video_cards_nouveau



Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Alexander Kapshuk
On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
 wrote:
> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber  wrote:
>> I have tried, but the same result
>>
>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter  wrote:

 yes, here is the eselect
>>>
>>>
>>> When i have X problems i can resolve i run emerge -av @x11-module-rebuild
>>> xorg-server mesa but its generally an act of desperation after running out
>>> of intelligent options.
>>
>>
>
> Your xorg-server was built for kernel 4.9.34.
> [24.014] Build Operating System: Linux 4.9.34-gentoo x86_64 Gentoo
> [24.014] Current Operating System: Linux localhost 4.12.5-gentoo
> #10 SMP Sat Aug 26 13:15:20 UTC 2017 x86_64
>
> Might be a good idea to rebuild x11-base/xorg-server for your current kernel.
>
> What's the output of the command lines below?
> grep NOUVEAU linux/.config
> grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf

This one too please:
grep -si nouveau /var/log/*



Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Alexander Kapshuk
On Sun, Aug 27, 2017 at 2:27 PM, IceAmber  wrote:
> I have tried, but the same result
>
> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter  wrote:
>>>
>>> yes, here is the eselect
>>
>>
>> When i have X problems i can resolve i run emerge -av @x11-module-rebuild
>> xorg-server mesa but its generally an act of desperation after running out
>> of intelligent options.
>
>

Your xorg-server was built for kernel 4.9.34.
[24.014] Build Operating System: Linux 4.9.34-gentoo x86_64 Gentoo
[24.014] Current Operating System: Linux localhost 4.12.5-gentoo
#10 SMP Sat Aug 26 13:15:20 UTC 2017 x86_64

Might be a good idea to rebuild x11-base/xorg-server for your current kernel.

What's the output of the command lines below?
grep NOUVEAU linux/.config
grep -E 'nvidia|VIDEO_CARDS' /etc/portage/make.conf



Re: [gentoo-user] Ryzen seg fault issue fixed

2017-08-27 Thread Alan Mackenzie
Hello, Rich.

On Sun, Aug 27, 2017 at 08:23:48 -0400, Rich Freeman wrote:
> On Sun, Aug 27, 2017 at 7:03 AM, Alan Mackenzie  wrote:

> > On Fri, Aug 25, 2017 at 15:46:31 +1000, Adam Carter wrote:
> >> FYI, you should be able to return your CPU for a fixed one now.

> >> http://www.phoronix.com/scan.php?page=article&item=new-ryzen-fixed&num=1

> > Thanks for that.  I wasn't actually aware anybody else was suffering
> > from this.

> > I've had quite a few build failures with segmentation faults, always (as
> > far as I can tell) while building .lo files.  Initially, I suspected the
> > RAM, but memtest presented a clean bill of health after several hours
> > testing.

> > It's going to be a pain and a half taking my PC to bits to extract the
> > processor, but I suppose it's got to be done.  ;-(


> Does anybody know if AMD is doing advance returns of the defective
> CPUs (ie they send the replacement CPU before receiving the original
> back, typically with a hold on a credit card)?  Mine also fails the
> gcc test, though I don't think I've encountered the issue yet in
> routine use (I suspect it is only a matter of time and it is only a
> week old).  I really don't want to be without a CPU for weeks on end.

I bought mine from a shop (along with all the other components) in
person, and paid in cash.  Everything, bar the case, fitted into my
rucksack.  That case was getting darned heavy by the time I'd walked home
with it.  ;-(

Presumable the -j17 setting has something to do with those seg faults.

I'm hoping the shop will be able to get me a replacement before I have to
return the defective processor to them.  We'll see.

> -- 
> Rich

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Ryzen seg fault issue fixed

2017-08-27 Thread Rich Freeman
On Sun, Aug 27, 2017 at 7:03 AM, Alan Mackenzie  wrote:
>
> On Fri, Aug 25, 2017 at 15:46:31 +1000, Adam Carter wrote:
>> FYI, you should be able to return your CPU for a fixed one now.
>
>> http://www.phoronix.com/scan.php?page=article&item=new-ryzen-fixed&num=1
>
> Thanks for that.  I wasn't actually aware anybody else was suffering
> from this.
>
> I've had quite a few build failures with segmentation faults, always (as
> far as I can tell) while building .lo files.  Initially, I suspected the
> RAM, but memtest presented a clean bill of health after several hours
> testing.
>
> It's going to be a pain and a half taking my PC to bits to extract the
> processor, but I suppose it's got to be done.  ;-(
>

Does anybody know if AMD is doing advance returns of the defective
CPUs (ie they send the replacement CPU before receiving the original
back, typically with a hold on a credit card)?  Mine also fails the
gcc test, though I don't think I've encountered the issue yet in
routine use (I suspect it is only a matter of time and it is only a
week old).  I really don't want to be without a CPU for weeks on end.


-- 
Rich



Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread IceAmber
I have tried, but the same result

On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter  wrote:

> yes, here is the eselect
>>
>
> When i have X problems i can resolve i run emerge -av @x11-module-rebuild
> xorg-server mesa but its generally an act of desperation after running out
> of intelligent options.
>


Re: [gentoo-user] Ryzen seg fault issue fixed

2017-08-27 Thread Alan Mackenzie
Hello, Adam.

On Fri, Aug 25, 2017 at 15:46:31 +1000, Adam Carter wrote:
> FYI, you should be able to return your CPU for a fixed one now.

> http://www.phoronix.com/scan.php?page=article&item=new-ryzen-fixed&num=1

Thanks for that.  I wasn't actually aware anybody else was suffering
from this.

I've had quite a few build failures with segmentation faults, always (as
far as I can tell) while building .lo files.  Initially, I suspected the
RAM, but memtest presented a clean bill of health after several hours
testing.

It's going to be a pain and a half taking my PC to bits to extract the
processor, but I suppose it's got to be done.  ;-(

Thanks again!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Adam Carter
>
> yes, here is the eselect
>

When i have X problems i can resolve i run emerge -av @x11-module-rebuild
xorg-server mesa but its generally an act of desperation after running out
of intelligent options.


Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread IceAmber
yes, here is the eselect
>
>

iceamber@localhost:~ $ eselect opengl list

Available OpenGL implementations:

  [1]   xorg-x11 *



iceamber@localhost:~ $ eselect mesa list
>
> 64bit i915 (Intel 915, 945)
>
> 64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
>
> 64bit r300 (Radeon R300-R500)
>
> 64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
>
> 64bit sw (Software renderer)
>
>   [1]   classic
>
>   [2]   gallium *
>
> 32bit i915 (Intel 915, 945)
>
> 32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
>
> 32bit r300 (Radeon R300-R500)
>
> 32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
>
> 32bit sw (Software renderer)
>
>   [1]   classic
>
>   [2]   gallium *
>
>
>
On Sun, Aug 27, 2017 at 9:52 AM, Adam Carter  wrote:

> There is an error in my system, it print as follow when I run the command
>> `glxinfo | grep AGP`
>>
>>> iceamber@localhost:~ $ glxinfo | grep AGP
>>>
>>> nvc0_screen_create:944 - Error allocating PGRAPH context for 3D: -22
>>>
>>> libGL error: failed to create dri screen
>>>
>>> libGL error: failed to load driver: nouveau
>>>
>>>
>> Here is the Xorg.0.log
>> 
>> The model of my graphic card is GTX1060, and the kernel version of my
>> system is linux-4.12.5
>> is there any suggestion for me?
>>
>>
> Did you eselect opengl and mesa?
>
>


Re: [gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread Adam Carter
>
> There is an error in my system, it print as follow when I run the command
> `glxinfo | grep AGP`
>
>> iceamber@localhost:~ $ glxinfo | grep AGP
>>
>> nvc0_screen_create:944 - Error allocating PGRAPH context for 3D: -22
>>
>> libGL error: failed to create dri screen
>>
>> libGL error: failed to load driver: nouveau
>>
>>
> Here is the Xorg.0.log
> 
> The model of my graphic card is GTX1060, and the kernel version of my
> system is linux-4.12.5
> is there any suggestion for me?
>
>
Did you eselect opengl and mesa?


[gentoo-user] Failed to load driver: Nouveau

2017-08-27 Thread IceAmber
Hi, everyone

There is an error in my system, it print as follow when I run the command
`glxinfo | grep AGP`

> iceamber@localhost:~ $ glxinfo | grep AGP
>
> nvc0_screen_create:944 - Error allocating PGRAPH context for 3D: -22
>
> libGL error: failed to create dri screen
>
> libGL error: failed to load driver: nouveau
>
>
Here is the Xorg.0.log

The model of my graphic card is GTX1060, and the kernel version of my
system is linux-4.12.5
is there any suggestion for me?


Thank you & Nice Weekend
Ice Amber