Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-ati-7.0.0 -> segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 518
Location: Coruña (Spain)

PostPosted: Thu Nov 08, 2012 9:08 am    Post subject: xf86-video-ati-7.0.0 -> segmentation fault Reply with quote

This is in a dual intel+ati laptop:

Code:
[     8.710]    ABI class: X.Org Video Driver, version 13.0
[     8.710] (II) RADEON(G0): KMS Color Tiling: enabled
[     8.710] (II) RADEON(G0): KMS Color Tiling 2D: enabled
[     8.710] (II) RADEON(G0): KMS Pageflipping: enabled
[     8.710] (II) RADEON(G0): SwapBuffers wait for vsync: enabled
[     8.710] (WW) RADEON(G0): No outputs definitely connected, trying again...
[     8.710] (WW) RADEON(G0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[     8.710] (II) RADEON(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[     8.710] (EE)
[     8.710] (EE) Backtrace:
[     8.710] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x586e56]
[     8.710] (EE) 1: /usr/bin/X (0x400000+0x18ab69) [0x58ab69]
[     8.711] (EE) 2: /lib64/libpthread.so.0 (0x7f6af58e2000+0xfb30) [0x7f6af58f1b30]
[     8.711] (EE) 3: /usr/bin/X (xf86SetScrnInfoModes+0x275) [0x4abcf5]
[     8.711] (EE) 4: /usr/bin/X (xf86InitialConfiguration+0x15c8) [0x4af6b8]
[     8.711] (EE) 5: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f6af2eb0000+0x45f90) [0x7f6af2ef5f90]
[     8.711] (EE) 6: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f6af2eb0000+0x41c94) [0x7f6af2ef1c94]
[     8.711] (EE) 7: /usr/bin/X (InitOutput+0xb3e) [0x4794ce]
[     8.711] (EE) 8: /usr/bin/X (0x400000+0x26656) [0x426656]
[     8.711] (EE) 9: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f6af456f765]
[     8.711] (EE) 10: /usr/bin/X (0x400000+0x26b7d) [0x426b7d]
[     8.711] (EE)
[     8.711] (EE) Segmentation fault at address 0x0
[     8.711]
Fatal server error:
[     8.711] Caught signal 11 (Segmentation fault). Server aborting


Anyone else?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Thu Nov 08, 2012 1:07 pm    Post subject: Reply with quote

xf86-video-ati-7.0.0 seems to be working fine here, but my video card is most likely much older than yours.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2633
Location: Slovenia

PostPosted: Thu Nov 08, 2012 1:24 pm    Post subject: Reply with quote

@Fran: Which version of libdrm are you using? 2.4.40 was released about the same time as xf86-video-ati-7.0.0, perhaps it's required. Wouldn't be the first time that a too old libdrm causes the radeon driver to crash. If you're already using 2.4.40, no idea why it crashes.
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 518
Location: Coruña (Spain)

PostPosted: Thu Nov 08, 2012 2:17 pm    Post subject: Reply with quote

I'm using libdrm 2.4.40.

I only get X working if I disable the discrete chip with
Code:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

*BEFORE* I start xdm, so that Xorg doesn't detect the ati card (I have that line in /etc/local.d/, which is run after xdm).

With xf86-video-ati-6.14 I can disable the discrete GPU anytime (usually after xdm starts), and it works great.

Does any of you have a dual intel+ati card?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Thu Nov 08, 2012 6:59 pm    Post subject: Reply with quote

You don't post enough info.
I.e. which kernel version are you using ?
IIRC, in 3.6.x there were significant changes in regard of hybrid laptops handling - though I don't have one myself, so can't say how many components would require an update to make use of those changes.
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 518
Location: Coruña (Spain)

PostPosted: Thu Nov 08, 2012 8:28 pm    Post subject: Reply with quote

VoidMage wrote:
You don't post enough info.
I.e. which kernel version are you using ?
IIRC, in 3.6.x there were significant changes in regard of hybrid laptops handling - though I don't have one myself, so can't say how many components would require an update to make use of those changes.

Latest ~amd64, which is 3.6.6 right now (see signature). It has always worked great with drivers <7.0

Anyway, looking at the logs:

http://pastebin.com/vm4vEW8z <- video-ati-6.14, ati GPU enabled (works ok)
http://pastebin.com/XfKAkLSs <- video-ati-7.0, ati GPU enabled (segfaults)
http://pastebin.com/YjxNwsMQ <- video-ati-7.0, ati GPU disabled (works ok)

there are clear differences between xf86-video-ati-6.14 and xf86-video-ati-7.0:

* With 6.14 and the ati GPU enabled, Xorg seems to detect the ati card (it loads intel_drv and ati_drv) but doesn't try to initialize the ati card (it uses the intel card, as it should, and there are no more messages about radeon/ati afterwards, just intel).

* With 7.0 and the ati GPU enabled, Xorg loads intel_drv, ati_drv and a new (?) radeon_drv. Now there are several messages mentioning radeon after the intel messages, and then it segfaults.

* With 7.0 and the ati GPU disabled before starting X, Xorg just loads intel_drv. No mention of radeon anywhere and no problems afterwards.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum