Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

fglrx hangs system

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

fglrx hangs system

  • Quote

Post by calavicci » Sun Apr 17, 2011 3:07 am

When portage informed me that my old xorg-server was deprecated, I dutifully upgraded to 1.9.4. This meant upgrading my ati-drivers... there's some good news.

Long story short: I've read everything I can find about getting the proprietary drivers to work to no avail. They leave me with a frozen, text cursor and an otherwise black screen. I've discovered that it's the "good" hang where I can still SSH into the box, but I don't really have another system around to take advantage of that.

Things I've tried:
ati-drivers-11.3, -11.2, -10.10
kernel 2.6.31-gentoo-r10, 2.6.37-gentoo-r4, 2.6.38-gentoo
UseFastTLS 0, 1, 2
many other options in xorg.conf
many options to aticonfig
wiping /etc/ati/amdpcsdb every time I turn my head

I can't give you an Xorg.0.log; the system hangs before one gets made. At this point, I don't have any clue what versions of what packages and what configs and so forth are relevant, so I'm not going to post such things wildly. I'll gladly provide any further information upon request.

I need fast 3D acceleration, so, no, I won't use the open-source drivers, but I have confirmed that they work.

Thank you in advance.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun Apr 17, 2011 2:18 pm

Code: Select all

emerge wgetpaste
emerge --info | wgetpaste
rc-update show | wgetpaste
emerge -pv xorg-server $(qlist -IC x11-drivers) | wgetpaste
lspci -k | wgetpaste
wgetpaste /etc/env.d/90xsession
wgetpaste /etc/conf.d/xdm
ls -l /etc/X11/Sessions | wgetpaste
ls -l /boot | wgetpaste
wgetpaste /boot/grub/grub.conf
eselect kernel list | wgetpaste
awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config | wgetpaste
and post the url's returned
Defund the FCC.
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Sun Apr 17, 2011 3:20 pm

emerge --info: http://paste.pocoo.org/show/373327/
rc-update show: http://paste.pocoo.org/show/373288/
X versions/USE: http://paste.pocoo.org/show/373291/
lspci: http://paste.pocoo.org/show/373292/
90xsession: http://paste.pocoo.org/show/373295/
xdm: http://paste.pocoo.org/show/373296/
Sessions: http://paste.pocoo.org/show/373297/
/boot: http://paste.pocoo.org/show/373298/
grub.conf: http://paste.pocoo.org/show/373300/
symlink: http://paste.pocoo.org/show/373301/
.config: http://paste.pocoo.org/show/373302/
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun Apr 17, 2011 6:09 pm

I see differences but nothing I know to be a killer.
From your discussion, I wonder if you have radeon firmware blobs builtin the active kernel.
Setup the kernel to use the radeon-ucode firmware)
Device Drivers --->
Generic Driver Options --->
[*] Include in-kernel firmware blobs in kernel binary
# RadeonHD 2000, 3000, and 4000 series cards:
(radeon/R600_rlc.bin radeon/R700_rlc.bin) External firmware blobs
# RadeonHD 5000, a.k.a Evergreen, and newer cards:
(radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin
radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin radeon/CYPRESS_rlc.bin
radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_rlc.bin
radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin
radeon/REDWOOD_rlc.bin) External firmware blobs
# Radeon HD 6200/6300 aka. Ontario/Zacate:
(radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/SUMO_rlc.bin) External
firmware blobs
# Radeon HD 6400-6900 aka. Northern Islands:
(radeon/BARTS_mc.bin radeon/BARTS_me.bin radeon/BARTS_pfp.bin
radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin
radeon/CAICOS_pfp.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin
radeon/TURKS_pfp.bin) External firmware blobs
(/lib/firmware/) Firmware blobs root directory
as suggested in The X Server Configuration HOWTO . I also did the kms and radeon experiment thinking that I could have a single kernel capable of either fglrx or radeon selecting which with VIDEO_CARDS and/or modprobe and/or blacklist. I found that having the firmware blobs builtin killed fglrx. Suggest a kernel recompile wiith no radeon firmware blobs built in and with '[ ] Include in-kernel firmware blobs in kernel binary' disabled unless you have other builtin firmware.
drm as a module should be ok, but could cause problems. I have just recompiled a 2.6.38-gentoo-r2 kernel for a radeon hd5770 (similar) using:
~ # awk '/Graphics support/,/CONFIG_SOUND/' /usr/src/linux/.config
# Graphics support
# CONFIG_AGP is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
# CONFIG_DRM is not set
# CONFIG_STUB_POULSBO is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
# CONFIG_FB_CFB_FILLRECT is not set
# CONFIG_FB_CFB_COPYAREA is not set
# CONFIG_FB_CFB_IMAGEBLIT is not set
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_EFI is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_BACKLIGHT_MBP_NVIDIA is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=1024
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=m
The usual hurdles:

