AMD/AMD hybrid graphics
Boszormenyi Zoltan
zboszor at pr.hu
Wed Feb 19 23:44:35 PST 2014
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.
[root at localhost ~]# gdb /usr/bin/Xorg
GNU gdb (GDB) Fedora 7.6.50.20130731-19.fc20
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /usr/bin/Xorg...Reading symbols from
/usr/lib/debug/usr/bin/Xorg.debug...done.
done.
(gdb) run
Starting program: /usr/bin/Xorg
[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 08:42:04 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
warning: the debug information found in
"/usr/lib/debug//lib64/libwayland-server.so.0.1.0.debug" does not match
"/lib64/libwayland-server.so.0" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug/usr/lib64/libwayland-server.so.0.1.0.debug" does not match
"/lib64/libwayland-server.so.0" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug//usr/lib64/libwayland-server.so.0.1.0.debug" does not match
"/lib64/libwayland-server.so.0" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug/usr/lib64//libwayland-server.so.0.1.0.debug" does not match
"/lib64/libwayland-server.so.0" (CRC mismatch).
Loading extension GLX
(II) [KMS] Kernel modesetting enabled.
(II) [KMS] Kernel modesetting enabled.
[tcsetpgrp failed in terminal_inferior: A művelet nem engedélyezett]
warning: the debug information found in "/usr/lib/debug//lib64/libstdc++.so.6.0.19.debug"
does not match "/lib64/libstdc++.so.6" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug/usr/lib64/libstdc++.so.6.0.19.debug" does not match
"/lib64/libstdc++.so.6" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug//usr/lib64/libstdc++.so.6.0.19.debug" does not match
"/lib64/libstdc++.so.6" (CRC mismatch).
warning: the debug information found in
"/usr/lib/debug/usr/lib64//libstdc++.so.6.0.19.debug" does not match
"/lib64/libstdc++.so.6" (CRC mismatch).
[New Thread 0x7fadb91e7700 (LWP 1249)]
Xorg: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion `key->initialized' failed.
Program received signal SIGABRT, Aborted.
0x00007fadc165f1c9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
Missing separate debuginfos, use: debuginfo-install elfutils-libelf-0.158-1.fc20.x86_64
expat-2.1.0-7.fc20.x86_64 freetype-2.5.0-4.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64
libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64
libXxf86vm-1.1.3-2.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libfontenc-1.1.1-4.fc20.x86_64
libpng-1.6.3-3.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64
libwayland-server-1.2.0-3.fc20.x86_64 libxcb-1.10-1.fc21.x86_64
llvm-libs-3.4-4.fc21.x86_64 ncurses-libs-5.9-12.20130511.fc20.x86_64
pcre-8.33-4.fc20.x86_64 xorg-x11-drv-fbdev-0.4.3-15.fc21.x86_64
xorg-x11-drv-modesetting-0.8.0-11.fc21.x86_64 xorg-x11-drv-vesa-2.3.2-15.fc21.x86_64
xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64
(gdb) bt f
#0 0x00007fadc165f1c9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 1245
selftid = 1245
#1 0x00007fadc16608d8 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fff83c69779, sa_sigaction =
0x7fff83c69779}, sa_mask = {__val = {140384252091930, 5934588, 122, 4294967295,
140384250731139, 4,
140735404212304, 85899345921, 23742704, 4294967295, 0, 0, 0, 21474836480,
140384295694336, 140384252106912}}, sa_flags = 5917779,
sa_restorer = 0x5aaa90 <__PRETTY_FUNCTION__.8544>}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007fadc1658126 in __assert_fail_base (fmt=0x7fadc17a98a0 "%s%s%s:%u: %s%sAssertion
`%s' failed.\n%n", assertion=assertion at entry=0x5a4c53 "key->initialized",
file=file at entry=0x5a8dfc "../../../include/privates.h", line=line at entry=122,
function=function at entry=0x5aaa90 <__PRETTY_FUNCTION__.8544> "dixGetPrivateAddr") at
assert.c:92
str = 0x1db9780 ""
total = 4096
#3 0x00007fadc16581d2 in __GI___assert_fail (assertion=assertion at entry=0x5a4c53
"key->initialized", file=file at entry=0x5a8dfc "../../../include/privates.h",
line=line at entry=122,
function=function at entry=0x5aaa90 <__PRETTY_FUNCTION__.8544> "dixGetPrivateAddr") at
assert.c:101
No locals.
#4 0x0000000000424f70 in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>,
privates=0x169d558) at ../../../include/privates.h:122
No locals.
#5 0x00000000004810eb in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>,
privates=0x169d558) at xf86cmap.c:239
No locals.
#6 dixSetPrivate (val=<optimized out>, key=0x822f80 <CMapScreenKeyRec>,
privates=0x169d558) at ../../../include/privates.h:148
No locals.
#7 xf86HandleColormaps (pScreen=pScreen at entry=0x169d180, maxColors=maxColors at entry=256,
sigRGBbits=10, loadPalette=loadPalette at entry=0x7fadbcd37ea0 <drmmode_load_palette>,
setOverscan=setOverscan at entry=0x0, flags=flags at entry=3) at xf86cmap.c:184
pScrn = 0x169c930
pDefMap = 0x0
gamma = 0x1dc98f0
indices = 0x1dc6d70
elements = 1024
#8 0x00007fadbcd3b32c in drmmode_setup_colormap (pScreen=pScreen at entry=0x169d180,
pScrn=pScrn at entry=0x169c930) at drmmode_display.c:1990
No locals.
#9 0x00007fadbcd370ef in RADEONScreenInit_KMS (pScreen=pScreen at entry=0x169d180,
argc=argc at entry=1, argv=argv at entry=0x7fff83c684c8) at radeon_kms.c:1366
pScrn = 0x169c930
info = 0x16ad1a0
subPixelOrder = <optimized out>
s = <optimized out>
front_ptr = 0x0
ret = <optimized out>
#10 0x0000000000438b4d in AddGPUScreen (pfnInit=0x7fadbcd36c60 <RADEONScreenInit_KMS>,
argc=argc at entry=1, argv=argv at entry=0x7fff83c684c8) at dispatch.c:3874
i = 0
pScreen = 0x169d180
ret = <optimized out>
#11 0x000000000047aa9f in InitOutput (pScreenInfo=pScreenInfo at entry=0x82dd60 <screenInfo>,
argc=argc at entry=1, argv=argv at entry=0x7fff83c684c8) at xf86Init.c:886
pScrn = 0x169c930
i = 0
j = <optimized out>
k = <optimized out>
scr_index = <optimized out>
modulelist = <optimized out>
optionlist = 0x1689660
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=0x7fff83c684c8, envp=<optimized out>) at
main.c:200
i = <optimized out>
---Type <return> to continue, or q <return> to quit---
alwaysCheckForInput = {0, 1}
#13 0x00007fadc1649e95 in __libc_start_main (main=0x426c60 <main>, argc=1,
argv=0x7fff83c684c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fff83c684b8) at libc-start.c:285
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -8312916593553210373, 4353125,
140735404213440, 0, 0, 8312960929561019387, 8356733329127867387}, mask_was_saved = 0}},
priv = {
pad = {0x0, 0x0, 0x5a3880 <__libc_csu_init>, 0x7fff83c684c8}, data = {prev =
0x0, cleanup = 0x0, canceltype = 5912704}}}
not_first_call = <optimized out>
#14 0x0000000000426c8e in _start ()
No symbol table info available.
(gdb)
More information about the dri-devel
mailing list