From: Boszormenyi Zoltan <zboszor@pr.hu>
To: "Michel Dänzer" <michel@daenzer.net>
Cc: Maling list - DRI developers <dri-devel@lists.freedesktop.org>
Subject: Re: AMD/AMD hybrid graphics
Date: Thu, 20 Feb 2014 09:17:22 +0100 [thread overview]
Message-ID: <5305BA12.7070404@pr.hu> (raw)
In-Reply-To: <5305B263.4080309@pr.hu>
[-- Attachment #1: Type: text/plain, Size: 2130 bytes --]
2014-02-20 08:44 keltezéssel, Boszormenyi Zoltan írta:
> 2014-02-20 06:47 keltezéssel, Michel Dänzer írta:
>> On Don, 2014-02-20 at 06:09 +0100, Boszormenyi Zoltan wrote:
>>> 2014-02-20 04:20 keltezéssel, Michel Dänzer írta:
>>>> On Mit, 2014-02-19 at 11:56 +0100, Boszormenyi Zoltan wrote:
>>>>> 2014-02-19 10:59 keltezéssel, Michel Dänzer írta:
>>>>>> On Mit, 2014-02-19 at 09:11 +0100, Boszormenyi Zoltan wrote:
>>>>>>
>>>>>>> Can Mesa/Xorg use both r600g and radeonsi at the same time?
>>>>>> Yes, that seems to work fine for others. You may need Mesa 10.1 or newer
>>>>>> though.
>>>>> Do you mean mean with Mesa 9.2.5 and Xorg server 1.14.4 in
>>>>> Fedora 20 at this time, it's not possible unless I compile my own
>>>>> llvm-3.5 SVN, Mesa 10.1 or 10.2 GIT and Xorg 1.15 GIT?
>>>> I don't think Xorg 1.15 is necessary, but it shouldn't hurt either.
>>>>
>>>>
>>>>> Attached is the log from both 1.14.4 (FC20) and 1.15.0 (rawhide), [...]
>>>> The log files end abruptly, so we need to see the X server stderr
>>>> output. Assuming you're using gdm, it should be captured
>>>> in /var/log/gdm*/:0.log .
>>> FC20 has lightdm by default, here's /var/log/lightdm/x-0.log
>> [...]
>>
>>> X: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion
>>> `key->initialized' failed.
>> Can you get a backtrace for this assertion failure with gdb? See
>> http://wiki.x.org/wiki/Development/Documentation/ServerDebugging/
>>
>>
>
> Here it is. I simply started Xorg from my ssh sesion and got the same assertion failed.
The previous log contained unmatched debuginfo. I have updated
everything needed to make the system consistent with the debuginfos
using rawhide's Xorg 1.15.
However, it seems that after the assertion fails, the second attempt
failed to initialize the discrete chip so only RADEON(0) lines were present
in the Xorg.0.log and gdb didn't stop since the server was running.
Then added the Xdbg script from the ServerDebugging link so the system
uses that instead of the plain Xorg binary. The result is attached.
Best regards,
Zoltán Böszörményi
[-- Attachment #2: Xorg-gdb_log.1341 --]
[-- Type: text/plain, Size: 7333 bytes --]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: 3.12.8-300.fc20.x86_64
Current Operating System: Linux localhost.localdomain 3.13.3-201.fc20.x86_64 #1 SMP Fri Feb 14 19:08:32 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.13.3-201.fc20.x86_64 root=UUID=61edc6e4-5eb0-4ec6-869c-f80dd5bd1d93 ro vconsole.font=latarcyrheb-sun16 rhgb quiet LANG=hu_HU.UTF-8
Build Date: 18 February 2014 06:25:51AM
Build ID: xorg-x11-server 1.15.0-4.fc21
Current version of pixman: 0.32.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 20 09:09:35 2014
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(II) [KMS] Kernel modesetting enabled.
(II) [KMS] Kernel modesetting enabled.
[tcsetpgrp failed in terminal_inferior: A művelet nem engedélyezett]
Xorg.orig: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
[New Thread 0x7fd2bdfbf700 (LWP 1349)]
Program received signal SIGABRT, Aborted.
0x00007fd2c643f1c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
#0 0x00007fd2c643f1c9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 1345
selftid = 1345
#1 0x00007fd2c64408d8 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffc19f6768, sa_sigaction = 0x7fffc19f6768}, sa_mask = {__val = {140543247539738, 5934588, 122, 4294967295, 140543246178947, 4,
140736441829952, 85899345921, 31447312, 4294967295, 0, 0, 0, 21474836480, 140543291142144, 140543247554720}}, sa_flags = 5917779,
sa_restorer = 0x5aaa90 <__PRETTY_FUNCTION__.8544>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fd2c6438126 in __assert_fail_base (fmt=0x7fd2c65898a0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5a4c53 "key->initialized",
file=file@entry=0x5a8dfc "../../../include/privates.h", line=line@entry=122, function=function@entry=0x5aaa90 <__PRETTY_FUNCTION__.8544> "dixGetPrivateAddr") at assert.c:92
str = 0x251bd20 ""
total = 4096
#3 0x00007fd2c64381d2 in __GI___assert_fail (assertion=assertion@entry=0x5a4c53 "key->initialized", file=file@entry=0x5a8dfc "../../../include/privates.h", line=line@entry=122,
function=function@entry=0x5aaa90 <__PRETTY_FUNCTION__.8544> "dixGetPrivateAddr") at assert.c:101
No locals.
#4 0x0000000000424f70 in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>, privates=0x1df6578) at ../../../include/privates.h:122
No locals.
#5 0x00000000004810eb in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>, privates=0x1df6578) at xf86cmap.c:239
No locals.
#6 dixSetPrivate (val=<optimized out>, key=0x822f80 <CMapScreenKeyRec>, privates=0x1df6578) at ../../../include/privates.h:148
No locals.
#7 xf86HandleColormaps (pScreen=pScreen@entry=0x1df61a0, maxColors=maxColors@entry=256, sigRGBbits=10, loadPalette=loadPalette@entry=0x7fd2c1b0fea0 <drmmode_load_palette>,
setOverscan=setOverscan@entry=0x0, flags=flags@entry=3) at xf86cmap.c:184
pScrn = 0x1df5950
pDefMap = 0x0
gamma = 0x2522a70
indices = 0x2528870
elements = 1024
#8 0x00007fd2c1b1332c in drmmode_setup_colormap (pScreen=pScreen@entry=0x1df61a0, pScrn=pScrn@entry=0x1df5950) at drmmode_display.c:1990
No locals.
#9 0x00007fd2c1b0f0ef in RADEONScreenInit_KMS (pScreen=pScreen@entry=0x1df61a0, argc=argc@entry=1, argv=argv@entry=0x7fffc19f4eb8) at radeon_kms.c:1366
pScrn = 0x1df5950
info = 0x1e061c0
subPixelOrder = <optimized out>
s = <optimized out>
front_ptr = 0x0
ret = <optimized out>
#10 0x0000000000438b4d in AddGPUScreen (pfnInit=0x7fd2c1b0ec60 <RADEONScreenInit_KMS>, argc=argc@entry=1, argv=argv@entry=0x7fffc19f4eb8) at dispatch.c:3874
i = 0
pScreen = 0x1df61a0
ret = <optimized out>
#11 0x000000000047aa9f in InitOutput (pScreenInfo=pScreenInfo@entry=0x82dd60 <screenInfo>, argc=argc@entry=1, argv=argv@entry=0x7fffc19f4eb8) at xf86Init.c:886
pScrn = 0x1df5950
i = 0
j = <optimized out>
k = <optimized out>
scr_index = <optimized out>
modulelist = <optimized out>
optionlist = 0x1de2660
screenpix24 = <optimized out>
pix24 = <optimized out>
pix24From = <optimized out>
pix24Fail = 0
autoconfig = <optimized out>
sigio_blocked = 0
want_hw_access = <optimized out>
configured_device = <optimized out>
#12 0x000000000043c52b in dix_main (argc=1, argv=0x7fffc19f4eb8, envp=<optimized out>) at main.c:200
i = <optimized out>
alwaysCheckForInput = {0, 1}
#13 0x00007fd2c6429e95 in __libc_start_main (main=0x426c60 <main>, argc=1, argv=0x7fffc19f4eb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffc19f4ea8) at libc-start.c:285
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -405889514456135042, 4353125, 140736441831088, 0, 0, 406026131390155390, 430218173046016638}, mask_was_saved = 0}}, priv = {
pad = {0x0, 0x0, 0x5a3880 <__libc_csu_init>, 0x7fffc19f4eb8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 5912704}}}
not_first_call = <optimized out>
#14 0x0000000000426c8e in _start ()
No symbol table info available.
[Thread 0x7fd2c8efb9c0 (LWP 1345) exited]
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2014-02-20 8:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 8:11 AMD/AMD hybrid graphics Boszormenyi Zoltan
2014-02-19 9:59 ` Michel Dänzer
2014-02-19 10:56 ` Boszormenyi Zoltan
2014-02-20 3:20 ` Michel Dänzer
2014-02-20 5:09 ` Boszormenyi Zoltan
2014-02-20 5:47 ` Michel Dänzer
2014-02-20 7:44 ` Boszormenyi Zoltan
2014-02-20 8:17 ` Boszormenyi Zoltan [this message]
2014-02-21 2:25 ` Michel Dänzer
2014-02-21 2:37 ` Dave Airlie
2014-02-21 13:37 ` Alex Deucher
2014-02-21 14:32 ` Boszormenyi Zoltan
2014-02-21 14:58 ` Boszormenyi Zoltan
2014-02-21 15:12 ` Alex Deucher
2014-02-21 19:05 ` Boszormenyi Zoltan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5305BA12.7070404@pr.hu \
--to=zboszor@pr.hu \
--cc=dri-devel@lists.freedesktop.org \
--cc=michel@daenzer.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.