Code: Select all

emerge xorg-server $(qlist -IC x11-drivers)
modprobe fglrx
aticonfig --initial
eselect opengl set ati
Differences: VIDEO_CARDS="fglrx"
INPUT_DEVICES="evdev"
I added consolekit dbus hal policykit udev global USE flags and emerged consolekit dbus hal polkit udev and added consolekit dbus hald to the default runlevel in my multi year struggle with xorg. I no longer remember why. BTW hal just got removed from my testing branch world file as a blocker.
Defund the FCC.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Wed Apr 20, 2011 5:44 pm

calavicci

do not use fglrx and the os-driver . just set:

VIDEO_CARDS="fglrx"

in make.conf , remove:

x11-drivers/radeon-ucode-20110302
x11-drivers/xf86-video-ati-6.14.0
and if you want:
x11-drivers/xf86-video-vesa-2.3.0

and update your world.have you set opengl to ati :?: :

eselect opengl set ati

and :

emerge portage-utils; qlist -I -C x11-drivers/


i am on:

Calculating dependencies... done!
[ebuild R ] x11-base/xorg-server-1.9.5 USE="ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib" 5,051 kB [0]
[ebuild R ] x11-drivers/ati-drivers-11.3 USE="modules (multilib) qt4 -debug" 0 kB [1]

and 2.6.37 kernel
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Sun Apr 24, 2011 4:09 pm

So, having these things hanging around on the hard drive won't impair fglrx as long as I keep them away from the touchy parts of the kernel... not that I haven't tried in desperation already.

There are no such lines in make.conf; I assume this is an extension of the bit about VIDEO_CARDS?

Yes, opengl is set to ati.

Already posted the x11-drivers list above.
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Sun Apr 24, 2011 4:33 pm

I have no problems with ati-drivers which simply use an ebuild to do all the things you need to do manually if you do a direct download from ati/amd. I still suspect your problem is builtin firmware blobs; a problem for fglrx whether fglrx is installed manually or by ebuild.
Defund the FCC.
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Wed Apr 27, 2011 2:01 am

I have no firmware blobs built into the kernel, although I did when I was still playing with KMS. I have also tried entirely removing kernel DRM to no avail. If I recall correctly, that meant that the aforementioned cursor was not on my screen any more when the system froze, but nothing else apparent; am I dealing with two separate "freezes" simultaneously?
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Wed Apr 27, 2011 2:30 am

run

Code: Select all

X -retro
a black and white stipple screen with a moveable mouse will mean X is working
Defund the FCC.
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Sun May 01, 2011 4:10 am

X -retro has never given me anything different.

I've been fighting this for weeks; I really have tried EVERYTHING suggested for dealing with or testing the ATI drivers in any forum. If there's a solution out there, it's not a standard one, and it's not to be found anywhere on the web.
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Tue May 10, 2011 7:37 pm

Solved.

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: nVidia Corporation Device 0e22 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0beb (rev a1)
03:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
04:01.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
04:01.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:01.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
04:01.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [IR Port] (rev 05)
Top
KingYes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Thu Jan 17, 2008 10:31 pm
Location: Israel
Contact:
Contact KingYes
Website

  • Quote

Post by KingYes » Tue May 10, 2011 7:57 pm

Do u not have ATI card?
Top
calavicci
n00b
n00b
Posts: 50
Joined: Tue Mar 28, 2006 11:35 pm

  • Quote

Post by calavicci » Tue May 10, 2011 9:54 pm

Not as of today.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic