Re: [gentoo-user] ARCH is not set

2017-09-30 Thread IceAmber
No, I cannot find the make.default in the profile directory

On Sat, Sep 30, 2017 at 1:36 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

>
>
> On Fri, Sep 29, 2017 at 3:48 PM, IceAmber <iceamber2...@gmail.com> wrote:
>
>> Hi, everyone
>>
>> I have a problem when updating my system
>>
>>  * ARCH is not set... Are you missing the '/etc/portage/make.profile'
>>  * symlink? Is the symlink correct? Is your portage tree complete?
>>
>> and the symlink of '/etc/portage/make.profile' is
>>
>> # ls -l /etc/portage/make.profile
>> lrwxrwxrwx 1 root root 59 7  13 2016 /etc/portage/make.profile ->
>> ../../usr/portage/profiles/default/linux/amd64/13.0/desktop
>>
>> any suggestions?
>>
>>
>>
>>
> Do you have make.defaults in the profile directory for your architecture?
> As this is where ARCH is set.
>
> grep ^ARCH /usr/portage/profiles/arch/amd64/make.defaults
> ARCH="amd64"
>


Re: [gentoo-user] ARCH is not set

2017-09-29 Thread IceAmber
yes, it exists.

On Sat, Sep 30, 2017 at 4:32 AM, Alan McKinnon <alan.mckin...@gmail.com>
wrote:

> On 29/09/2017 14:48, IceAmber wrote:
> > Hi, everyone
> >
> > I have a problem when updating my system
> >
> >  * ARCH is not set... Are you missing the '/etc/portage/make.profile'
> >  * symlink? Is the symlink correct? Is your portage tree complete?
> >
> > and the symlink of '/etc/portage/make.profile' is
> >
> > # ls -l /etc/portage/make.profile
> > lrwxrwxrwx 1 root root 59 7  13 2016 /etc/portage/make.profile ->
> > ../../usr/portage/profiles/default/linux/amd64/13.0/desktop
> >
> > any suggestions?
> >
> >
> >
>
> Does
> /usr/portage/profiles/default/linux/amd64/13.0/desktop
> exist?
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>


[gentoo-user] ARCH is not set

2017-09-29 Thread IceAmber
Hi, everyone

I have a problem when updating my system

 * ARCH is not set... Are you missing the '/etc/portage/make.profile'
 * symlink? Is the symlink correct? Is your portage tree complete?

and the symlink of '/etc/portage/make.profile' is

# ls -l /etc/portage/make.profile
lrwxrwxrwx 1 root root 59 7  13 2016 /etc/portage/make.profile ->
../../usr/portage/profiles/default/linux/amd64/13.0/desktop

any suggestions?


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

2017-08-29 Thread IceAmber
thank you all the same. I'll try to fix it if possible

On Tue, Aug 29, 2017 at 3:14 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Tue, Aug 29, 2017 at 5:58 PM, IceAmber <iceamber2...@gmail.com> wrote:
> > yes, I have in the video group.
> >
> > the version of mesa is
> >
> >media-libs/mesa
> >   Latest version available: 17.0.6
> >   Latest version installed: 17.0.6
> >   Size of files: 9,273 KiB
> >   Homepage:  https://www.mesa3d.org/
> https://mesa.freedesktop.org/
> >   Description:   OpenGL-like graphic library for Linux
> >   License:   MIT
> >
> > this is the first time to use the nouveau driver, I used the AMD video
> card,
> > the model was HD6580, and the driver was radeon before.
> >
> >
> > On Tue, Aug 29, 2017 at 2:28 PM, Alexander Kapshuk
> > <alexander.kaps...@gmail.com> wrote:
> >>
> >> On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
> >> <alexander.kaps...@gmail.com> wrote:
> >> > On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> >> > <alexander.kaps...@gmail.com> wrote:
> >> >> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2...@gmail.com>
> >> >> wrote:
> >> >>> here is the result
> >> >>>
> >> >>> iceamber@localhost:~ $ lsmod | grep nouveau
> >> >>> nouveau  1507328  2
> >> >>> i2c_algo_bit   16384  1 nouveau
> >> >>> drm_kms_helper118784  1 nouveau
> >> >>> ttm77824  1 nouveau
> >> >>> drm   282624  5 nouveau,ttm,drm_kms_helper
> >> >>> agpgart32768  3 nouveau,ttm,drm
> >> >>> led_class  16384  3 input_leds,hid_sony,nouveau
> >> >>>
> >> >>>
> >> >>
> >> >> Your nouveau kernel driver seems to be OK. That's good news.
> >> >> The bad news is we're back to square one.
> >> >>
> >> >> It was glxinfo, which is a part of x11-apps/mesa-progs, that
> generated
> >> >> the original error message.
> >> >> So, perhaps, it is a mesa problem.
> >> >>
> >> >> Can you please try this command line and see what it outputs:
> >> >> LIBGL_DEBUG=verbose glxgears
> >> >
> >> > This reference may help better debug your problem:
> >> > https://nouveau.freedesktop.org/wiki/MesaDrivers/
> >>
> >> The Mesa drivers wiki page above says:
> >>
> >> nv50 and nvc0
> >>
> >> Make sure you are using at least Mesa 7.11, but please consider using
> >> latest stable release. You have to use at least the 2.6.38 kernel or
> >> you will encounter memory corruptions. For nvc0 hardware it's
> >> recommended to use at least kernel 3.1.
> >>
> >> Bug reports for nv50 and nvc0 can be submitted by following the
> >> general reporting guidelines. Please, also follow the About bugs and
> >> problems section above.
> >>
> >> What version is your media-libs/mesa?
> >>
> >> Is this the first time you've run into this trouble using the nouveau
> >> driver?
> >> What driver did you use before with this piece of hardware proprietary
> >> nvidia one, or nouveau?
> >>
> >
>
> I don't have any further suggestions to make at the moment. Sorry.
> Hopefully, someone else might be able to help.
>
>


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

2017-08-29 Thread IceAmber
yes, I have in the video group.

the version of mesa is

   media-libs/mesa
  Latest version available: 17.0.6
  Latest version installed: 17.0.6
  Size of files: 9,273 KiB
  Homepage:  https://www.mesa3d.org/ https://mesa.freedesktop.org/
  Description:   OpenGL-like graphic library for Linux
  License:   MIT

this is the first time to use the nouveau driver, I used the AMD video
card, the model was HD6580, and the driver was radeon before.


On Tue, Aug 29, 2017 at 2:28 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
> <alexander.kaps...@gmail.com> wrote:
> > On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> > <alexander.kaps...@gmail.com> wrote:
> >> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >>> here is the result
> >>>
> >>> iceamber@localhost:~ $ lsmod | grep nouveau
> >>> nouveau  1507328  2
> >>> i2c_algo_bit   16384  1 nouveau
> >>> drm_kms_helper118784  1 nouveau
> >>> ttm77824  1 nouveau
> >>> drm   282624  5 nouveau,ttm,drm_kms_helper
> >>> agpgart32768  3 nouveau,ttm,drm
> >>> led_class  16384  3 input_leds,hid_sony,nouveau
> >>>
> >>>
> >>
> >> Your nouveau kernel driver seems to be OK. That's good news.
> >> The bad news is we're back to square one.
> >>
> >> It was glxinfo, which is a part of x11-apps/mesa-progs, that generated
> >> the original error message.
> >> So, perhaps, it is a mesa problem.
> >>
> >> Can you please try this command line and see what it outputs:
> >> LIBGL_DEBUG=verbose glxgears
> >
> > This reference may help better debug your problem:
> > https://nouveau.freedesktop.org/wiki/MesaDrivers/
>
> The Mesa drivers wiki page above says:
>
> nv50 and nvc0
>
> Make sure you are using at least Mesa 7.11, but please consider using
> latest stable release. You have to use at least the 2.6.38 kernel or
> you will encounter memory corruptions. For nvc0 hardware it's
> recommended to use at least kernel 3.1.
>
> Bug reports for nv50 and nvc0 can be submitted by following the
> general reporting guidelines. Please, also follow the About bugs and
> problems section above.
>
> What version is your media-libs/mesa?
>
> Is this the first time you've run into this trouble using the nouveau
> driver?
> What driver did you use before with this piece of hardware proprietary
> nvidia one, or nouveau?
>
>


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

2017-08-29 Thread IceAmber
here is the outputs

iceamber@localhost:~ $ LIBGL_DEBUG=verbose glxgears
libGL: OpenDriver: trying /usr/lib64/dri/tls/nouveau_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/nouveau_dri.so
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
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/iceamber/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/iceamber/.drirc: No such file or
directory.


On Tue, Aug 29, 2017 at 9:35 AM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> <alexander.kaps...@gmail.com> wrote:
> > On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >> here is the result
> >>
> >> iceamber@localhost:~ $ lsmod | grep nouveau
> >> nouveau  1507328  2
> >> i2c_algo_bit   16384  1 nouveau
> >> drm_kms_helper118784  1 nouveau
> >> ttm77824  1 nouveau
> >> drm   282624  5 nouveau,ttm,drm_kms_helper
> >> agpgart32768  3 nouveau,ttm,drm
> >> led_class  16384  3 input_leds,hid_sony,nouveau
> >>
> >>
> >
> > Your nouveau kernel driver seems to be OK. That's good news.
> > The bad news is we're back to square one.
> >
> > It was glxinfo, which is a part of x11-apps/mesa-progs, that generated
> > the original error message.
> > So, perhaps, it is a mesa problem.
> >
> > Can you please try this command line and see what it outputs:
> > LIBGL_DEBUG=verbose glxgears
>
> This reference may help better debug your problem:
> https://nouveau.freedesktop.org/wiki/MesaDrivers/
>
>


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

2017-08-28 Thread IceAmber
here is the result

iceamber@localhost:~ $ lsmod | grep nouveau
nouveau  1507328  2
i2c_algo_bit   16384  1 nouveau
drm_kms_helper118784  1 nouveau
ttm77824  1 nouveau
drm   282624  5 nouveau,ttm,drm_kms_helper
agpgart32768  3 nouveau,ttm,drm
led_class  16384  3 input_leds,hid_sony,nouveau


On Mon, Aug 28, 2017 at 3:11 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

>
>
> On Aug 28, 2017 17:57, "Alexander Kapshuk" <alexander.kaps...@gmail.com>
> wrote:
>
> On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2...@gmail.com> wrote:
> > `du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//'` as the
> > same result
> >
> > On Mon, Aug 28, 2017 at 2:36 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >>
> >> the result is
> >> iceamber@localhost:~ $ modinfo nouveau | grep filename
> >> filename:
> >> /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/nouveau.ko
> >>
> >> On Mon, Aug 28, 2017 at 2:17 PM, David Abbott <dabb...@gentoo.org>
> wrote:
> >>>
> >>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2...@gmail.com>
> >>> wrote:
> >>> > so, what should I do to locate the driver?
> >>> >
> >>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> >>> > <alexander.kaps...@gmail.com> wrote:
> >>> >>
> >>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2...@gmail.com>
> >>> >> wrote:
> >>> >> > No, the error still there.
> >>> >> > And the script `modinfo /lib/modules/`uname
> -r`/path/to/nouveau.ko`
> >>> >> > shows
> >>> >> > iceamber@localhost:~ $ modinfo /lib/modules/`uname
> >>> >> > -r`/path/to/nouveau.ko
> >>> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/pat
> h/to/nouveau.ko
> >>> >> > not
> >>> >> > found.
> >>> >> >
> >>> >>
> >>> >> Note: 'path/to' in 'modinfo /lib/modules/`uname
> >>> >> -r`/path/to/nouveau.ko' above needs substituting for the path to
> your
> >>> >> nouveau.ko driver. Try locating it and rerun modinfo on it.
> >>> >> Alternatively, you could try compiling nouveau into the kernel by
> >>> >> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps.
> >>> >>
> >>> >
> >>>
> >>> try;
> >>> modinfo nouveau | grep filename
> >>>
> >>
> >
> Now run:
> modinfo /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/
> nouveau.ko
>
>
> To make 100 per cent certain your driver is loaded, can you also run:
> lsmod | grep nouveau
>
>


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

2017-08-28 Thread IceAmber
here is the result
<https://paste.pound-python.org/show/hvfHvZoVr89Li2FcR6CZ/>

On Mon, Aug 28, 2017 at 2:57 PM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2...@gmail.com> wrote:
> > `du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//'` as the
> > same result
> >
> > On Mon, Aug 28, 2017 at 2:36 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >>
> >> the result is
> >> iceamber@localhost:~ $ modinfo nouveau | grep filename
> >> filename:
> >> /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/nouveau.ko
> >>
> >> On Mon, Aug 28, 2017 at 2:17 PM, David Abbott <dabb...@gentoo.org>
> wrote:
> >>>
> >>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2...@gmail.com>
> >>> wrote:
> >>> > so, what should I do to locate the driver?
> >>> >
> >>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> >>> > <alexander.kaps...@gmail.com> wrote:
> >>> >>
> >>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2...@gmail.com>
> >>> >> wrote:
> >>> >> > No, the error still there.
> >>> >> > And the script `modinfo /lib/modules/`uname
> -r`/path/to/nouveau.ko`
> >>> >> > shows
> >>> >> > iceamber@localhost:~ $ modinfo /lib/modules/`uname
> >>> >> > -r`/path/to/nouveau.ko
> >>> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/
> path/to/nouveau.ko
> >>> >> > not
> >>> >> > found.
> >>> >> >
> >>> >>
> >>> >> Note: 'path/to' in 'modinfo /lib/modules/`uname
> >>> >> -r`/path/to/nouveau.ko' above needs substituting for the path to
> your
> >>> >> nouveau.ko driver. Try locating it and rerun modinfo on it.
> >>> >> Alternatively, you could try compiling nouveau into the kernel by
> >>> >> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps.
> >>> >>
> >>> >
> >>>
> >>> try;
> >>> modinfo nouveau | grep filename
> >>>
> >>
> >
> Now run:
> modinfo /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/
> nouveau/nouveau.ko
>
>


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

2017-08-28 Thread IceAmber
`du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//'` as the
same result

On Mon, Aug 28, 2017 at 2:36 PM, IceAmber <iceamber2...@gmail.com> wrote:

> the result is
> iceamber@localhost:~ $ modinfo nouveau | grep filename
> filename:   /lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/
> nouveau/nouveau.ko
>
> On Mon, Aug 28, 2017 at 2:17 PM, David Abbott <dabb...@gentoo.org> wrote:
>
>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2...@gmail.com>
>> wrote:
>> > so, what should I do to locate the driver?
>> >
>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>> > <alexander.kaps...@gmail.com> wrote:
>> >>
>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2...@gmail.com>
>> wrote:
>> >> > No, the error still there.
>> >> > And the script `modinfo /lib/modules/`uname -r`/path/to/nouveau.ko`
>> >> > shows
>> >> > iceamber@localhost:~ $ modinfo /lib/modules/`uname
>> >> > -r`/path/to/nouveau.ko
>> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/path/to/nouveau.ko
>> not
>> >> > found.
>> >> >
>> >>
>> >> Note: 'path/to' in 'modinfo /lib/modules/`uname
>> >> -r`/path/to/nouveau.ko' above needs substituting for the path to your
>> >> nouveau.ko driver. Try locating it and rerun modinfo on it.
>> >> Alternatively, you could try compiling nouveau into the kernel by
>> >> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps.
>> >>
>> >
>>
>> try;
>> modinfo nouveau | grep filename
>>
>>
>


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

2017-08-28 Thread IceAmber
the result is
iceamber@localhost:~ $ modinfo nouveau | grep filename
filename:
/lib/modules/4.12.5-gentoo/kernel/drivers/gpu/drm/nouveau/nouveau.ko

On Mon, Aug 28, 2017 at 2:17 PM, David Abbott <dabb...@gentoo.org> wrote:

> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2...@gmail.com> wrote:
> > so, what should I do to locate the driver?
> >
> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> > <alexander.kaps...@gmail.com> wrote:
> >>
> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >> > No, the error still there.
> >> > And the script `modinfo /lib/modules/`uname -r`/path/to/nouveau.ko`
> >> > shows
> >> > iceamber@localhost:~ $ modinfo /lib/modules/`uname
> >> > -r`/path/to/nouveau.ko
> >> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/path/to/nouveau.ko
> not
> >> > found.
> >> >
> >>
> >> Note: 'path/to' in 'modinfo /lib/modules/`uname
> >> -r`/path/to/nouveau.ko' above needs substituting for the path to your
> >> nouveau.ko driver. Try locating it and rerun modinfo on it.
> >> Alternatively, you could try compiling nouveau into the kernel by
> >> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps.
> >>
> >
>
> try;
> modinfo nouveau | grep filename
>
>


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

2017-08-28 Thread IceAmber
so, what should I do to locate the driver?

On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk <
alexander.kaps...@gmail.com> wrote:

> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2...@gmail.com> wrote:
> > No, the error still there.
> > And the script `modinfo /lib/modules/`uname -r`/path/to/nouveau.ko` shows
> > iceamber@localhost:~ $ modinfo /lib/modules/`uname
> -r`/path/to/nouveau.ko
> > modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/path/to/nouveau.ko not
> > found.
> >
>
> Note: 'path/to' in 'modinfo /lib/modules/`uname
> -r`/path/to/nouveau.ko' above needs substituting for the path to your
> nouveau.ko driver. Try locating it and rerun modinfo on it.
> Alternatively, you could try compiling nouveau into the kernel by
> setting CONFIG_DRM_NOUVEAU=y, reboot and see if that helps.
>
>


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

2017-08-28 Thread IceAmber
No, the error still there.
And the script `modinfo /lib/modules/`uname -r`/path/to/nouveau.ko` shows
iceamber@localhost:~ $ modinfo /lib/modules/`uname -r`/path/to/nouveau.ko
modinfo: ERROR: Module /lib/modules/4.12.5-gentoo/path/to/nouveau.ko not
found.

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

> On Sun, Aug 27, 2017 at 8:24 PM, IceAmber <iceamber2...@gmail.com> 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
> > <alexander.kaps...@gmail.com> wrote:
> >>
> >> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
> >> <alexander.kaps...@gmail.com> wrote:
> >> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> >> > <alexander.kaps...@gmail.com> wrote:
> >> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2...@gmail.com>
> >> >> wrote:
> >> >>> I have tried, but the same result
> >> >>>
> >> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <
> adamcart...@gmail.com>
> >> >>> 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/*`
<https://paste.pound-python.org/show/PhfcfeZzzECTIEw15B3R/>

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
> <alexander.kaps...@gmail.com> wrote:
> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> > <alexander.kaps...@gmail.com> wrote:
> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2...@gmail.com>
> wrote:
> >>> I have tried, but the same result
> >>>
> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcart...@gmail.com>
> 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 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] 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 <adamcart...@gmail.com> 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
>> <https://github.com/IceAmber/Error/blob/master/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
<https://github.com/IceAmber/Error/blob/master/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


Re: [gentoo-user] Something wrong when emerging librime

2017-07-18 Thread IceAmber
I had solved it by unmask the version 1.2.9 of librime

On Tue, Jul 18, 2017 at 5:21 AM, Andrew Savchenko <birc...@gentoo.org>
wrote:

> Hi,
>
> On Mon, 17 Jul 2017 16:38:00 + IceAmber wrote:
> > Hi, everyone
> >
> > There is an error when I emerging the fcitx-rime.
> > Here is the build.log
> > <https://github.com/IceAmber/Error/blob/master/librime_build.log>
> > Is it the bug of c++ 11 ABI?
>
> This is not a C++11 ABI bug, see
> https://bugs.gentoo.org/show_bug.cgi?id=624370
>
> Just another compilation failure. I had not studied close what is
> wrong there, but likely some unhandled API change.
>
>
>
> Best regards,
> Andrew Savchenko
>


Re: [gentoo-user] Can't compile media-libs/mesa - do I need gallium?

2017-07-17 Thread IceAmber
Actually, this is the c++ 11 abi bug, read the news

And you can solve it by `revdep-rebuild --library 'libstdc++.so.6' --
--exclude gcc`

On Mon, Jul 17, 2017 at 5:02 PM, Mart Raudsepp  wrote:

> Ühel kenal päeval, E, 17.07.2017 kell 12:00, kirjutas Mart Raudsepp:
> > Ühel kenal päeval, E, 17.07.2017 kell 03:46, kirjutas Rasmus Thomsen:
> > > Hello,
> > >
> > > > undefined reference to
> > >
> > > `llvm::RTDyldMemoryManager::getSymbolAddressInProcess(std::__cxx11:
> > > :b
> > > asic_string , std::allocator > const&)'
> > >
> > > Seems to be the error, maybe you have to recompile llvm with c++11
> >
> > And without any VIDEO_CARDS set, you are only getting llvmpipe with
> > USE=llvm. If you don't need that with Xpra, you don't need that (and
> > USE=gallium). I'm not sure if Xpra can make use of it or not, but if
> > GL
> > is sent over the wire or something, then probably not at the server-
> > side.
> > What llvmpipe is is described here:
> > https://www.mesa3d.org/llvmpipe.html
>
> Actually to be fully correct, I believe USE=gallium might build more
> stuff even without any VIDEO_CARDS, e.g some state trackers and
> whatnot, but nothing useful to really make use of it if you don't have
> any VIDEO_CARDS for mesa or any other packages.
>
>
>


[gentoo-user] Something wrong when emerging librime

2017-07-17 Thread IceAmber
Hi, everyone

There is an error when I emerging the fcitx-rime.
Here is the build.log
<https://github.com/IceAmber/Error/blob/master/librime_build.log>
Is it the bug of c++ 11 ABI?
I had got a bug of c++ 11 ABI before, and solved by the command `revdep-rebuild
--library 'libstdc++.so.6' -- --exclude gcc`


Re: [gentoo-user] emerge update problem with blocking packages

2017-06-14 Thread IceAmber
I have the same problem several days ago, and solved it by reemerging the
blocking packages.

On Wed, Jun 14, 2017 at 1:38 PM, Uwe Haider  wrote:

>
>
> Am 14.06.2017 um 07:14 schrieb Quico Jurado:
> > Hello list!
> >
> > I'm trying to update @world, and I'm getting a problem with blocking
> > packages which I'm not sure if I understand. It looks like a circular
> > blocking problem, but not sure.
> >
> > Here's what emerge is telling me:
> >
> > [ebuild U  ] app-text/texlive-2016::gentoo [2015::gentoo] USE="X
> > context detex dvi2tty extra graphics humanities jadetex luatex omega png
> > pstricks publishers science tex4ht texi2html truetype xetex xindy xml
> > -cjk -epspdf -games -metapost -music -pdfannotextractor" L10N="-af -ar
> > -as -bg -bn -br -ca -cs -cy -da -de -el -en -en-GB -eo -es -et -eu -fa
> > -fi -fr -ga -gl -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kn -ko
> > -la -lo -lt -lv -ml -mn -mr -nb -nl -nn -no -or -pa -pl -pt -rm -ro -ru
> > -sa -sco -sk -sl -sq -sr -sv -ta -te -th -tk -tr -uk -vi -zh" 0 KiB
> > [blocks B  ]  > (" > dev-texlive/texlive-basic-2016)
> > [blocks B  ]  > (" > dev-texlive/texlive-latex-2016)
> > [blocks B  ]  > (" > dev-texlive/texlive-langgerman-2016, dev-texlive/texlive-
> langcyrillic-2016)
> > [blocks B  ]  > (" > dev-texlive/texlive-basic-2016)
> > [blocks B  ]  > (" > dev-texlive/texlive-basic-2016)
> > [blocks B  ]  > (" > dev-texlive/texlive-basic-2016)
> >
> > Total: 40 packages (36 upgrades, 1 new, 1 in new slot, 2 reinstalls, 2
> > uninstalls), Size of downloads: 500,112 KiB
> > Conflict: 9 blocks (6 unsatisfied)
> >
> >  * Error: The above package list contains packages which cannot be
> >  * installed at the same time on the same system.
> >
> >
> > And this is the update command that I'm running:
> >
> > emerge -uvaND --with-bdeps=y --backtrack=100 @world
> >
> > Any help is much appreciated.
> >
> > Cheers!
>
> Maybe you have an amd64? All texlive-packages are keyworded for amd64 ->
> try eix -I texlive to see 
>
> So you may use package.unmask to make it work
> --
> Uwe Haider
> uwe.hai...@gmx.net
>
>