Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
etorixOffline
14 Post subject: Nvidia [and fglrx] broken  PostPosted: 17.06.2011, 11:14
Team Member


Joined: 2010-08-26
Posts: 137

Status: Offline
the X-server and mesa have gone multi-arch (which basically means its libraries were moved to a different path)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630710

either switch to nouveau or dont upgrade nvidia

for nouveau, see http://aptosid.com/index.php?module=wik ... g=GoNvidia
 
 View user's profile Send private message  
Reply with quote Back to top
krisbeeOffline
Post subject:   PostPosted: 17.06.2011, 12:01



Joined: 2011-04-25
Posts: 49
Location: London
Status: Offline
For the first time I did a DU when I shouldn't have. So I decided to try nouveau to get out of the mess. But I have problems after following the wiki entry.

First, I cannot purge nvidia-kernel-dkms.
      Code:

 apt-get purge nvidia-kernel-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  nvidia-kernel-dkms*
0 upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
After this operation, 29.1 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 148034 files and directories currently installed.)
Removing nvidia-kernel-dkms ...
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.

Error! Bad conf file.
File: /var/lib/dkms/nvidia/275.09.07/source/dkms.conf does not represent
a valid dkms.conf file.
dpkg: error processing nvidia-kernel-dkms (--purge):
 subprocess installed pre-removal script returned error exit status 5
configured to not write apport reports
                                      Errors were encountered while processing:
 nvidia-kernel-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)


Second, I have got nouveau to load and KDE to start but the screen resoultion is stuck on 1024x768 as shown by xrandr.

      Code:
xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       76.0*


My monitor is capable of 1280x1024


Third, if I remove the vga entry from /etc/default/grub and update-grub, on re-boot X does start.

Any ideas?
 
 View user's profile Send private message  
Reply with quote Back to top
devilOffline
Post subject:   PostPosted: 17.06.2011, 13:08



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
edit the corresponding prerm file to make it read:
      Code:

#!/bin/sh
set -e
exit 0
......

so what you do is, add the exit 0, save and exit. then purge the app.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
towoOnline!
Post subject:   PostPosted: 17.06.2011, 13:19



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Online!
      Quote:
Second, I have got nouveau to load and KDE to start but the screen resoultion is stuck on 1024x768 as shown by xrandr.

      Code:

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       76.0*


My monitor is capable of 1280x1024

aptosid-paste /var/log/xorg.0.log
ls -al /etc/modprobe.d | aptosid-paste

      Quote:
Third, if I remove the vga entry from /etc/default/grub and update-grub, on re-boot X does start.


vga=foo in grub2 is depricated!
 
 View user's profile Send private message  
Reply with quote Back to top
jacmoeOffline
Post subject: Re: Nvidia [and fglrx] broken  PostPosted: 17.06.2011, 13:41



Joined: 2011-04-13
Posts: 40
Location: Denmark
Status: Offline
      etorix wrote:
the X-server and mesa have gone multi-arch (which basically means its libraries were moved to a different path)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630710

either switch to nouveau or dont upgrade nvidia

Will the nvidia driver be back eventually, or are we forever doomed?

I did a mistake and have no X and three held packages..
Noveau is a pile of crap for me (3D programmer), so it can only be a temporary solution.

One of the best features of aptosid was indeed the elegant way it handled my nvidia-glx driver. Wink

<edit>
It sort of looks like it will be fixed eventually ?
Will it be safe to try and get the noveau driver working and then switch back to nvidia-glx when it's ready?
</edit>


Last edited by jacmoe on 17.06.2011, 13:47; edited 1 time in total
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
towoOnline!
Post subject: RE: Re: Nvidia [and fglrx] broken  PostPosted: 17.06.2011, 13:45



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Online!
Downgrade libgl1-mesa-glx to testing and your nvidia-driver will work again.
 
 View user's profile Send private message  
Reply with quote Back to top
jacmoeOffline
Post subject: RE: Re: Nvidia [and fglrx] broken  PostPosted: 17.06.2011, 13:47



Joined: 2011-04-13
Posts: 40
Location: Denmark
Status: Offline
Also after having applied the diversions?
nvidia-glx was removed but three packages held..

I will try and figure out how I do that.

What a mess. Smile
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jacmoeOffline
Post subject:   PostPosted: 17.06.2011, 14:06



Joined: 2011-04-13
Posts: 40
Location: Denmark
Status: Offline
So, to downgrade I do this:

  1. uncomment unstable entries in apt sources
  2. add testing entries
  3. apt-get update
  4. install package(s)
  5. comment testing
  6. uncomment unstable
  7. apt-get update
  8. hold any packages upon dist-upgrades until issue fixed

Am I on the right track?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
diblOffline
Post subject: Re: RE: Re: Nvidia [and fglrx] broken  PostPosted: 17.06.2011, 14:36



Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
      towo wrote:
Downgrade libgl1-mesa-glx to testing and your nvidia-driver will work again.


Brilliant! Also I had to reinstall nvidia-kernel-source and nvidia-kernel-common, and then run m-a a-i nvidia-kernel-source, then reinstall nvidia-glx and I'm good to go with desktop effects.

Thanks towo!

@jacmoe, the downgrade procedure is spelled out in the manual under "Package Management and Dist-Upgrade" section. Don't forget to put a hold on your testing version of the package.


Last edited by dibl on 17.06.2011, 14:41; edited 1 time in total
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
towoOnline!
Post subject:   PostPosted: 17.06.2011, 14:38



Joined: 2010-09-13
Posts: 499
Location: Pößneck / Thüringen
Status: Online!
      Quote:
Am I on the right track?

No, simple do
      Code:

apt-get install libgl1-mesa-glx/testing libgl1-mesa-dri/testing

after you have don an apt-get update with activated testing entries in your sources.
 
 View user's profile Send private message  
Reply with quote Back to top
krisbeeOffline
Post subject:   PostPosted: 17.06.2011, 14:38



Joined: 2011-04-25
Posts: 49
Location: London
Status: Offline
Thanks devil, never knew about prerm files before now. Purge done.

towo, seemed I had some other nvidia cruff still on my system which was screwing things up. All is fine now with nouveau driver. (nice to learn about apotsid-paste, that's a very nifty app)

      Code:
xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA-1 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0 +   75.0*
   1400x1050      60.0 
   1440x900       75.0     59.9 
   1280x960       60.0 
   1360x768       60.0 
   1280x800       74.9     59.8 
   1152x864       75.0 
   1280x768       74.9     59.9 
   1024x768       75.1     75.0     70.1     60.0 
   832x624        74.6 
   800x600        72.2     75.0     60.3     56.2 
   848x480        60.0 
   640x480        75.0     72.8     72.8     66.7     60.0     59.9 
   720x400        70.1 
TV-1 disconnected (normal left inverted right x axis y axis)


I think I can live without nvidia for now.

Thanks again for the rapid help.
 
 View user's profile Send private message  
Reply with quote Back to top
drbOffline
Post subject:   PostPosted: 17.06.2011, 14:59



Joined: 2010-09-11
Posts: 96

Status: Offline
I'm struggling to understand the problem here. I'm running the latest libgl1-mesa-glx and nvidia 275.09.07 here without any issues. Am I missing something?

      Code:
apt-cache policy libgl1-mesa-glx
libgl1-mesa-glx:
  Installed: 7.10.3-1
  Candidate: 7.10.3-1
  Version table:
 *** 7.10.3-1 0
        500 http://ftp.de.debian.org/debian/ sid/main i386 Packages
        100 /var/lib/dpkg/status
     7.10.2-3 0
        500 http://ftp.de.debian.org/debian/ testing/main i386 Packages
drb@hypnos32:~$ infobash -v3
Host/Kernel/OS  "hypnos32" running Linux 2.6.39-1.slh.8-aptosid-686 i686 [ sidux 2010-01 Ύπνος - kde-full - (201006131622) ]
CPU Info        2x AMD Athlon 64 X2 Dual Core 5600+ 1024 KB cache flags( sse3 ht nx lm svm ) clocked at [ 2800.000 MHz ]
Videocard       nVidia G73 [GeForce 7600 GS]  X.Org 1.10.2  [ 1680x1050@50.0hz ]
Network cards   nVidia MCP55
Processes 154 | Uptime 8:56 | Memory 722.8/3295.8MB | HDD WDC WD3200AAKS-0,WDC WD5000AAKS-0,WDC WD6400AAKS-0,WDC WD15EADS-00P Size 2960GB (37%used) | GLX Renderer GeForce 7600 GS/PCI/SSE2/3DNOW! | GLX Version 2.1.2 NVIDIA 275.09.07 | Client Shell | Infobash v3.36
 
 View user's profile Send private message  
Reply with quote Back to top
jacmoeOffline
Post subject:   PostPosted: 17.06.2011, 15:06



Joined: 2011-04-13
Posts: 40
Location: Denmark
Status: Offline
      towo wrote:
      Quote:
Am I on the right track?

No, simple do
      Code:

apt-get install libgl1-mesa-glx/testing libgl1-mesa-dri/testing

after you have don an apt-get update with activated testing entries in your sources.

That wasn't enough for me as the nvidia driver was already wiped out.

I ended up changing sources to testing and did this:
      Code:
apt-get install libgl1-mesa-dev=7.10.2-3 libgl1-mesa-dri=7.10.2-3 libgl1-mesa-glx=7.10.2-3 libglu1-mesa=7.10.2-3 libglu1-mesa-dev=7.10.2-3 mesa-common-dev=7.10.2-3

And then, to get my nvidia back:
      Code:
apt-get install nvidia-glx


It would be enough to hold 'nvidia-glx' ?
<edit>I'll hold it and see what happens. Wink</edit>

I am not touching anything until there is a fix from the Debian guys. I am just happy to have my X server back up and running. Smile
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
devilOffline
Post subject:   PostPosted: 17.06.2011, 16:25



Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630710 is probably fixed with mesa* 7.10.3-2.

greetz
devil
 
 View user's profile Send private message  
Reply with quote Back to top
jacmoeOffline
Post subject:   PostPosted: 17.06.2011, 17:16



Joined: 2011-04-13
Posts: 40
Location: Denmark
Status: Offline
Not yet:
      Quote:
Calculating upgrade... Done
The following packages will be REMOVED:
libgl1-nvidia-glx nvidia-glx
The following packages have been kept back:
libgl1-nvidia-alternatives
The following packages will be upgraded:
bluetooth bluez bluez-pcmcia-support cpp g++ gcc libbluetooth3 libgl1-mesa-dev libgl1-mesa-dri
libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev mesa-common-dev

Or, am I missing something?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio