View previous topic :: View next topic |
Author |
Message |
tracyh n00b
Joined: 21 Feb 2018 Posts: 1
|
Posted: Wed Feb 21, 2018 12:08 am Post subject: AMDGPU with mesa drivers |
|
|
I have a crash, with stack trace whenever I try to run any accelerated code using glamor with Xorg and open source drivers from mesa . I have read the forums and I have llvm5 installed. Is there something that I am missing? I have VIDEO_CARDS set to "amdgpu radeonsi"
Code: | Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE)
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) Backtrace:
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x563fe79e94bd]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 1: /usr/bin/X (0x563fe77dc000+0x211789) [0x563fe79ed789]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 2: /lib64/libpthread.so.0 (0x7f538b172000+0x14180) [0x7f538b186180]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 3: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (0x7f538391c000+0x69275) [0x7f5383985275]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 4: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (0x7f538391c000+0x698ea) [0x7f53839858ea]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 5: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (_ZN4llvm12SelectionDAG13LegalizeTypesEv+0xef6) [0x7f5383993596]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 6: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (_ZN4llvm16SelectionDAGISel17CodeGenAndEmitDAGEv+0x11d) [0x7f5383aae77d]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 7: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE+0x1dee) [0x7f5383ab0d7e]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 8: /usr/lib/llvm/5/lib64/libLLVMSelectionDAG.so.5 (_ZN4llvm16SelectionDAGISel20runOnMachineFunctionERNS_15MachineFunctionE+0x606) [0x7f5383ab30b6]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 9: /usr/lib/llvm/5/lib64/libLLVMCodeGen.so.5 (_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x56) [0x7f5381f7be66]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 10: /usr/lib/llvm/5/lib64/libLLVMCore.so.5 (_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x1b4) [0x7f537f02abd4]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 11: /usr/lib/llvm/5/lib64/libLLVMAnalysis.so.5 (0x7f5380bf7000+0x122dfe) [0x7f5380d19dfe]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 12: /usr/lib/llvm/5/lib64/libLLVMCore.so.5 (_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x2c8) [0x7f537f02a7e8]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 13: /usr/lib/llvm/5/lib64/libLLVMTarget.so.5 (0x7f5381c3d000+0xb8f9) [0x7f5381c488f9]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 14: /usr/lib/llvm/5/lib64/libLLVMTarget.so.5 (LLVMTargetMachineEmitToMemoryBuffer+0xad) [0x7f5381c48d0d]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 15: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x789294) [0x7f5386cf9294]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 16: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x77b55f) [0x7f5386ceb55f]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 17: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x77b9ff) [0x7f5386ceb9ff]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 18: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x77ec75) [0x7f5386ceec75]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 19: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x79f442) [0x7f5386d0f442]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 20: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x7a01fb) [0x7f5386d101fb]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 21: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x797cf0) [0x7f5386d07cf0]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 22: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x5f88f3) [0x7f5386b688f3]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 23: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x5f331f) [0x7f5386b6331f]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 24: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x5f8e4b) [0x7f5386b68e4b]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 25: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x33cdbc) [0x7f53868acdbc]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 26: /usr/lib64/dri/radeonsi_dri.so (0x7f5386570000+0x2895c8) [0x7f53867f95c8]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 27: /usr/lib64/xorg/modules/libglamoregl.so (0x7f537c12d000+0x20590) [0x7f537c14d590]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 28: /usr/lib64/xorg/modules/libglamoregl.so (0x7f537c12d000+0x207a7) [0x7f537c14d7a7]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 29: /usr/lib64/xorg/modules/libglamoregl.so (0x7f537c12d000+0xfd06) [0x7f537c13cd06]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 30: /usr/bin/X (0x563fe77dc000+0x16c46e) [0x563fe794846e]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 31: /usr/bin/X (0x563fe77dc000+0x1165a2) [0x563fe78f25a2]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 32: /usr/bin/X (0x563fe77dc000+0x117f75) [0x563fe78f3f75]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 33: /usr/bin/X (0x563fe77dc000+0x5300c) [0x563fe782f00c]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 34: /usr/bin/X (0x563fe77dc000+0x57f67) [0x563fe7833f67]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 35: /lib64/libc.so.6 (__libc_start_main+0xea) [0x7f538adcef0a]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) 36: /usr/bin/X (_start+0x2a) [0x563fe7819a0a]
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE)
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) Segmentation fault at address 0x0
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE)
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: Fatal server error:
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE)
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: Please consult the The X.Org Foundation support
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: at http://wiki.x.org
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: for help.
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (EE)
Feb 20 22:44:53 at /usr/libexec/gdm-x-session[3194]: (II) AIGLX: Suspending AIGLX clients for VT switch |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54119 Location: 56N 3W
|
Posted: Wed Feb 21, 2018 10:21 am Post subject: |
|
|
tracyh,
Welcome to Gentoo
Tell us your mesa version and post the output of and _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
The_Document Apprentice
Joined: 03 Feb 2018 Posts: 275
|
Posted: Thu Feb 22, 2018 4:31 am Post subject: |
|
|
Post kernel config along with dmesg. Im sure its an issue with improper drivers. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Tue Mar 20, 2018 11:51 pm Post subject: |
|
|
The_Document wrote: | Post kernel config along with dmesg. Im sure its an issue with improper drivers. |
make sure to have X and dbus in your use flags.
the setup brings in the X use flag for dbus. dbus needs the X use flag. _________________ this is a strange strange world. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3313 Location: Rasi, Finland
|
Posted: Wed Mar 21, 2018 1:02 am Post subject: |
|
|
The_Document wrote: | Post kernel config along with dmesg. | ... into a pastebin, please. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Wed Mar 21, 2018 1:09 am Post subject: |
|
|
I'm running AMDGPU with radeonsi and glamor, and I don't have problems. I run USE="X -dbus", but since it's really hard to have absolutely no dbus these days, I have it selectively enabled in package.use, the minimum for stuff that won't install without it, or without it in a dependency. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
|