Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AMD E350 - xserver segmentation fault
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
feddischson
n00b
n00b


Joined: 03 Aug 2011
Posts: 4

PostPosted: Tue Aug 30, 2011 7:36 pm    Post subject: AMD E350 - xserver segmentation fault Reply with quote

Hi,

since several month, I've been trying to get my AMD E350 working together with the proprietary ati-driver.

I've tried several versions of ati-drivers, and xserver is always ending up in a segmentation fault.


Several posts here on gentoo forums show me, that it is possible to use this driver with gentoo and AMD E350, but I can't find the problem in my case.


Here some information

------------------------------------

emerge --info
http://paste.pocoo.org/show/467350/

kernel-config
http://paste.pocoo.org/show/467354/

xorg.conf
http://paste.pocoo.org/show/467357/

equery list *
http://paste.pocoo.org/show/467361/

eselect opengl list
Available OpenGL implementations:
[1] ati *
[2] xorg-x11


lspci | grep -i vga
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9802

-------------------------------------------------------------------


It would be very nice, if somebody could give me a hint, where to search for the segmentation fault reason 8) .


Cheers
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7644
Location: Goose Creek SC

PostPosted: Wed Aug 31, 2011 1:08 am    Post subject: Reply with quote

Code:
zgrep -i CONFIG_EXTRA_FIRMWARE /proc/config.gz
If not found
Code:
grep -i CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config
if the output shows radeon ucode you need to remove it from the kernel configuration and recompile and recopy the kernel.
if you haven't, you do need to
Code:
emerge radeon-ucode
to have it available in /lib/firmware.
full text of the seg fault screen would be useful, digital cam or cell phone picture posted on a photo site url posted here if no other way.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
feddischson
n00b
n00b


Joined: 03 Aug 2011
Posts: 4

PostPosted: Wed Aug 31, 2011 5:21 pm    Post subject: Reply with quote

Ok, I removed the radeon firmware from kernel config, but it didn't solve the problem.

radeon-ucode is installed.

Here the xorg.log

http://paste.pocoo.org/show/467843/

and
dmesg | grep fglrx

[ 4.314030] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[ 4.589935] [fglrx] Maximum main memory to use for locked dma buffers: 3411 MBytes.
[ 4.590050] [fglrx] vendor: 1002 device: 9802 count: 1
[ 4.590843] [fglrx] ioport: bar 1, base 0xf000, size: 0x100
[ 4.591640] [fglrx] Kernel PAT support is enabled
[ 4.591679] [fglrx] module loaded - fglrx 8.88.7 [Jul 28 2011] with 1 minors
[ 52.252945] fglrx_pci 0000:00:01.0: irq 45 for MSI/MSI-X
[ 52.254202] [fglrx] Firegl kernel thread PID: 5646
[ 52.254563] [fglrx] Firegl kernel thread PID: 5647
[ 52.254848] [fglrx] Firegl kernel thread PID: 5648
[ 52.255213] [fglrx] IRQ 45 Enabled
[ 52.367074] [fglrx] Gart USWC size:1116 M.
[ 52.367081] [fglrx] Gart cacheable size:441 M.
[ 52.367091] [fglrx] Reserved FB block: Shared offset:0, size:1000000
[ 52.367097] [fglrx] Reserved FB block: Unshared offset:fc81000, size:37f000
[ 52.367101] [fglrx] Reserved FB block: Unshared offset:17ff4000, size:c000
[ 53.708955] [fglrx] IRQ 45 Disabled


Cheers for your help.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1479
Location: Montréal

PostPosted: Wed Aug 31, 2011 7:31 pm    Post subject: Reply with quote

The radeon-ucode is, with the linux-firmware package, the firmware use by the free Radeon module that support KMS. So it is known that KMS and FGLRX do not work together.

You do not have any framebuffer driver enabled in your kernel. At least, vesafb and a frambuffer console driver can be usefull. In your make.conf you have VIDEO="fglrx radeon" . I would remove radeon, Xorg can not like both together installed.

These are only suggestions, I use Radeon KMS kernel support and Radeon Xorg driver with an ATI Technologies Inc Device 9802 on an HP Pavilion dm1-3240 that have an E-350 AMD Fusion processor. It work great.

I never ever install the proprietary Ati/Amd drivers.
_________________
Paul
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7644
Location: Goose Creek SC

PostPosted: Wed Aug 31, 2011 7:57 pm    Post subject: Reply with quote

Quote:
In your make.conf you have VIDEO="fglrx radeon" . I would remove radeon, Xorg can not like both together installed.
Good point, embarassed that I left it out. You may want to
Code:
emerge xorg-server $(qlist -IC x11-drivers)
after.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
feddischson
n00b
n00b


Joined: 03 Aug 2011
Posts: 4

PostPosted: Sat Sep 03, 2011 4:46 pm    Post subject: Reply with quote

@Logicien: The open source driver works find, but I need the closed source driver. I enabled the generic vesa driver, but that didn't solve my problem.


@DONAHUE: I tried your suggestion, but it didn't work :cry:

By playing a little bit around with some options in xorg.conf, I figured out that if I set
Code:

        Option          "no_dri"                "yes"

I get a non-working windowmaker, but no segmentation fault.

I tried
Code:

X -retro

and that worked (I got this black cross).
Back to top
View user's profile Send private message
feddischson
n00b
n00b


Joined: 03 Aug 2011
Posts: 4

PostPosted: Sun Sep 04, 2011 8:08 am    Post subject: Reply with quote

I found the problem!
This
http://www.rootninja.com/ati-fglrx-driver-fix-corrupt-amdpcsdb/
hint solved it. After restoring amdpcsdb with
Code:

rm /etc/ati/amdpcsdb

everything works fine :)
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