Cinnamon won't start after proprietary ATI driver install

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Locker
Level 1
Level 1
Posts: 2
Joined: Sat Apr 27, 2013 2:58 am

Cinnamon won't start after proprietary ATI driver install

Postby Locker » Sat Apr 27, 2013 4:00 am

Hello! I was using Xubuntu (with XFCE) before and I decided to try Linux Mint 14 "Nadia" with Cinnamon.
Everything looks nice, so I started my usual proprietary AMD Catalyst™ Display Driver version 13.1 installation process for my AMD Mobility Radeon™ HD 4250:
  • sudo rm -f /etc/X11/xorg.conf
  • reboot
  • sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core xserver-xorg-video-radeon xserver-xorg-video-ati
  • reboot
  • sudo sh ./amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run --buildandinstallpkg Ubuntu/precise
  • sudo aticonfig --initial
  • reboot

After that Cinnamon just won't start :(

Code: Select all

~ $ cinnamon

(cinnamon:17056): Gdk-ERROR **: The program 'cinnamon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 129 error_code 11 request_code 154 minor_code 24)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap


Here is installation output:

Code: Select all

~ $ sudo sh ./amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run --buildandinstallpkg Ubuntu/precise
Created directory fglrx-install.lC6Kkg
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.7....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating and Installing package: Ubuntu/precise
Package /home/gim/fglrx_8.970-0ubuntu1_amd64.deb has been successfully generated
Package /home/gim/fglrx-dev_8.970-0ubuntu1_amd64.deb has been successfully generated
Package /home/gim/fglrx-amdcccle_8.970-0ubuntu1_amd64.deb has been successfully generated
Selecting previously unselected package fglrx.
(Reading database ... 163252 files and directories currently installed.)
Unpacking fglrx (from fglrx_8.970-0ubuntu1_amd64.deb) ...
Selecting previously unselected package fglrx-amdcccle.
Unpacking fglrx-amdcccle (from fglrx-amdcccle_8.970-0ubuntu1_amd64.deb) ...
Setting up fglrx (2:8.970-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.970 DKMS files...
First Installation: checking all kernels...
Building only for 3.5.0-17-generic
Building for architecture amd64
Building initial module for 3.5.0-17-generic
Error! Bad return status for module build on kernel: 3.5.0-17-generic (amd64)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle (2:8.970-0ubuntu1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
Warning: No support for locale: en_US.utf8
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
fglrx_8.970-0ubuntu1_amd64.deb fglrx-amdcccle_8.970-0ubuntu1_amd64.deb
Cleaning up removed packages
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-3
Removing temporary directory: fglrx-install.lC6Kkg


I noticed these two lines here:

Code: Select all

Error! Bad return status for module build on kernel: 3.5.0-17-generic (amd64)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.


Here is /var/lib/dkms/fglrx/8.970/build/make.log:

Code: Select all

DKMS make.log for fglrx-8.970 for kernel 3.5.0-17-generic (amd64)
Sat Apr 27 10:15:13 EEST 2013
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.5.0-17-generic/build SUBDIRS=/var/lib/dkms/fglrx/8.970/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
  CC [M]  /var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c: In function 'KCL_MEM_AllocLinearAddrInterval':
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c:2152:5: error: implicit declaration of function 'do_mmap' [-Werror=implicit-function-declaration]
/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.c:2152:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/fglrx/8.970/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.970/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make: *** [kmod_build] Error 2
build failed with return value 2


Why is that happening? I did something wrong? In Xubuntu 12.04 it works fine.
And yes, linux-headers-generic is installed

Locker
Level 1
Level 1
Posts: 2
Joined: Sat Apr 27, 2013 2:58 am

Re: Cinnamon won't start after proprietary ATI driver instal

Postby Locker » Sat Apr 27, 2013 5:15 am

Ahh, looks like I downloaded wrong version of Linux Mint, "Nadia" is based on Ubuntu 12.10 (which is not supported by this driver), not 12.04. That is probably the case, so I am going to install Linux Mint 13 "Maya" now

UPD: On 13 "Maya" everything works fine


Return to “Graphic Cards & Monitors”

Who is online

Users browsing this forum: No registered users and 2 guests