public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Failed to load driver: Nouveau
@ 2017-08-27  8:23 IceAmber
  2017-08-27  9:52 ` Adam Carter
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-27  8:23 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1462 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27  8:23 [gentoo-user] Failed to load driver: Nouveau IceAmber
@ 2017-08-27  9:52 ` Adam Carter
  2017-08-27  9:57   ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Adam Carter @ 2017-08-27  9:52 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

>
> 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?

[-- Attachment #2: Type: text/html, Size: 1576 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27  9:52 ` Adam Carter
@ 2017-08-27  9:57   ` IceAmber
  2017-08-27 10:04     ` Adam Carter
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-27  9:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]

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 <adamcarter3@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?
>
>

[-- Attachment #2: Type: text/html, Size: 5312 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27  9:57   ` IceAmber
@ 2017-08-27 10:04     ` Adam Carter
  2017-08-27 11:27       ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Adam Carter @ 2017-08-27 10:04 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

>
> 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.

[-- Attachment #2: Type: text/html, Size: 512 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 10:04     ` Adam Carter
@ 2017-08-27 11:27       ` IceAmber
  2017-08-27 14:45         ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-27 11:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

I have tried, but the same result

On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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.
>

[-- Attachment #2: Type: text/html, Size: 965 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 11:27       ` IceAmber
@ 2017-08-27 14:45         ` Alexander Kapshuk
  2017-08-27 14:49           ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-27 14:45 UTC (permalink / raw
  To: Gentoo mailing list

On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com> wrote:
> I have tried, but the same result
>
> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 14:45         ` Alexander Kapshuk
@ 2017-08-27 14:49           ` Alexander Kapshuk
  2017-08-27 16:54             ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-27 14:49 UTC (permalink / raw
  To: Gentoo mailing list

On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
<alexander.kapshuk@gmail.com> wrote:
> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com> wrote:
>> I have tried, but the same result
>>
>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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/*


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 14:49           ` Alexander Kapshuk
@ 2017-08-27 16:54             ` Alexander Kapshuk
  2017-08-27 17:24               ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-27 16:54 UTC (permalink / raw
  To: Gentoo mailing list

On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
<alexander.kapshuk@gmail.com> wrote:
> On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
>> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com> wrote:
>>> I have tried, but the same result
>>>
>>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 16:54             ` Alexander Kapshuk
@ 2017-08-27 17:24               ` IceAmber
  2017-08-27 17:59                 ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-27 17:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1955 bytes --]

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.kapshuk@gmail.com> wrote:

> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> > <alexander.kapshuk@gmail.com> wrote:
> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com>
> wrote:
> >>> I have tried, but the same result
> >>>
> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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
>
>

[-- Attachment #2: Type: text/html, Size: 3123 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 17:24               ` IceAmber
@ 2017-08-27 17:59                 ` Alexander Kapshuk
  2017-08-28 11:41                   ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-27 17:59 UTC (permalink / raw
  To: Gentoo mailing list

On Sun, Aug 27, 2017 at 8:24 PM, IceAmber <iceamber2015@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.kapshuk@gmail.com> wrote:
>>
>> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
>> <alexander.kapshuk@gmail.com> wrote:
>> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
>> > <alexander.kapshuk@gmail.com> wrote:
>> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com>
>> >> wrote:
>> >>> I have tried, but the same result
>> >>>
>> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <adamcarter3@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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-27 17:59                 ` Alexander Kapshuk
@ 2017-08-28 11:41                   ` IceAmber
  2017-08-28 11:48                     ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-28 11:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2956 bytes --]

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.kapshuk@gmail.com> wrote:

> On Sun, Aug 27, 2017 at 8:24 PM, IceAmber <iceamber2015@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.kapshuk@gmail.com> wrote:
> >>
> >> On Sun, Aug 27, 2017 at 5:49 PM, Alexander Kapshuk
> >> <alexander.kapshuk@gmail.com> wrote:
> >> > On Sun, Aug 27, 2017 at 5:45 PM, Alexander Kapshuk
> >> > <alexander.kapshuk@gmail.com> wrote:
> >> >> On Sun, Aug 27, 2017 at 2:27 PM, IceAmber <iceamber2015@gmail.com>
> >> >> wrote:
> >> >>> I have tried, but the same result
> >> >>>
> >> >>> On Sun, Aug 27, 2017 at 10:04 AM, Adam Carter <
> adamcarter3@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
>
>

[-- Attachment #2: Type: text/html, Size: 4573 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 11:41                   ` IceAmber
@ 2017-08-28 11:48                     ` Alexander Kapshuk
  2017-08-28 14:00                       ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-28 11:48 UTC (permalink / raw
  To: Gentoo mailing list

On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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.


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 11:48                     ` Alexander Kapshuk
@ 2017-08-28 14:00                       ` IceAmber
  2017-08-28 14:13                         ` Alexander Kapshuk
  2017-08-28 14:17                         ` David Abbott
  0 siblings, 2 replies; 30+ messages in thread
From: IceAmber @ 2017-08-28 14:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

so, what should I do to locate the driver?

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

> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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.
>
>

[-- Attachment #2: Type: text/html, Size: 1264 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:00                       ` IceAmber
@ 2017-08-28 14:13                         ` Alexander Kapshuk
  2017-08-28 14:17                         ` David Abbott
  1 sibling, 0 replies; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-28 14:13 UTC (permalink / raw
  To: Gentoo mailing list

On Mon, Aug 28, 2017 at 5:00 PM, IceAmber <iceamber2015@gmail.com> wrote:
> so, what should I do to locate the driver?
>
> On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
>>
>> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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.
>>
>
du -a /lib/modules/`uname -r`/ | sed '/nouveau.ko$/!d;s/.*\t//'


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:00                       ` IceAmber
  2017-08-28 14:13                         ` Alexander Kapshuk
@ 2017-08-28 14:17                         ` David Abbott
  2017-08-28 14:36                           ` IceAmber
  2017-09-06 22:46                           ` Marc Joliet
  1 sibling, 2 replies; 30+ messages in thread
From: David Abbott @ 2017-08-28 14:17 UTC (permalink / raw
  To: PR Gentoo

On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com> wrote:
> so, what should I do to locate the driver?
>
> On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
>>
>> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:17                         ` David Abbott
@ 2017-08-28 14:36                           ` IceAmber
  2017-08-28 14:38                             ` IceAmber
  2017-09-06 22:46                           ` Marc Joliet
  1 sibling, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-28 14:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]

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 <dabbott@gentoo.org> wrote:

> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com> wrote:
> > so, what should I do to locate the driver?
> >
> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> > <alexander.kapshuk@gmail.com> wrote:
> >>
> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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
>
>

[-- Attachment #2: Type: text/html, Size: 2026 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:36                           ` IceAmber
@ 2017-08-28 14:38                             ` IceAmber
  2017-08-28 14:57                               ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-28 14:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

`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 <iceamber2015@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 <dabbott@gentoo.org> wrote:
>
>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
>> wrote:
>> > so, what should I do to locate the driver?
>> >
>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>> > <alexander.kapshuk@gmail.com> wrote:
>> >>
>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2684 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:38                             ` IceAmber
@ 2017-08-28 14:57                               ` Alexander Kapshuk
  2017-08-28 15:09                                 ` IceAmber
  2017-08-28 15:11                                 ` Alexander Kapshuk
  0 siblings, 2 replies; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-28 14:57 UTC (permalink / raw
  To: Gentoo mailing list

On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2015@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 <iceamber2015@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 <dabbott@gentoo.org> wrote:
>>>
>>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
>>> wrote:
>>> > so, what should I do to locate the driver?
>>> >
>>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>>> > <alexander.kapshuk@gmail.com> wrote:
>>> >>
>>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:57                               ` Alexander Kapshuk
@ 2017-08-28 15:09                                 ` IceAmber
  2017-08-28 15:11                                 ` Alexander Kapshuk
  1 sibling, 0 replies; 30+ messages in thread
From: IceAmber @ 2017-08-28 15:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1943 bytes --]

here is the result
<https://paste.pound-python.org/show/hvfHvZoVr89Li2FcR6CZ/>

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

> On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2015@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 <iceamber2015@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 <dabbott@gentoo.org>
> wrote:
> >>>
> >>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
> >>> wrote:
> >>> > so, what should I do to locate the driver?
> >>> >
> >>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> >>> > <alexander.kapshuk@gmail.com> wrote:
> >>> >>
> >>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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
>
>

[-- Attachment #2: Type: text/html, Size: 3282 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:57                               ` Alexander Kapshuk
  2017-08-28 15:09                                 ` IceAmber
@ 2017-08-28 15:11                                 ` Alexander Kapshuk
  2017-08-28 15:30                                   ` IceAmber
  1 sibling, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-28 15:11 UTC (permalink / raw
  To: Gentoo mailing list

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

On Aug 28, 2017 17:57, "Alexander Kapshuk" <alexander.kapshuk@gmail.com>
wrote:

On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2015@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 <iceamber2015@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 <dabbott@gentoo.org> wrote:
>>>
>>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
>>> wrote:
>>> > so, what should I do to locate the driver?
>>> >
>>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
>>> > <alexander.kapshuk@gmail.com> wrote:
>>> >>
>>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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


To make 100 per cent certain your driver is loaded, can you also run:
lsmod | grep nouveau

[-- Attachment #2: Type: text/html, Size: 3541 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 15:11                                 ` Alexander Kapshuk
@ 2017-08-28 15:30                                   ` IceAmber
  2017-08-28 16:41                                     ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-28 15:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2437 bytes --]

here is the result

iceamber@localhost:~ $ lsmod | grep nouveau
nouveau              1507328  2
i2c_algo_bit           16384  1 nouveau
drm_kms_helper        118784  1 nouveau
ttm                    77824  1 nouveau
drm                   282624  5 nouveau,ttm,drm_kms_helper
agpgart                32768  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.kapshuk@gmail.com> wrote:

>
>
> On Aug 28, 2017 17:57, "Alexander Kapshuk" <alexander.kapshuk@gmail.com>
> wrote:
>
> On Mon, Aug 28, 2017 at 5:38 PM, IceAmber <iceamber2015@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 <iceamber2015@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 <dabbott@gentoo.org>
> wrote:
> >>>
> >>> On Mon, Aug 28, 2017 at 10:00 AM, IceAmber <iceamber2015@gmail.com>
> >>> wrote:
> >>> > so, what should I do to locate the driver?
> >>> >
> >>> > On Mon, Aug 28, 2017 at 11:48 AM, Alexander Kapshuk
> >>> > <alexander.kapshuk@gmail.com> wrote:
> >>> >>
> >>> >> On Mon, Aug 28, 2017 at 2:41 PM, IceAmber <iceamber2015@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
>
>

[-- Attachment #2: Type: text/html, Size: 4706 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 15:30                                   ` IceAmber
@ 2017-08-28 16:41                                     ` Alexander Kapshuk
  2017-08-29  9:35                                       ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-28 16:41 UTC (permalink / raw
  To: Gentoo mailing list

On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com> wrote:
> here is the result
>
> iceamber@localhost:~ $ lsmod | grep nouveau
> nouveau              1507328  2
> i2c_algo_bit           16384  1 nouveau
> drm_kms_helper        118784  1 nouveau
> ttm                    77824  1 nouveau
> drm                   282624  5 nouveau,ttm,drm_kms_helper
> agpgart                32768  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


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 16:41                                     ` Alexander Kapshuk
@ 2017-08-29  9:35                                       ` Alexander Kapshuk
  2017-08-29 13:22                                         ` IceAmber
  2017-08-29 14:28                                         ` Alexander Kapshuk
  0 siblings, 2 replies; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-29  9:35 UTC (permalink / raw
  To: Gentoo mailing list

On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
<alexander.kapshuk@gmail.com> wrote:
> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com> wrote:
>> here is the result
>>
>> iceamber@localhost:~ $ lsmod | grep nouveau
>> nouveau              1507328  2
>> i2c_algo_bit           16384  1 nouveau
>> drm_kms_helper        118784  1 nouveau
>> ttm                    77824  1 nouveau
>> drm                   282624  5 nouveau,ttm,drm_kms_helper
>> agpgart                32768  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/


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29  9:35                                       ` Alexander Kapshuk
@ 2017-08-29 13:22                                         ` IceAmber
  2017-08-29 13:58                                           ` J. Roeleveld
  2017-08-29 14:28                                         ` Alexander Kapshuk
  1 sibling, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-29 13:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1816 bytes --]

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.kapshuk@gmail.com> wrote:

> On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
> > On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com>
> wrote:
> >> here is the result
> >>
> >> iceamber@localhost:~ $ lsmod | grep nouveau
> >> nouveau              1507328  2
> >> i2c_algo_bit           16384  1 nouveau
> >> drm_kms_helper        118784  1 nouveau
> >> ttm                    77824  1 nouveau
> >> drm                   282624  5 nouveau,ttm,drm_kms_helper
> >> agpgart                32768  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/
>
>

[-- Attachment #2: Type: text/html, Size: 2776 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29 13:22                                         ` IceAmber
@ 2017-08-29 13:58                                           ` J. Roeleveld
  0 siblings, 0 replies; 30+ messages in thread
From: J. Roeleveld @ 2017-08-29 13:58 UTC (permalink / raw
  To: gentoo-user

On 29 August 2017 15:22:02 GMT+02:00, IceAmber <iceamber2015@gmail.com> wrote:
>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.kapshuk@gmail.com> wrote:
>
>> On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
>> <alexander.kapshuk@gmail.com> wrote:
>> > On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com>
>> wrote:
>> >> here is the result
>> >>
>> >> iceamber@localhost:~ $ lsmod | grep nouveau
>> >> nouveau              1507328  2
>> >> i2c_algo_bit           16384  1 nouveau
>> >> drm_kms_helper        118784  1 nouveau
>> >> ttm                    77824  1 nouveau
>> >> drm                   282624  5 nouveau,ttm,drm_kms_helper
>> >> agpgart                32768  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/
>>
>>

Are you in the 'video' group?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29  9:35                                       ` Alexander Kapshuk
  2017-08-29 13:22                                         ` IceAmber
@ 2017-08-29 14:28                                         ` Alexander Kapshuk
  2017-08-29 14:58                                           ` IceAmber
  1 sibling, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-29 14:28 UTC (permalink / raw
  To: Gentoo mailing list

On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
<alexander.kapshuk@gmail.com> wrote:
> On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
>> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com> wrote:
>>> here is the result
>>>
>>> iceamber@localhost:~ $ lsmod | grep nouveau
>>> nouveau              1507328  2
>>> i2c_algo_bit           16384  1 nouveau
>>> drm_kms_helper        118784  1 nouveau
>>> ttm                    77824  1 nouveau
>>> drm                   282624  5 nouveau,ttm,drm_kms_helper
>>> agpgart                32768  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?


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29 14:28                                         ` Alexander Kapshuk
@ 2017-08-29 14:58                                           ` IceAmber
  2017-08-29 15:14                                             ` Alexander Kapshuk
  0 siblings, 1 reply; 30+ messages in thread
From: IceAmber @ 2017-08-29 14:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2491 bytes --]

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.kapshuk@gmail.com> wrote:

> On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
> <alexander.kapshuk@gmail.com> wrote:
> > On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> > <alexander.kapshuk@gmail.com> wrote:
> >> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com>
> wrote:
> >>> here is the result
> >>>
> >>> iceamber@localhost:~ $ lsmod | grep nouveau
> >>> nouveau              1507328  2
> >>> i2c_algo_bit           16384  1 nouveau
> >>> drm_kms_helper        118784  1 nouveau
> >>> ttm                    77824  1 nouveau
> >>> drm                   282624  5 nouveau,ttm,drm_kms_helper
> >>> agpgart                32768  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?
>
>

[-- Attachment #2: Type: text/html, Size: 3759 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29 14:58                                           ` IceAmber
@ 2017-08-29 15:14                                             ` Alexander Kapshuk
  2017-08-29 15:20                                               ` IceAmber
  0 siblings, 1 reply; 30+ messages in thread
From: Alexander Kapshuk @ 2017-08-29 15:14 UTC (permalink / raw
  To: Gentoo mailing list

On Tue, Aug 29, 2017 at 5:58 PM, IceAmber <iceamber2015@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.kapshuk@gmail.com> wrote:
>>
>> On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
>> <alexander.kapshuk@gmail.com> wrote:
>> > On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
>> > <alexander.kapshuk@gmail.com> wrote:
>> >> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com>
>> >> wrote:
>> >>> here is the result
>> >>>
>> >>> iceamber@localhost:~ $ lsmod | grep nouveau
>> >>> nouveau              1507328  2
>> >>> i2c_algo_bit           16384  1 nouveau
>> >>> drm_kms_helper        118784  1 nouveau
>> >>> ttm                    77824  1 nouveau
>> >>> drm                   282624  5 nouveau,ttm,drm_kms_helper
>> >>> agpgart                32768  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.


^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-29 15:14                                             ` Alexander Kapshuk
@ 2017-08-29 15:20                                               ` IceAmber
  0 siblings, 0 replies; 30+ messages in thread
From: IceAmber @ 2017-08-29 15:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3074 bytes --]

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.kapshuk@gmail.com> wrote:

> On Tue, Aug 29, 2017 at 5:58 PM, IceAmber <iceamber2015@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.kapshuk@gmail.com> wrote:
> >>
> >> On Tue, Aug 29, 2017 at 12:35 PM, Alexander Kapshuk
> >> <alexander.kapshuk@gmail.com> wrote:
> >> > On Mon, Aug 28, 2017 at 7:41 PM, Alexander Kapshuk
> >> > <alexander.kapshuk@gmail.com> wrote:
> >> >> On Mon, Aug 28, 2017 at 6:30 PM, IceAmber <iceamber2015@gmail.com>
> >> >> wrote:
> >> >>> here is the result
> >> >>>
> >> >>> iceamber@localhost:~ $ lsmod | grep nouveau
> >> >>> nouveau              1507328  2
> >> >>> i2c_algo_bit           16384  1 nouveau
> >> >>> drm_kms_helper        118784  1 nouveau
> >> >>> ttm                    77824  1 nouveau
> >> >>> drm                   282624  5 nouveau,ttm,drm_kms_helper
> >> >>> agpgart                32768  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.
>
>

[-- Attachment #2: Type: text/html, Size: 4851 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [gentoo-user] Failed to load driver: Nouveau
  2017-08-28 14:17                         ` David Abbott
  2017-08-28 14:36                           ` IceAmber
@ 2017-09-06 22:46                           ` Marc Joliet
  1 sibling, 0 replies; 30+ messages in thread
From: Marc Joliet @ 2017-09-06 22:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

Am Montag, 28. August 2017, 16:17:30 CEST schrieb David Abbott:
[...]
> try;
> modinfo nouveau | grep filename

FWIW, modinfo has various options that make using grep like that unnecessary:

% modinfo -h
Usage:
        modinfo [options] filename [args]
Options:
        -a, --author                Print only 'author'
        -d, --description           Print only 'description'
        -l, --license               Print only 'license'
        -p, --parameters            Print only 'parm'
        -n, --filename              Print only 'filename'
        -0, --null                  Use \0 instead of \n
        -F, --field=FIELD           Print only provided FIELD
        -k, --set-version=VERSION   Use VERSION instead of `uname -r`
        -b, --basedir=DIR           Use DIR as filesystem root for /lib/
modules
        -V, --version               Show version
        -h, --help                  Show this help

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2017-09-06 22:46 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-27  8:23 [gentoo-user] Failed to load driver: Nouveau IceAmber
2017-08-27  9:52 ` Adam Carter
2017-08-27  9:57   ` IceAmber
2017-08-27 10:04     ` Adam Carter
2017-08-27 11:27       ` IceAmber
2017-08-27 14:45         ` Alexander Kapshuk
2017-08-27 14:49           ` Alexander Kapshuk
2017-08-27 16:54             ` Alexander Kapshuk
2017-08-27 17:24               ` IceAmber
2017-08-27 17:59                 ` Alexander Kapshuk
2017-08-28 11:41                   ` IceAmber
2017-08-28 11:48                     ` Alexander Kapshuk
2017-08-28 14:00                       ` IceAmber
2017-08-28 14:13                         ` Alexander Kapshuk
2017-08-28 14:17                         ` David Abbott
2017-08-28 14:36                           ` IceAmber
2017-08-28 14:38                             ` IceAmber
2017-08-28 14:57                               ` Alexander Kapshuk
2017-08-28 15:09                                 ` IceAmber
2017-08-28 15:11                                 ` Alexander Kapshuk
2017-08-28 15:30                                   ` IceAmber
2017-08-28 16:41                                     ` Alexander Kapshuk
2017-08-29  9:35                                       ` Alexander Kapshuk
2017-08-29 13:22                                         ` IceAmber
2017-08-29 13:58                                           ` J. Roeleveld
2017-08-29 14:28                                         ` Alexander Kapshuk
2017-08-29 14:58                                           ` IceAmber
2017-08-29 15:14                                             ` Alexander Kapshuk
2017-08-29 15:20                                               ` IceAmber
2017-09-06 22:46                           ` Marc Joliet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox