Jump to content
  • 0

Nouveau won't work with gentoo-sources 4.4.1


erikr
 Share

Question

Hi,

 

I ran into some strange problem when I upgrades kernel from gentoo-sources-4.4.0 to gentoo-sources-4.4.1. Suddenly nouveau stopped working. The procedure is that I copy the old .config, run make menuconfig and save the result. This has been working for a long time but not this time. When I downgraded to 4.4.0-r1 the video was back.

 

 

I got nothing in dmesg but I found this at the end of the /var/log/Xorg.0.log:

[   364.123] (II) NOUVEAU driver
[   364.123] (II) NOUVEAU driver for NVIDIA chipset families :
[   364.123]    RIVA TNT        (NV04)
[   364.123]    RIVA TNT2       (NV05)
[   364.123]    GeForce 256     (NV10)
[   364.123]    GeForce 2       (NV11, NV15)
[   364.123]    GeForce 4MX     (NV17, NV18)
[   364.123]    GeForce 3       (NV20)
[   364.123]    GeForce 4Ti     (NV25, NV28)
[   364.123]    GeForce FX      (NV3x)
[   364.123]    GeForce 6       (NV4x)
[   364.123]    GeForce 7       (G7x)
[   364.123]    GeForce 8       (G8x)
[   364.123]    GeForce GTX 200 (NVA0)
[   364.123]    GeForce GTX 400 (NVC0)
[   364.123] (++) using VT number 7

[   364.207] (EE) [drm] Failed to open DRM device for pci:0000:07:00.0: -19
[   364.207] (EE) No devices detected.
[   364.207] (EE)
Fatal server error:
[   364.207] (EE) no screens found(EE)
[   364.208] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   364.208] (EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
[   364.208] (EE)

It also failed to generate a xorg.conf using X -configure. I normally have no xorg.conf as it normally works well without it.

 

Anyone else got the same problem or perhaps got it working?

 

 

 

 

// Erik

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Erik,

Nouveau is working on gentoo-sources-4.4.1 :

funtoo rj # uname -a
Linux funtoo 4.4.1-gentoo #1 SMP Wed Feb 17 22:05:40 EST 2016 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz GenuineIntel GNU/Linux
funtoo rj # lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1)
funtoo rj # lsmod | grep nouveau
nouveau              1376989  3 
wmi                     7266  1 nouveau
video                  23878  1 nouveau
hwmon                   2866  1 nouveau
drm_kms_helper         83945  1 nouveau
ttm                    66366  1 nouveau
drm                   252677  6 ttm,drm_kms_helper,nouveau
i2c_algo_bit            5200  1 nouveau
i2c_core               19941  4 drm,drm_kms_helper,i2c_algo_bit,nouveau
funtoo rj # dmesg | grep nouveau
[    5.825032] nouveau 0000:01:00.0: NVIDIA G98 (298200a2)
[    5.942593] nouveau 0000:01:00.0: bios: version 62.98.62.00.00
[    5.963431] nouveau 0000:01:00.0: bios: M0203T not found
[    5.963435] nouveau 0000:01:00.0: bios: M0203E not matched!
[    5.963437] nouveau 0000:01:00.0: fb: 512 MiB DDR2
[    6.012609] nouveau 0000:01:00.0: DRM: VRAM: 512 MiB
[    6.012611] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    6.012617] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[    6.012619] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    6.012622] nouveau 0000:01:00.0: DRM: DCB outp 00: 04000310 00000028
[    6.012625] nouveau 0000:01:00.0: DRM: DCB outp 01: 01011302 00000030
[    6.012627] nouveau 0000:01:00.0: DRM: DCB outp 02: 02011300 0f200028
[    6.012629] nouveau 0000:01:00.0: DRM: DCB outp 03: 02022322 00020010
[    6.012631] nouveau 0000:01:00.0: DRM: DCB conn 00: 00000000
[    6.012633] nouveau 0000:01:00.0: DRM: DCB conn 01: 00001130
[    6.012635] nouveau 0000:01:00.0: DRM: DCB conn 02: 00002261
[    6.033387] nouveau 0000:01:00.0: DRM: MM: using M2MF for buffer copies
[    6.105455] nouveau 0000:01:00.0: DRM: allocated 1280x1024 fb: 0x70000, bo ffff8800ca055c00
[    6.105539] fbcon: nouveaufb (fb0) is primary device
[    6.179197] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    6.179202] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
rj@funtoo ~ $ glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Gallium 0.4 on NV98
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fog_distance,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

View /var/log/Xorg.0.log here: https://bpaste.net/show/e862638dbd74
No xorg.conf being used.
I always convert existing .config after importing to new kernel version.

make silentoldconfig

If I want to make configuration changes after conversion:

make menuconfig

Build kernel and modules, -j3 for my 2 core cpu:

make -j3

Install modules:

make modules_install

Install kernel:

make install

I don't use out-of-tree modules which would need to be compiled or initramfs.
If you need additional help please provide at least as much info as I have shared.

Link to comment
Share on other sites

  • 0

Hi,

 

Thanks for the post. The I managed to get somthing wrong and it is not a trouble for anyone (or at least not everyone) else. That is whay I posted here, to verify if this was a widespread problem.

 

I also ran into a lot of trouble with KDE5 and nouveau with frequent UI freezes so I went for the proprietary nvidia-drivers including kernel downgrade to 4.1.15-gentoo-r1 and since then everything have worked just perfect. As of now I will stick to "it's not broken so I will not fix it" and continue with the nvidia drivers :)

 

 

// Erik

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...