If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Impossible install it on ubuntu 11.10 x64 frist i made a deb packs and it installs but no opengl only 2d driver in ccc. Then i removed all and installed it another way but it failed too with hung before login screen and then i batteled remove all and use 11.8, but 11.10 catalyst no go.

so I have worked out a workaround for the time being. I added "insmod /lib/modules/`uname -r`/updates/kms/fgrlx.ko" to /etc/rc.local.
that loads the module fine, and then u have to restart x by restarting lightdm to get everything to load right ( either switch into a VT then back, or login and logout, or I guess u could add something like service lightdm restart to /etc/rc.local).

As far as I can see the problem seems to be that modprobe cannot find fglrx. For the life of me I can't figure out why seems it seems to be listed correctly in the modules.dep file and all the other modules files in the kernels /lib/modules directory. When u try to use modprobe maunally to load fglrx, u get something like "Fatal Error: cannot find module fglrx" (thats not it exactly, i'm not on that desktop at the moment so can't test it)

Thanks!

Originally Posted by chronniff

so I have worked out a workaround for the time being. I added "insmod /lib/modules/`uname -r`/updates/kms/fgrlx.ko" to /etc/rc.local.
that loads the module fine, and then u have to restart x by restarting lightdm to get everything to load right ( either switch into a VT then back, or login and logout, or I guess u could add something like service lightdm restart to /etc/rc.local).

As far as I can see the problem seems to be that modprobe cannot find fglrx. For the life of me I can't figure out why seems it seems to be listed correctly in the modules.dep file and all the other modules files in the kernels /lib/modules directory. When u try to use modprobe maunally to load fglrx, u get something like "Fatal Error: cannot find module fglrx" (thats not it exactly, i'm not on that desktop at the moment so can't test it)

b) in the case you want to use X without suid you only need to load a module manually that has got no alias entries. currently nvidia + fglrx have got them (i even parse those to get a whitelist for my script), feel free to look into common/lib/modules/fglrx/build_mod/fglrxko_pci_ids.h. with alias entries udev would load em automatically - when there is no blacklist.

the problem running X without suid is that udev could be too slow to load the module when X should be started very soon, in that case you can put the module name in

/etc/modules

and create the initrd again, then it is usually loaded in the initrd phase already. this hack was definitely never needed for any debian/ubuntu systems. basically you never have to worry about it if you don't want to get rid of suid which is for example done in moblin. Also you would need additional udev rules for the devices created by the modules that a normal user can write em. I am not sure if you really gain much with it.

haha thanks man, I appreciate it the criticism, however I wasn't posting the command as something I was proud of, nor was I trying to run X without suid. All I was trying to accomplish was getting my stupid system to load the fglrx driver, which it inexplicably won't do on its own with 11.10. Obviously using rc.local wasn't my first choice in fixing this issue.

I am aware that fglrx has aliases, however that doesn't seem to satisfy my system, which doesn't seem to recognize fglrx as a module to be loaded. using the /etc/modules and recreating the initrd doesn't do anything either. manually using modprobe gives me this error "FATAL: Module not found". I'm actually glad u responded, since I have been a fan of ur script since I got this card (5770) and had to deal with this god forsaken driver. In fact when it first didn't work, I tried ur script to see if u had dealt with whatever is going on, but no luck there.

The only way I can find to load fglrx is to insmod the modules path. I did not have this problem with 11.9, so something has gone wrong for me with this release. If u have any ideas as to what might be going on, please let me know, until then I'm forced to use my inelegant hack that gets the job done if I want to use 11.10