[Ubuntu-x-swat] [Bug 440233] Re: fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf

2010-05-31 Thread Zhao Zheng
Bryan,

Thanks for the howto link. I actually had it in my bookmarks some weeks
ago but did not get back to read it since my driver was ok at the
beginning. I will read it more carefully now and see if I can make some
more progress.

Sorry for the confusion, but I should have made it clear that I am aware
of using 'sudo'. The reason that I still don't have the
/var/lib/dkms/fglrx folder, I think, is due to this error message:

[Error] Kernel Module : Removing fglrx-8.723 from DKMS

This actually was resulted from the confliction of kernel version, which
I think I got the work around in my last post. In other words, this
folder was created during the installation, but due to the error in the
'make' command, this folder is then wiped away. However, to really get
the problem solved, I will learn the info in your link to see if I
missed something. Meanwhile, I see that ati has posted a new version of
catalyst last week. Maybe that can give some improvements as well. I
will also try it tonight back home.

-- 
fglrx fails at startup because of missing  amdpcsdb.default + removal leaves 
bad settings in Xorg.conf
https://bugs.launchpad.net/bugs/440233
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 440233] Re: fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf

2010-05-30 Thread Zhao Zheng
Bryan,

Thanks for the very quick reply. I have checked my install log. It looks like 
that it is saying it cannot find my kernel:
---
Creating symlink /var/lib/dkms/fglrx/8.723/source -
 /usr/src/fglrx-8.723

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or 
you could install the linux-headers-2.6.31-14-generic package.
[Error] Kernel Module : Failed to build fglrx-8.723 with DKMS
[Error] Kernel Module : Removing fglrx-8.723 from DKMS
-
To know what --kernelsourcedir I could give, I checked man dkms. It says 
usually this kernel source is in /lib/modules/$kernel_version/build. However, I 
did not find this folder 'build' in my /lib/modules/2.6.31-14/ at all. I 
checked another kernel in my system. It has a build folder, but it is pointing 
to /usr/src/linux-hearders-2.6.32.22, not the one I would need for 2.6.31-14. 
In /usr/src there is no such folder. I am not sure if I can install this? The 
problem is, I cannot boot to the 2.6.32-22 kernel at all because I got only a 
black screen, even in recovery mode.

I tried to just copy the build folder from /lib/modules/2.6.32-22/build to the 
one of 2.6.31-14. Now I get a different error in the install log:
---
Creating symlink /var/lib/dkms/fglrx/8.723/source -
 /usr/src/fglrx-8.723

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area
cd /var/lib/dkms/fglrx/8.723/build; sh make.sh --nohints 
--uname_r=2.6.31-14-generic --norootcheck(bad exit status: 1)
0
0
[Error] Kernel Module : Failed to build fglrx-8.723 with DKMS
[Error] Kernel Module : Removing fglrx-8.723 from DKMS
--

So it now looks like dkms has problem when 'cd 
/var/lib/dkms/fglrx/8.723/build'. I checked my folder there in /var/lib/dkms, 
there is only one single file dkms_dbversion. I thought maybe it is just too 
shy to make such a folder there. So I created the folders /fglrx/8.723/build in 
my /var/lib/dkms. Now the install log (/usr/share/ati/fglrx-install.log) 
changed to:
--
Errors during DKMS module removal
Errors during DKMS module removal
[Error] Kernel Module : Failed to add fglrx-8.723 to DKMS


It is just not very logical to me. It failed to remove old module. Apparently I 
don't have one. But it is still not installing a new one. So in the end I still 
cannot have a working driver. Strange thing is the Catalyst Control Center 
still works. Problems besides the lagging windows are: (1) I cannot activate 
advanced desktop effects; (2) I cannot start blender any more; (3) all the 
build in games cannot be started. For example:
-
zh...@zzdesk:~$ quadrapassel 
The program 'quadrapassel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 27 error_code 1 request_code 136 minor_code 19)
  (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 --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


zh...@zzdesk:~$ blender
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
Compiled with Python version 2.6.5.
Checking for installed Python... got it!
X Error of failed request:  BadRequest (invalid request code or no such 
operation)
  Major opcode of failed request:  136 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  28
  Current serial number in output stream:  28
-

I also checked my healthy 64-bit Karmic in another partition. It also
does not have the 'build' folder in 

[Ubuntu-x-swat] [Bug 440233] Re: fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf

2010-05-30 Thread Zhao Zheng
Bryan,

Thanks for your explanation. I now see that my /var/lib/dkms/fglrx
folder is actually deleted when the installer found error. But I managed
to copy it from the source /usr/src/fglrx-8.723. Then I run 'sudo sh
make.sh --nohints --uname_r=2.6.32-22-generic --norootcheck' at
termnial. I changed the kernel version from 2.6.31-14 to 2.6.32-22 and
now I see message  'build succeeded with return value 0'. However,
nothing really changed after this 'make'.

I have noticed that the file size you listed for libfglrx_ip* are 3MB but the 
ones I have is only 2MB:
-rw-r--r-- 1 root src 2354408 2010-05-30 12:19 libfglrx_ip.a.GCC3
-rw-r--r-- 1 root src 2354408 2010-05-30 12:19 libfglrx_ip.a.GCC4
All the other file sizes are the same. Is it possible that you post these files 
so that I can give them a try?

Post #48 suggests to link /etc/ati to /usr/lib/fglrx/etc/ati. But in my
/usr/lib there is no such a folder called fglrx.

I also compared my xorg.conf with Post #44. Did not see meaningful
differences.

In the meantime, I also made a fresh USB installer from a new download
of Lucid. I tried to install the driver there and was hoping to get some
good copy. But in the end it is the same.

I also tried to install the driver using Jockey-gtk as discussed by post
#14 and #43. I then ended up the same as using Synaptic, i.e. only a
broken fglrxamdccc installed but not the real fglrx driver.

I now feel it really hurt to update my Lucid...

-- 
fglrx fails at startup because of missing  amdpcsdb.default + removal leaves 
bad settings in Xorg.conf
https://bugs.launchpad.net/bugs/440233
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 440233] Re: fglrx fails at startup because of missing amdpcsdb.default + removal leaves bad settings in Xorg.conf

2010-05-29 Thread Zhao Zheng
I was using 32-bit Lucid since the release and there was no problem with
fglrx until today. Somehow I decided to accept the ubuntu update.
Unfortunately after that in the next reboot I got the 'missing
amdpcsdb.default' error. I have an ATI HD5670 card and installed using
the driver from the amd website at the fresh intall. Everything worked
out of the box until today. Actually when I get into my system I did not
see the folder of /etc/ati at all. I copied the /etc/ati folder from
another ubuntu on my computer (that one has no problem at all). Then I
can boot normally into the system. However, still with lagging windows
and no advanced desktop effects at all (compiz).

I tried to uninstall the fglrx driver but get this:
zh...@zzdesk:/usr/share/ati$ sudo ./fglrx-uninstall.sh 
restore of system environment completed

Error! There are no instances of module: fglrx
8.723 located in the DKMS tree.
Errors during DKMS module removal

Uninstall fglrx driver complete...

Trying to reinstall the driver again but get this:
Detected configuration:
Architecture: i686 (32-bit)
X Server: X.Org 7.5
DKMS part of installation failed.  Please refer to 
/usr/share/ati/fglrx-install.log for details
Removing temporary directory: fglrx-install.i46ko9

I have the up-to-date  DKMS.

So the problem now seems to be that somehow the driver cannot be
installed. I have attached my Xorg.0.log. It would be nice if someone
may advise me some tips.

** Attachment added: Xorg.0.log
   http://launchpadlibrarian.net/49325024/Xorg.0.log

-- 
fglrx fails at startup because of missing  amdpcsdb.default + removal leaves 
bad settings in Xorg.conf
https://bugs.launchpad.net/bugs/440233
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp