LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-17-2009, 08:25 AM   #1
vendetta007
LQ Newbie
 
Registered: Apr 2007
Location: Los Angeles, CA
Distribution: Fedora Core 10
Posts: 16

Rep: Reputation: 0
Question fglrx operation not permitted


I've been trying to install and run the ATI proprietary drivers and I've been having significant headaches. Any assistance would be greatly appreciated.

Running Fedora Core 10 on a Sony Vaio VGN-AX580G laptop with the Radeon x700 video card. The current kernel is 2.6.27.19-170.2.35.fc10.i386 package. I've read that you cannot have the radeon module loaded at the same time as the fglrx module but I have not yet discovered the secret to preventing the radeon module from loading. I've even gone so far as adding it to my modprobe blacklist, but it still loads. I am fairly certain this is the root of my issue. Any and all help would be greatly appreciated.

fglrxinfo output:
Code:
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  15
  Current serial number in output stream:  15
modprobe -v fglrx output:
Code:
insmod /lib/modules/2.6.27.19-170.2.35.fc10.i686/kernel/drivers/char/drm/fglrx.ko 
FATAL: Error inserting fglrx (/lib/modules/2.6.27.19-170.2.35.fc10.i686/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
lsmod output:
Code:
Module                  Size  Used by
nls_utf8                5632  1 
fuse                   49436  2 
rfcomm                 33808  4 
bridge                 43668  0 
stp                     6148  1 bridge
bnep                   14848  2 
sco                    12932  2 
l2cap                  21504  16 rfcomm,bnep
sunrpc                156052  3 
ipt_LOG                 8836  4 
xt_limit                6020  8 
nf_nat_ftp              6400  0 
nf_conntrack_ftp       10660  1 nf_nat_ftp
iptable_mangle          6656  1 
iptable_nat             8712  0 
nf_nat                 17944  2 nf_nat_ftp,iptable_nat
cpufreq_ondemand        9996  1 
acpi_cpufreq           12172  0 
dm_multipath           17164  0 
uinput                 10624  0 
snd_hda_intel         353812  3 
snd_seq_dummy           6660  0 
snd_seq_oss            30364  0 
snd_seq_midi_event      9600  1 snd_seq_oss
snd_seq                48576  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10124  3 snd_seq_dummy,snd_seq_oss,snd_seq
gspca_vc032x           19712  0 
snd_pcm_oss            42496  0 
gspca_main             21504  1 gspca_vc032x
snd_mixer_oss          16896  1 snd_pcm_oss
videodev               32000  1 gspca_main
i2c_i801               12048  0 
snd_pcm                65924  2 snd_hda_intel,snd_pcm_oss
ipw2200               126280  0 
v4l1_compat            15876  1 videodev
iTCO_wdt               13732  0 
btusb                  14360  3 
pcspkr                  6272  0 
iTCO_vendor_support     6916  1 iTCO_wdt
snd_timer              22024  2 snd_seq,snd_pcm
joydev                 12736  0 
firewire_ohci          22532  0 
snd_page_alloc         11016  2 snd_hda_intel,snd_pcm
bluetooth              48608  11 rfcomm,bnep,sco,l2cap,btusb
firewire_core          35616  1 firewire_ohci
ieee80211              27464  1 ipw2200
sata_sil               11016  0 
snd_hwdep              10500  1 snd_hda_intel
ieee80211_crypt         8324  1 ieee80211
usb_storage            86280  1 
yenta_socket           24972  1 
snd                    50616  16 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
rsrc_nonstatic         13568  1 yenta_socket
tifm_7xx1               9216  0 
sony_laptop            32220  0 
video                  20500  0 
sky2                   42500  0 
tifm_core              10268  1 tifm_7xx1
crc_itu_t               5760  1 firewire_core
output                  6528  1 video
soundcore               9416  1 snd
ata_generic             8452  0 
pata_acpi               7680  0 
sha256_generic         16000  0 
cbc                     7168  2 
aes_i586               11520  4 
aes_generic            31016  1 aes_i586
dm_crypt               15108  1 
crypto_blkcipher       17924  4 cbc,dm_crypt
radeon                237144  2 
drm                   157364  2 radeon
i2c_algo_bit            8836  1 radeon
i2c_core               21268  4 i2c_i801,radeon,drm,i2c_algo_bit
Current xorg.conf
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "catalogue:/etc/X11/fontpath.d"
	FontPath     "built-ins"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
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"
	Option      "AccelMethod" "XAA"
	Driver      "fglrx"
	BusID       "PCI:1: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
Xorg.0.log filtered for warnings and errors:
Code:
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) fglrx(0): Failed to initialize ASIC in kernel.
(EE) fglrx(0): [FB] Can not get FB MC address range.
(EE) fglrx(0): Unknown EDID version 0
(EE) fglrx(0): Failed to enable interrupts.
(EE) fglrx(0): DRIScreenInit failed!
(EE) fglrx(0): XMM failed to open CMMQS connection.
(EE) Microsoft Microsoft Wireless Optical Mouse? 1.00: Read error: No such device
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Falling back to old probe method for fglrx
(WW) This ATI Proprietary Linux Driver does not guarantee support of video driver ABI higher than 2.0
(WW) Video driver ABI version of the X server is 4.1
(WW) fglrx(0): Failed to get kernel info
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Only one display is connnected,so single mode is enabled
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(WW) fglrx(0): Option "AccelMethod" is not used
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used

Last edited by vendetta007; 03-17-2009 at 08:26 AM. Reason: typo correction
 
Old 03-18-2009, 05:11 AM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
have you rebooted the computer after fglrx installation (complete reboot, not only x restart) ? If not, please try that. If this has no impact, can you post the comlete Xorg.0.log on pastebin.com.
 
Old 03-19-2009, 08:11 PM   #3
vendetta007
LQ Newbie
 
Registered: Apr 2007
Location: Los Angeles, CA
Distribution: Fedora Core 10
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, I've tried rebooting several times and even going to runlevel 3 to try and remove the radeon driver and insert the fglrx driver. no luck in those attempts. Somehow the radeon module is required by the i2c_algo_bit module and the i2c_algo_bit module is required by the radeon module. its a weird catch 22 mess that has me confused. anyway, here is the full xorg.0.log output.

http://pastebin.com/m5f04b93d

thanks for the help!
 
Old 03-27-2009, 08:55 PM   #4
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Rep: Reputation: 15
Vendetta, I have a similar problem as yours. Maybe we can help each other. I am running debian Lenny. This is the output of
Code:
$  less /var/log/Xorg.0.log |grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
(WW) fglrx(0): Failed to open DRM connection
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Only one display is connnected,so single mode is enabled
(WW) fglrx(0): No DRM connection for driver fglrx.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(WW) fglrx(0): Textured Video not supported without DRI enabled.
I have two kernels: the old 2.6.18 from the previous debian version (etch), where fglrx driver works without error (2D support but no 3D because is an older driver).

So the warnings above is from the new kernel 2.6.26-amd64 that was installed recently.

Maybe our common problem (DRI initialization failed) is because the fglrx driver is not compatible for the current kernel?

What I did is to upgrade debian etch to lenny (instead of deleting old stuff and installing everything). That is why I have the old and new kernels to boot from. Did you do something similar?

I dont want to delete the fglrx driver because of the risk of loosing functional old kernel. By the way, the new kernel is not using fglrx (the older kernel does for sure) and is a pain to scroll using firefox (slow and wavy) :-(

Code:
$ fglrxinfo
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.4)
do you have the same HD3200 integrated graphics card?
 
Old 03-27-2009, 10:09 PM   #5
vendetta007
LQ Newbie
 
Registered: Apr 2007
Location: Los Angeles, CA
Distribution: Fedora Core 10
Posts: 16

Original Poster
Rep: Reputation: 0
Running Fedora on my box and unfortunately I don't know anything about Debian. It was a fresh install but I've been keeping it updated through Yum. The kernel I'm running is 2.6.27.19. Sorry, I guess I'm not much help to you. This is my first real attempt to run a GUI on Linux. Most of the time I run my Linux CLI only.
 
Old 03-28-2009, 12:39 PM   #6
Maxei
Member
 
Registered: Mar 2005
Posts: 84

Rep: Reputation: 15
Quote:
Originally Posted by vendetta007 View Post
Running Fedora on my box and unfortunately I don't know anything about Debian. It was a fresh install but I've been keeping it updated through Yum. The kernel I'm running is 2.6.27.19. Sorry, I guess I'm not much help to you. This is my first real attempt to run a GUI on Linux. Most of the time I run my Linux CLI only.
Have you managed to solve your problem? In my case I have one freaky doubt: It may be possible for me to install the fglrx-driver (I can see this package in synaptic as not yet installed) but I am freaking that if installing it along with the fglrx-kernel-src package, it will screw out the older kernel.

I Need to find this information: Does anyone know if installing the fglrx-driver package for the newest kernel, it will also overwrite the settings (deleting the older fglrx) in the older kernel? This is the question is keeping me from acting. Thanks if someone can inform me.
 
Old 04-03-2009, 01:45 AM   #7
sieira
Member
 
Registered: Dec 2007
Location: Alcal de Henares (Madrid)
Distribution: Debian
Posts: 40

Rep: Reputation: 16
I installed fglrx with ati-installer from ATI webpage on debian squeeze; this way everything went fine.

I had to dist-upgrade in order to have my ath9k wireless card working, but then X badly freezes system on boot (no ctrl+alt+supr or SysReq+(REISUB)); nothing is shown in any log at /var (or i couldn't see it) but this:

Code:
(EE) fglrx(0): [FB] Can not get FB MC address range.

Which is always the las logged event in kdm.0.log, I think this is related with yours.

I've found this, which seems be my problem's solution: I'm currently at job, hope this help you (and me...)

Last edited by sieira; 04-03-2009 at 01:59 AM.
 
Old 04-23-2009, 10:43 PM   #8
vendetta007
LQ Newbie
 
Registered: Apr 2007
Location: Los Angeles, CA
Distribution: Fedora Core 10
Posts: 16

Original Poster
Rep: Reputation: 0
Solution

UPDATE and WIN!!!!

Ok, well apparently the original kernel I was running was forcing the radeon module to load at boot which is why I couldn't get around it. So, by following the instructions in this post:

http://forums.fedoraforum.org/showth...3&page=1&pp=10

I was able to get my fglrx module to load and there was much rejoicing!

the only quirk to the instructions listed in the link above is that I had to manually download the rpmfusion non-free rpm file and manually install it as well. For some reason it wouldn't automatically download and install it for me. Beyond that the instructions were perfect for me and I'm now a lot happier camper!

I hope this helps someone else down the road.

and in case the other post gets eaten at some point in time, here is a direct quote for the Fedora Core 10 section.

Code:
Howto for F10


Click this link to make sure your card is supported by this driver ( ATI cards 9250 and below are unsupported )


1. Update kernel

Code:
Code:
su
yum update kernel
reboot to the new kernel 2. Install driver ( if you previously downgraded libdrm you will need to upgrade to the F10 version first see end of post ~1 for instructions ) install the F10 rpmfusion driver Code:
Code:
su -
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum  install kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs.i386
Or (akmod builds the required kmod on bootup ) Code:
Code:
su -
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
yum  install akmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs.i386
3. Backup Old initrd Code:
Code:
su
mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
Remake initrd for the kernel (So the radeon module is not force loaded) Code:
Code:
su -
mkinitrd -v /boot/initrd-`uname -r`.img  `uname -r`
4. Edit grub.conf Code:
Code:
su
gedit /boot/grub/grub.conf
and add this "nopat" to the kernel arguments. Optional (in case libdrm change breaks things due to relationship with KMS): add "nomodeset" to end of kernel arguments 5. Reboot due to the akmod, it is *absolutely necessary* to reboot after the install, otherwise the kernel module won't be compiled. 6. Optional install compiz-fusion. http://forums.fedoraforum.org/showpo...05&postcount=1
 
  


Reply

Tags
fc10, fglrx, radeon


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
Operation not permitted prasunhowlader Linux - Newbie 3 08-20-2008 09:29 PM
Operation not permitted jakkals Linux - General 3 09-26-2005 07:30 PM
su - operation not permitted jrtayloriv Linux - Newbie 2 06-09-2005 09:27 PM
operation not permitted jamaso Slackware 2 05-08-2004 05:55 AM
Operation not permitted FrozenShadow23 Linux - Newbie 6 10-05-2003 05:13 PM


All times are GMT -5. The time now is 11:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration