[SOLVED] jessie: ATI radeon (fglrx driver) not working
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
System
Debian jessie (current), amd64
graphic chip Radeon HD 6290
Problem
glx gets non functional, after dist upgrade (and kernel recompile. 3.2.41 -> 3.10.7)
Error messages follow:
Code:
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 139 (ATIFGLEXTENSION)
Minor opcode of failed request: 66 ()
Serial number of failed request: 13
Current serial number in output stream: 13
Have you tried using the "radeon" driver of that kernel? I'm using that driver on a 3.10-9.dmz.1-liquorix-amd64 kernel and it works fine. My graphics card is Radeon HD 4350/4550. I used to compile fglrx but I haven't needed to do that for years.
jdk
I checked and I do have radeon (kernel option) on. I guess that your card works without fglrx. I have a quite old Penguin with an ATI chopset, which works without fglrx.
I tried to run without fglrx, which beautifully failed.
"/var/lib/dkms/fglrx/13.4/build/make.log" reads like this:
Code:
DKMS make.log for fglrx-13.4 for kernel 3.10.7 (x86_64)
Thu Sep 5 13:48:58 JST 2013
make: Entering directory `/usr/src/linux-source-3.10'
LD /var/lib/dkms/fglrx/13.4/build/built-in.o
CC [M] /var/lib/dkms/fglrx/13.4/build/firegl_public.o
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘firegl_debug_proc_read_wrap’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:539:5: warning: passing argument 2 of ‘firegl_debug_proc_read’ makes pointer from integer without a cast [enabled by default]
In file included from /var/lib/dkms/fglrx/13.4/build/firegl_public.c:198:0:
/var/lib/dkms/fglrx/13.4/build/firegl_public.h:411:25: note: expected ‘char **’ but argument is of type ‘size_t’
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:539:5: warning: passing argument 5 of ‘firegl_debug_proc_read’ makes pointer from integer without a cast [enabled by default]
In file included from /var/lib/dkms/fglrx/13.4/build/firegl_public.c:198:0:
/var/lib/dkms/fglrx/13.4/build/firegl_public.h:411:25: note: expected ‘int *’ but argument is of type ‘size_t’
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: At top level:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:624:3: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:624:3: warning: (near initialization for ‘firegl_debug_fops.write’) [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘KCL_GetEffectiveUid’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:1616:5: error: incompatible types when returning type ‘kuid_t’ but ‘KCL_TYPE_Uid’ was expected
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘KCL_EFI_IS_ENABLED’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:3161:5: warning: return makes integer from pointer without a cast [enabled by default]
/var/lib/dkms/fglrx/13.4/build/firegl_public.c: In function ‘KCL_GetEffectiveUid’:
/var/lib/dkms/fglrx/13.4/build/firegl_public.c:1620:1: warning: control reaches end of non-void function [-Wreturn-type]
make[1]: *** [/var/lib/dkms/fglrx/13.4/build/firegl_public.o] Error 1
make: *** [_module_/var/lib/dkms/fglrx/13.4/build] Error 2
make: Leaving directory `/usr/src/linux-source-3.10'
glx gets non functional, after dist upgrade (and kernel recompile. 3.2.41 -> 3.10.7)
Why are you compiling that kernel when it is available in testing anyway...? Just install the 3.10 kernel from testing and reinstall fglrx from testing.
I usually compile kernel for an historical reason. Actually, when I started Slack quite a while ago (beginning of 2.0 age), kernel compiling was the second step in installation to get working peripherals.
3.10.7 source code is from Debian repository.
I will try your suggestion. If it works, I will try to pinpoint where problem is.
More than likely it's broken because the last Catalyst stable build was on the 29th of May, so it's probably no longer compatible with the 3.10 kernel. AMD updates their drivers about once a century (at least in comparison to Intel and Nvidia), so they don't work very well on a rolling-release. You pretty much have 4 options at this point:
Try installing the beta driver
Look and see if anyone has released a patch for fglrx for the 3.10 kernel
I found following about beta driver on ati.amd.com.
Quote:
Last Updated
8/19/2013
Article Number
RN-LN-B13.8
Highlights of the AMD Catalyst™ 13.8 Beta Driver for Linux:
This release of AMD Catalyst™ Linux introduces support for the following new features:
OpenGL 4.3 support
Dynamic primary surface resizing
Kernel 3.10 support
SLED 11 SP3 support
I tried to install it, however everything screwed up. I will try tomorrow.
Debian repo is 13.4. beta is 13.8. (I am an idiot....)
I installed fglrx-driver package from debian experimental repository, which is 13.8 beta.
Installation goes with minor trouble. I needed "aticonfig --initial".
X session looks good, however glx dies.
Code:
>glxinfo
name of display: :0.0
Segmentation fault
Setting an shell environment, LIBGL_DEBUG, does not help at all.
I do not see obvious error on Xorg.log.
cheers
P.S.
I have not found any patch for 3.10 so far.
I do not have much incentive to go back wheezy, (I would stay jessie and go back to kernel 3.9)
An open source driver does not work with my chipset.
+++++++++ added
For the time being, I downgrade to 3.2 with fglrx packages in debian jessie repo.
Last edited by kaz2100; 09-08-2013 at 07:04 PM.
Reason: last section added
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.