LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-31-2013, 07:48 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
jessie: ATI radeon (fglrx driver) not working


Hya,

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
So far
I checked that correct packages were installed. (fglrx related ones.)

I checked logs and found that Xorg.log.0 contained following error.
Code:
(EE) fglrx(0): atiddxDriScreenInit failed. Probably kernel module missing or incompatible.
This thread probably suggests to build fglrx driver, which I have not done yet.

When I recompile kernel, I do "make oldconfig", so probably options in need are checked. (I have not checked yet)

Current work around
Use old kernel. (For some reason, it works)

Last edited by kaz2100; 09-01-2013 at 08:47 PM. Reason: forgotten code and link (typo also)
 
Old 08-31-2013, 10:17 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 09-02-2013, 09:17 PM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Thanks for your comment.

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.

cheers.
 
Old 09-03-2013, 12:15 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Does that mean your problem is solved? Does your card work with radeon (without fglrx). I'm not sure I understand what you're saying.
jdk
 
Old 09-05-2013, 12:07 AM   #5
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

I regret to say, but I still have this problem.

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'
cheers!
 
Old 09-05-2013, 04:55 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
You've lost me there. Are you trying to compile fglrx? If you're not using fglrx why do you say this?
Quote:
I tried to run without fglrx, which beautifully failed.
You don't need to compile fglrx if you're using radeon. Please explain what you want to do.
jdk
 
Old 09-05-2013, 05:36 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by kaz2100 View Post
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.
 
Old 09-06-2013, 01:29 AM   #8
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

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.

cheers
 
Old 09-06-2013, 07:19 AM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

I tried "fglrx-kernel-13.4" instead of "fglrx-modules-dkms".

Still in trouble, same error message on Xorg.0.log.
Code:
.
.
[   849.881] (EE) fglrx(0): atiddxDriScreenInit failed. Probably kernel module missing or incompatible. 
[   849.881] (WW) fglrx(0): ***********************************************************
[   849.881] (WW) fglrx(0): * DRI initialization failed                               *
[   849.881] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
[   849.881] (WW) fglrx(0): * 2D and 3D acceleration disabled                         *
[   849.881] (WW) fglrx(0): ***********************************************************
"glxinfo" also gives me same error as post #1.

cheers

P.S.
In my previous post (#7), "an historical reason" was a kind of typo. LOL
 
Old 09-06-2013, 08:45 AM   #10
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
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
  • Revert back to Wheezy
  • Use the open-source driver
 
Old 09-07-2013, 04:15 AM   #11
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

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....)

cheers
 
Old 09-08-2013, 07:06 AM   #12
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

self reply.

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
 
Old 09-09-2013, 12:52 AM   #13
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You do know that the driver is available in non-free repos?
http://packages.debian.org/jessie/fglrx-driver
 
Old 09-09-2013, 08:04 PM   #14
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Original Poster
Rep: Reputation: 108Reputation: 108
Hya,

Thanks for your comment.

Yes, I have checked debian repos (jessie, experimental). Also directly from ati.amd.com. Not all combinations (kernel/fglrx) were checked, tho.

I was careless when uninstall fglrx, this is how I muffed my penguin.

Currently, kernel 3.2 is OK.
No success with 3.9, 3.10.

cheers.
 
Old 09-11-2013, 12:27 AM   #15
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by kaz2100 View Post
Hya,

Thanks for your comment.

Yes, I have checked debian repos (jessie, experimental). Also directly from ati.amd.com. Not all combinations (kernel/fglrx) were checked, tho.

I was careless when uninstall fglrx, this is how I muffed my penguin.

Currently, kernel 3.2 is OK.
No success with 3.9, 3.10.

cheers.
Try using synaptic package manager it's there if you have non-free contrib in your /etc/apt/sources.list

Last edited by EDDY1; 09-11-2013 at 12:29 AM.
 
  


Reply

Tags
bug, debian, fglrx, jessie



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
[SOLVED] ATI Radeon fglrx driver install Alpo Linux - Newbie 18 07-30-2011 09:16 PM
Problem of Radeon M300 with ATI fglrx Driver! shreks Linux - Hardware 1 02-11-2006 03:37 PM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
Fedora core 2 vs. ATI's Radeon fglrx driver IgD Red Hat 0 03-14-2004 04:17 AM
I Need help to install fglrx driver for ATI Radeon 9600 reza_s Linux - Newbie 2 02-09-2004 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:36 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