LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-30-2007, 01:15 PM   #1
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Radeon propriety driver, graphic glitches


Hi there

I have been using the ATI propriety fglrx drivers for my ATI Radeon 300 card for a while now but recently (after kernel update ?), things have started to act up.

1. My LCD`s now run in 1280x1024 mode, 1440x900 is unavailable, while it was supported AND working before.

2. The mouse icon randomly changes in a filled rectangle with transparent lines. This, however is a minor thing, since I can move the pointer to the top of the screen and it will go away.

3. In the right bottom corner of my left display, a square box appears with vertical and horizontal bars. The space between the bars is transparent and the exact color/pattern seems to depend on the color of the desktop or program behind the box.

It IS possible to get rid of that box, by either restarting X, or by running amdcccle, and clicking on the button `Identify Displays`. My guess is that it draws those boxes to the root window, thus triggering a redraw over the garbled square in the right bottom corner.

Any help is greatly appreciated.

And now for some more info:

lspci:

Quote:
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
lsmod:
Quote:
Module Size Used by
fglrx 1485932 29
Kernel: 2.6.23.9-85.fc8 on Fedora 8 (i386)

fglrxinfo
Quote:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X300/X550/X1050 Series
OpenGL version string: 2.1.7170 Release
fgl_glxgears
Resolution of test window: 1172x901

Quote:
Using GLX_SGIX_pbuffer
348 frames in 5.0 seconds = 69.600 FPS
xorg.conf

Quote:
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
EndSection

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

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

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "DesktopSetup" "horizontal"
BusID "PCI:1:0:0"
EndSection

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

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

Section "Screen"
Identifier "aticonfig-Screen[1]"
Device "aticonfig-Device[1]"
Monitor "aticonfig-Monitor[1]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
And some clues from the kernel ring:

Quote:
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000005 not found in mutex list
amdcccle[2983]: segfault at 00000004 eip 007e32a4 esp bf82baa0 error 4
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000005 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000006 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000007 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000008 not found in mutex list
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000005 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000006 not found in mutex list
[fglrx] PCIe has already been initialized. Reinitializing ...
[fglrx] Reserve Block - 0 offset = 0X0 length = 0X40000
[fglrx] Reserve Block - 1 offset = 0X7fc0000 length = 0X40000
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000005 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000006 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000007 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000008 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x00000009 not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x0000000a not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x0000000b not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x0000000c not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x0000000e not found in mutex list
[fglrx:firegl_free_mutex] *ERROR* mutex id 0x0000000f not found in mutex list

Last edited by x_terminat_or_3; 12-30-2007 at 01:20 PM. Reason: Forgot dmesg output
 
Old 12-30-2007, 03:03 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
for 2 and 3 add an option to the Device section of your xorg.conf file;
Code:
	Option		"XAANoOffscreenPixmaps" "true"
Here's a copy of what I in my /etc/X11/xorg.conf file for comparison;
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1280x800"
#	HorizSync    31.5 - 90.0
#	VertRefresh  59.9 - 60.1
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier	"Videocard0"
	Driver		"fglrx"
	Option		"VideoOverlay" "on"
	Option		"Centermode" "off"
	Option		"UseFastTLS" "0"
	Option		"BlockSignalsOnLock" "on"
	Option		"ForceGenericCPU" "off"
	Option		"KernelModuleParm" "locked-userpages=0"
	Option		"UseInternalAGPGART" "no"
	Option		"XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "ServerFlags"
	Option	    "AIGLX" "on"
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "False"
	Option       "XVideo"   "Enable"
EndSection
 
Old 12-30-2007, 03:29 PM   #3
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Original Poster
Rep: Reputation: 38
Hi Lenard.

Thank you for taking the time to help me.

I have downgraded to a previous ATI driver (8.40.4), and have added the options you gave me to the configuration file.

After reboot, I now have: 1. my native resolution (YES!), 2. no mouse weirdness, 3. no box weirdness!

Alas, DRI is gone as well!

LIBGL_DEBUG=verbose glxinfo
Quote:
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libGL error: XF86DRIQueryDirectRenderingCapable failed
display: :0 screen: 0

fglrxinfo
Quote:
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.2)

I suppose I could live with that, but if you happen to know how to get the same behavior with DRI active, I`d be very much interested.

Cheers and Happy 2008
 
Old 12-30-2007, 04:36 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
1. Try using the newer driver you replaced using my xorg.conf file as a guide.


2. Use the latest driver supplied by ATI;

http://ati.amd.com/support/drivers/l...ux-radeon.html

# sh ati-driver-installer--8.443.1-x86.x86_64.run --buildpkg Fedora/F8


3. Build the ati-x11-drv-8.43.3 driver from the source rpm with the 2.6.23 kernel patch;

The source rpm package: http://ftp.freshrpms.net/pub/freshrp...-2.fc7.src.rpm

This goes someplace like the /usr/src/redhat/SOURCES directroy (the same place as the other patch from the source rpm)

The patch: http://ati.cchtml.com/attachment.cgi?id=466&action=view


The spec file edits, Part 0:

Summary: Proprietary ATI hardware accelerated OpenGL display driver
Name: ati-x11-drv
Version: 8.42.3
Release: 4%{dist}

Part1:

URL: http://ati.amd.com/support/drivers/l...ux-radeon.html
Source0: http://www2.ati.com/drivers/linux/ati-driver-installer-%{version}-x86.x86_64.run
Source1: Makefile.fglrx
Source2: README-rpm
Patch0: ati-x11-drv-8.42.3-sleep.patch
Patch1: fglrx-842-2623.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# Required for proper dkms operation

Part2:

%prep
%setup -T -c
# Extract the "sources"
sh %{SOURCE0} --extract .
%patch0 -p1
%patch1 -p1
# Fix for FC6 kernels
# %{__perl} -pi -e 's|#include <linux/config.h>||g' \

The build command: rpmbuild -bb --define 'dist .f8' ati-x11-drv.spec

Last edited by Lenard; 12-30-2007 at 04:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Graphic Glitches njdube Linux - Hardware 1 12-30-2006 12:23 AM
Graphic Driver: How to set up Livna graphic support? Chuong Linux - Software 11 08-20-2006 01:15 AM
what is propriety? santasballz Linux - Newbie 3 02-24-2004 06:27 PM
IBM T30 with Knoppix 3.3 (Debian) need graphic driver for Radeon 7500 Shengren Linux - Hardware 2 02-21-2004 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration