I have problem with radeon cards on muxless laptop: 01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250] 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] PRIME works almost OK (glxinfo, glxgears, some opensource games), but in some applications (more critical are Crusader Kings 2 and Europa Universalis 4) I'm getting black screen and corrupted cursor, switching to some other window causes X restart. Tried different window managers (e.g., kdm, xmonad with xcompmgr), results are the same. Running Debina GNU/Linux testing+unstable, Linux kernel 3.11.8, drm 2.4.49, xserver 1.14.3, radeon 7.2.0, mesa 9.2.2.
Please attach your xorg log and dmesg output.
Created attachment 90167 [details] dmesg output
Created attachment 90168 [details] Xorg.0.log
Created attachment 90169 [details] Xorg.0.log.old
Created attachment 90170 [details] lspci -vv
Created attachment 90171 [details] xrandr --listproviders
Created attachment 90172 [details] glxinfo for integrated radeom
Created attachment 90173 [details] glxinfo for discrete radeon
It would be useful if you could do one or both of: * Attach a full backtrace from gdb, with the xserver-xorg-video-radeon-dbg and xserver-xorg-core-dbg packages installed. * Try upstream xf86-video-ati Git master and xserver Git server-1.14-branch to see if they work any better.
Created attachment 90234 [details] gdb gdb log of X crash, produced with the following: # gdb -p $(pidof X) -batch -ex 'handle all nostop' -ex 'handle all pass' -ex 'handle 11 stop' -ex 'cont' -ex 'bt full' -ex 'cont' > gdb.log I tried to do gdb -p $(pidof X) (inside gdb) set logging overwrite on set logging on continue (X server is stopped from when gdb is attached until "continue" is typed) (do whatever caused the problem) bt full set logging off quit Unfortunately, after continue command laptop completely freezes, after restart gdb log is empty.
Created attachment 90235 [details] kwin_kcrash Sometimes I'm getting Kcrash messages like that, when running Crusader Kings 2 with DRI_PRIME=1.
Created attachment 90236 [details] ck2.log And with some settings Crusader Kings 2 throws this errors.
In the evening I will try to ssh to my laptop from another computer and gdb.
Created attachment 90239 [details] gdb-2950 Another (somewhat different) gdb.log, see alsa corresponding Xorg.0.log (xorg-2950).
Created attachment 90240 [details] xorg-2950 Another Xorg.0.log (see corresponding gdb log, gdb-2950).
Created attachment 90284 [details] gdb log
Created attachment 90285 [details] gdb log
Found out that with some settings PRIME works much better (renders application, X is not crashing), but cursor is still corrupted and colors are incorrect (compared to rendering on integrated radeon).
Finally tried a newer version of xserver, and it works much better! Cursor is OK, and DRI_PRIME doesn't cause X restart.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.