LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fglrx segfaults on Radeon HD 4500 (https://www.linuxquestions.org/questions/slackware-14/fglrx-segfaults-on-radeon-hd-4500-a-906829/)

bl0tt0 10-06-2011 06:17 PM

fglrx segfaults on Radeon HD 4500
 
Hello all,

Due to the rather underwhelming handling of HDMI on the opensource radeon drivers, I am attempting to install the proprietary ATI driver on stock Slackware64 13.37. The binary appears to run and build the driver correctly, and I've done the usual 'aticonfig --initial' after installing. On reboot, however, startx will crash due to a segfault. I haven't found much useful information on this card after quite a bit of googling, but it appears as though it should work with the proprietary driver. Here is the relevant output from Xorg.0.log:
Code:

Backtrace:
[  114.745] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a02d8]
[  114.745] 1: /usr/bin/X (0x400000+0x60fc9) [0x460fc9]
[  114.745] 2: /lib64/libc.so.6 (0x7ff375899000+0x340b0) [0x7ff3758cd0b0]
[  114.745] 3: /usr/lib64/xorg/modules/glesx.so (0x7ff370689000+0x641e2) [0x7ff3706ed1e2]
[  114.745] 4: /usr/lib64/xorg/modules/glesx.so (0x7ff370689000+0x62473) [0x7ff3706eb473]
[  114.746] 5: /usr/lib64/xorg/modules/glesx.so (esutAddSrcSurf+0x1a) [0x7ff3706ea58a]
[  114.746] 6: /usr/lib64/xorg/modules/glesx.so (0x7ff370689000+0x50ca0) [0x7ff3706d9ca0]
[  114.746] 7: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (0x7ff3736e4000+0x430890) [0x7ff373b14890]
[  114.746] 8: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (0x7ff3736e4000+0x4302ca) [0x7ff373b142ca]
[  114.746] 9: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_x760_swlDriBlockHandler+0x74) [0x7ff373b2b254]
[  114.746] 10: /usr/bin/X (BlockHandler+0x8d) [0x431efd]
[  114.746] 11: /usr/bin/X (WaitForSomething+0x10f) [0x45a49f]
[  114.746] 12: /usr/bin/X (0x400000+0x2dc72) [0x42dc72]
[  114.746] 13: /usr/bin/X (0x400000+0x21ffe) [0x421ffe]
[  114.747] 14: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7ff3758b7e5d]
[  114.747] 15: /usr/bin/X (0x400000+0x21bb9) [0x421bb9]
[  114.747] Segmentation fault at address 0x10
[  114.747]
Fatal server error:
[  114.747] Caught signal 11 (Segmentation fault). Server aborting
[  114.747]
[  114.747]

This is a grep of the warnings from the log:
Code:

bash-4.1$ grep WW Xorg.0.log.old
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  110.275] (WW) The directory "/usr/share/fonts/local" does not exist.
[  110.275] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  110.651] (WW) Falling back to old probe method for fglrx
[  110.699] (WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found
[  110.879] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[  111.518] (WW) fglrx(0): Option "VendorName" is not used
[  111.518] (WW) fglrx(0): Option "ModelName" is not used

Finally, here is the xorg.conf created by aticonfig:
Code:

Section "ServerLayout"
        Identifier    "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID      "PCI:2:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device    "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection

Otherwise, there are no errors in the log. Is anyone familiar with the quirks of this card, or what kind of configuration is needed to get it runnning on Slackware?

Thanks

adamk75 10-06-2011 06:28 PM

Please show the full Xorg log file, as well as the output of 'dmesg | grep fglrx'

Adam

ReaperX7 10-07-2011 03:24 AM

Did you blacklist the Radeon module from the kernel in:

/etc/modprobe.d/blacklist.conf

using this script line?

blacklist radeon

markush 10-07-2011 12:05 PM

Hi bl0tt0,

which version of the Ati-driver did you install?

Markus

bl0tt0 10-08-2011 06:03 PM

Sorry for the delay in response, but I discovered that I had to disable the overlay by playing with aticonfig. HDMI appears to work correctly now, but I'm still figuring out how to get dual-displays set up correctly. It doesn't help that the catalyst drivers require restarting X for many of the configuration changes to take effect :\

adamk75 10-08-2011 07:00 PM

You can use the 'xrandr' command to change the monitor sizes/positions once X is up and running (or use KDE, gnome or XFCE's monitor configuration utility). You can also edit your xorg.conf file to specify the monitor locations. My monitor sections look like so:

Code:

Section "Monitor"
        Identifier  "DFP1"
        Option "PreferredMode" "1680x1050"
EndSection

Section "Monitor"
        Identifier  "CRT2"       
        Option "PreferredMode" "1440x900"
        Option "RightOf" "DFP1"
EndSection

The Identifiers are whatever 'xrandr' shows as the output names.

Adam


All times are GMT -5. The time now is 11:07 PM.