Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nouveau MMIO write fault nv49
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
morpheus2051
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 94

PostPosted: Tue Mar 05, 2019 6:42 pm    Post subject: nouveau MMIO write fault nv49 Reply with quote

Hello everyone,

after a long time using the binary blob of nvidia, I switched over to nouveau. This is due to the deprecation of nvidia-drivers-304 series. With the nouveau drivers
I am having some problems and some problems I was having with the binary blob are gone. My gentoo is stable AMD64.

First problem is:

Code:

plasmashell[2552]: segfault at 0 ip 00007feb701ab9b3 sp 00007fff80f6fee0 error 4 in nouveau_dri.so[7feb70021000+8a3000]


Fix: Patch media-libs/mesa-18.2.8 with these patches:
https://patchwork.freedesktop.org/patch/270609/
https://patchwork.freedesktop.org/patch/270610/

Second problem:

dmesg shows MMIO wirte FAULTs. This is everytime at 00c200 and occurs after plasma is started. A new user does not solve this issue. X log shows no errors after MMIO write FAULT.

dmesg | grep nouveau
Code:

[    1.108207] nouveau 0000:01:00.0: NVIDIA G71 (049b00a2)
[    1.146217] nouveau 0000:01:00.0: bios: version 05.71.22.43.a8
[    1.146901] nouveau 0000:01:00.0: fb: 512 MiB GDDR3
[    1.200647] nouveau 0000:01:00.0: DRM: VRAM: 506 MiB
[    1.200649] nouveau 0000:01:00.0: DRM: GART: 512 MiB
[    1.200653] nouveau 0000:01:00.0: DRM: TMDS table version 1.1
[    1.200654] nouveau 0000:01:00.0: DRM: TMDS table script pointers not stubbed
[    1.200656] nouveau 0000:01:00.0: DRM: DCB version 3.0
[    1.200659] nouveau 0000:01:00.0: DRM: DCB outp 00: 03005323 00000004
[    1.200662] nouveau 0000:01:00.0: DRM: DCB outp 01: 01010300 00000028
[    1.200664] nouveau 0000:01:00.0: DRM: DCB outp 02: 02121312 00000100
[    1.200666] nouveau 0000:01:00.0: DRM: DCB outp 03: 020323f1 00c0c080
[    1.200668] nouveau 0000:01:00.0: DRM: DCB conn 00: 0000
[    1.200669] nouveau 0000:01:00.0: DRM: DCB conn 01: 1130
[    1.200671] nouveau 0000:01:00.0: DRM: DCB conn 02: 0210
[    1.200673] nouveau 0000:01:00.0: DRM: DCB conn 03: 0211
[    1.200674] nouveau 0000:01:00.0: DRM: DCB conn 04: 0213
[    1.200676] nouveau 0000:01:00.0: DRM: DCB conn 05: 0340
[    1.200962] nouveau 0000:01:00.0: DRM: Saving VGA fonts
[    1.300788] nouveau 0000:01:00.0: DRM: MM: using M2MF for buffer copies
[    1.300797] nouveau 0000:01:00.0: DRM: Calling LVDS script 6:
[    1.300800] nouveau 0000:01:00.0: DRM: 0xC1D7: Parsing digital output script table
[    1.580899] nouveau 0000:01:00.0: DRM: Setting dpms mode 3 on TV encoder (output 3)
[    1.652161] nouveau 0000:01:00.0: DRM: allocated 1920x1200 fb: 0x9000, bo (____ptrval____)
[    1.664871] fbcon: nouveaufb (fb0) is primary device
[    1.744254] nouveau 0000:01:00.0: DRM: Calling LVDS script 2:
[    1.744257] nouveau 0000:01:00.0: DRM: 0xC25B: Parsing digital output script table
[    1.892303] nouveau 0000:01:00.0: DRM: Calling LVDS script 5:
[    1.892306] nouveau 0000:01:00.0: DRM: 0xC1C8: Parsing digital output script table
[    1.966176] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    1.966432] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
[   89.195652] nouveau 0000:01:00.0: DRM: Calling LVDS script 6:
[   89.195663] nouveau 0000:01:00.0: DRM: 0xC1D7: Parsing digital output script table
[   89.489789] nouveau 0000:01:00.0: DRM: Calling LVDS script 2:
[   89.489793] nouveau 0000:01:00.0: DRM: 0xC25B: Parsing digital output script table
[   89.637867] nouveau 0000:01:00.0: DRM: Calling LVDS script 5:
[   89.637870] nouveau 0000:01:00.0: DRM: 0xC1C8: Parsing digital output script table
[  107.479800] nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200

dmesg -tl err after some time
Code:

nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 007a0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00510002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 004f0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 007a0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 007a0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00510002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 007a0002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00510002 FAULT at 00c200
nouveau 0000:01:00.0: bus: MMIO write of 00ff0002 FAULT at 00c200

lspci
Code:

01:00.0 VGA compatible controller: NVIDIA Corporation G71GLM [Quadro FX 1500M] (rev a1)

I don't know if the next problem is because of the MMIO faults. Font output is sometimes broken in plasma. It occurs only on translucent elements either with compositor type xrender or opengl. Disabling the compositor makes the problem go away but without compositor X crashes when mpv is closed.

URL to see a screenshot: https://pasteboard.co/I438ma0.png

zcat /proc/config.gz | grep NOUVEAU
Code:

CONFIG_DRM_NOUVEAU=y
CONFIG_NOUVEAU_DEBUG=5
CONFIG_NOUVEAU_DEBUG_DEFAULT=3
CONFIG_NOUVEAU_DEBUG_MMU=y
CONFIG_DRM_NOUVEAU_BACKLIGHT=y


zcat /proc/config.gz | grep DRM
Code:

CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
CONFIG_DRM_TTM=y
CONFIG_DRM_VM=y
CONFIG_DRM_NOUVEAU=y
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
CONFIG_DRM_PANEL=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y


Hardware related use:
Code:

USE="${USE} -bluetooth
cdda cdio cdr
dvdr dvd
egl
gbm gles gles1 gles2 -glamor
-vaapi -vcd -vdpau -v4l
wayland wifi
"

Xorg configuration for nouveau
Code:

Section "Device"
        Identifier      "Grafikkarte0"
        Driver          "nouveau"
EndSection

I googled a bit and did not find any entries with the shown MMIO fault at 00c200. This made me suspect my hardware is at fault. I used Windows to test it and my machine runs perfectly fine. My question is: Is this due to a configuration issue or should I file a bug over at freedesktop?

Thanks for reading!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum