Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580942

Summary: media-libs/mesa-11.2.1 - nouveau_exa_upload_to_screen:380 - falling back to memcpy ignores tiling
Product: Gentoo Linux Reporter: Thibaud CANALE <thican>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 579266    
Attachments: emerge --info media-libs/mesa x11-libs/libdrm
/var/log/Xorg.0.log
emerge --info 'media-libs/mesa' 'sys-devel/clang' 'sys-devel/llvm'

Description Thibaud CANALE 2016-04-23 13:38:23 UTC
Created attachment 431698 [details]
emerge --info media-libs/mesa x11-libs/libdrm

Hello,

Since I updated media-libs/mesa to version 11.2.1 (and therefore, x11-libs/libdrm to version 2.4.67 as requested dependancy), my graphical session meets the following segmentation fault (from /var/log/Xorg.0.log.old):

[  3680.772] nouveau_exa_upload_to_screen:380 - falling back to memcpy ignores tiling
[  3680.901] (EE) 
[  3680.901] (EE) Backtrace:
[  3680.901] (EE) 0: /usr/bin/X (xorg_backtrace+0x87) [0x559641f08f27]
[  3680.901] (EE) 1: /usr/bin/X (0x559641d28000+0x1e5efd) [0x559641f0defd]
[  3680.901] (EE) 2: /lib64/libc.so.6 (0x7f19dfb87000+0x34400) [0x7f19dfbbb400]
[  3680.901] (EE) 3: /usr/lib64/xorg/modules/drivers/nouveau_drv.so (0x7f19dbca8000+0x80b4) [0x7f19dbcb00b4]
[  3680.901] (EE) 4: /usr/lib64/xorg/modules/libexa.so (0x7f19db886000+0x9f61) [0x7f19db88ff61]
[  3680.901] (EE) 5: /usr/bin/X (0x559641d28000+0x15dfcc) [0x559641e85fcc]
[  3680.902] (EE) 6: /usr/bin/X (0x559641d28000+0x10b22b) [0x559641e3322b]
[  3680.902] (EE) 7: /usr/bin/X (0x559641d28000+0x10c995) [0x559641e34995]
[  3680.902] (EE) 8: /usr/bin/X (0x559641d28000+0x539b7) [0x559641d7b9b7]
[  3680.902] (EE) 9: /usr/bin/X (0x559641d28000+0x58361) [0x559641d80361]
[  3680.902] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0x114) [0x7f19dfba7734]
[  3680.902] (EE) 11: /usr/bin/X (_start+0x29) [0x559641d678c9]
[  3680.902] (EE) 
[  3680.902] (EE) Segmentation fault at address 0x7f19cb8437f0
[  3680.902] (EE) 
Fatal server error:
[  3680.902] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  3680.902] (EE) 
[  3680.902] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  3680.902] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3680.902] (EE) 
[  3680.902] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3680.902] (II) NOUVEAU(0): NVLeaveVT is called.
[  3680.952] (EE) Server terminated with error (1). Closing log file.


Reproducibility: always

Steps: it happens every time when I use to watch big images with the webbrowser Firefox, on the website Imgur (it's an example, I didn't try elsewhere).

Note: I both activated in VIDEO_CARDS USE flags "nouveau" and "r600 radeon" because I used to switch on different graphical cards, because my Radeon consumes more power than my Nvidia card, but is more powerful.

On my side, I am downgrading Mesa back to branch 11.1(.3), and libdrm to the stable version 2.4.65.
Comment 1 Alex Xu (Hello71) 2016-04-27 14:34:28 UTC
please attach Xorg.0.log.
Comment 2 Thibaud CANALE 2016-04-27 17:17:30 UTC
Created attachment 432290 [details]
/var/log/Xorg.0.log

(In reply to Alex Xu (Hello71) from comment #1)
> please attach Xorg.0.log.

Ok, but I don't have anymore the log during the specific error.
Comment 3 Thibaud CANALE 2016-05-01 23:38:37 UTC
Hello,

I updated the title, because I put back x11-libs/libdrm to version 2.4.67 and even now 2.4.68, and the segmentation didn't occur again with the same "test"; so I guess the implication of x11-libs/libdrm is not related to this bug.

Thanks for support.
Comment 4 Thibaud CANALE 2016-05-13 15:05:37 UTC
Created attachment 434186 [details]
emerge --info 'media-libs/mesa' 'sys-devel/clang' 'sys-devel/llvm'

HEllo!

Just an update to say I upgraded Mesa to version 11.2.2, and I didn't encountered the bug yet, so I guess it is fixed.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-05-13 15:08:11 UTC
Thanks for the report.
Marking as fixed per comment #4, please reopen this bug if you see the segmentation fault again.