Nuovi driver proprietari Nvidia: nvidia-current-295.20

Latest shouts directly from our packagers and call for public testing MIB packages
User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

promeneur wrote: with software manager after switching to nouveau
i uninstalled all packet nvidia 290.20
then
in /etc/urpmi/skip.list i add these statements
/^dkms-nvidia-current-295.20-69.1mib2010.2.i686/
/^nvidia-current-cuda-opencl-295.20-69.1mib2010.2.i686/
/^nvidia-current-devel-295.20-69.1mib2010.2.i686./
/^nvidia-current-doc-html-295.20-69.1mib2010.2.i686./
/^x11-driver-video-nvidia-current-295.20-69.1mib2010.2.i686/
then
i restart my pc (because the software manager did not care of the added statements. it wanted to update to 295.20 !)
then
with drakx11 i switch to the previous nvidia 280.13
But do you always keep the /experts repo eneabled?
It would suffice to disable it to avoid the continuous reminder of upgrades...
another hypothesis : my kernel desktop nrj pae 3.1.6 i686 is not compatible with nvidia 295.20
If I should bet, I would do on the interaction with newer Mesa (as also Tobal suggested).
In fact the whole package was builded on a 3.1.6 MIB VM (not pae, though...).

Gvm

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by promeneur »

But do you always keep the /experts repo eneabled?
It would suffice to disable it to avoid the continuous reminder of upgrades...
i don't want to disable expert repo because there is not only nvidia driver
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
ninarello19
Utente
Utente
Posts: 222
Joined: 4 March 2009, 15:56
OpenMandriva: 2010.2
Kernel: 2.6.38.2-desktop-nrj
Desktop: KDE 4.5.5

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by ninarello19 »

Riassunto:
Confermo l'errore postato da Tobal sul mancato funzionamento dei nuovi nvidia e comunico che ciò avviene solo con kernel > 3.0.x, come per esempio nel caso del 3.1.6

Spiegazione:
Ecco cosa ho fatto, passaggio per passaggio (Ho perso un sacco di tempo per preparare questo msg...)

Ho analizzato il problema meglio e ci ho sperimentato un pò sopra.

Partendo dal kernel 3.0.14 il PC entrava in KDE e funzionava bene.
Partendo invece dal più recente 3.1.6 rimanevo in terminale tty

Ho così intuito che il problema avveniva solo in presenza di kernel > 3.0.xx

Ho voluto fare delle altre prove, utilizzando il kernel 3.1.6

Ho rimosso i driver 295.20, precisamente 3 file rpm

Code: Select all

urpme dkms-nvidia-current
poi ho provato a installarli nuovamente

Code: Select all

[root@localhost ~]# urpmi nvidia
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
   Pacchetto                      Versione     Release       Arch.  
(supporto "Backports_MIB-experts_64")
  dkms-nvidia-current            295.20       69.1mib2010.2 x86_64  
  nvidia-current-doc-html        295.20       69.1mib2010.2 x86_64  (suggerito)
  x11-driver-video-nvidia-curre> 295.20       69.1mib2010.2 x86_64  
Altri 102MB di spazio disco saranno utilizzati.
verranno scaricati 19MB di pacchetti.
Procedo con l'installazione di 3 pacchetti? (S/n) s
Controllando ho letto un errore ho copiato come meglio potevo, su un foglio per passartelo per i controlli (il numero del modlo era troppo confuso e lungo, per cui ti ho scritto poi xxxxxxxxx, spero che ti basti lo stesso)

Code: Select all

depmode....
FATAL: Module pci:v000xxxxxxxxxxxxxxxxxxxxx not found
FATAL: Error inserting nvidia-current (/lib/modules/3.1.6-desktop-nrj.69mib/dkms/drivers/char/drm/nvidia-current.ko.gz): No such device
Riavviando con il kernel 3.0.14, invece mi buildava tutto correttamente, senza errori, e avviava KDE

A questo punto ero sicuro:
Ho così avuto conferma che il problema avveniva solo in presenza di kernel > 3.0.xx

Ho provato a scaricare il sorgente SRPM del 295.20 da mandriva cooker, e leggendo qualcosa ho provato a rebuildarlo:
come vedi ho dovuto anche forzare, perchè mi richiedeva un rpm-build suoperiore a quello presente nella mia 2010.2

Code: Select all

urpmi --buildrequires /home/utente/Scaricati/nvidia-current-295.20-1.src.rpm 

Uno dei pacchetti richiesti non può essere installato:
nvidia-current-295.20-1.src (perché non è soddisfatto rpm-build[>= 1:5.3.12])
Continuo comunque l'Installazione? (S/n) s

[root@localhost ~]# urpmi --buildrequires /home/utente/Scaricati/nvidia-current-295.20-1.src.rpm --allow-force
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
   Pacchetto                      Versione     Release       Arch.  
(supporto "Release_Main_64")
  lib64atk1.0-devel              1.30.0       1mdv2010.1    x86_64  
  lib64gdk_pixbuf2.0_0-devel     2.20.1       1mdv2010.1    x86_64  
  lib64gtk+2.0_0-devel           2.20.1       1mdv2010.1    x86_64  
  lib64pango1.0-devel            1.28.0       1mdv2010.1    x86_64  
  lib64xcursor-devel             1.1.10       2mdv2010.1    x86_64  
  lib64xinerama1-devel           1.1          1mdv2010.1    x86_64  
  lib64xv1-devel                 1.0.5        1mdv2010.1    x86_64  
  pango-doc                      1.28.0       1mdv2010.1    x86_64  
(supporto "Backports_MIB-basic_64")
  lib64cairo-devel               1.10.2       69.2mib2010.2 x86_64  
  lib64pixman-1-devel            0.23.6       69.1mib2010.2 x86_64  
Altri 133MB di spazio disco saranno utilizzati.
verranno scaricati 92MB di pacchetti.
Procedo con l'installazione di 10 pacchetti? (S/n) s
Ho dato il semplice comando per il rebuild veloce

Code: Select all

[utente@localhost ~]$ rpmbuild --rebuild /home/utente/Scaricati/nvidia-current-295.20-1.src.rpm
Incredibilmente ha funzionato, e ho ottenuto i seguenti file (ho copiato solo la lista dei file)

Code: Select all

Scritto: /home/utente/rpmbuild/RPMS/x86_64/x11-driver-video-nvidia-current-295.20-1mdv2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/dkms-nvidia-current-295.20-1mdv2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/nvidia-current-devel-295.20-1mdv2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/nvidia-current-cuda-opencl-295.20-1mdv2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/nvidia-current-doc-html-295.20-1mdv2010.2.x86_64.rpm
Scritto: /home/utente/rpmbuild/RPMS/x86_64/nvidia-current-debug-295.20-1mdv2010.2.x86_64.rpm
Ho cercato di aggiungere la mia cartella come se fosse un repository locale,

Code: Select all

[utente@localhost ~]$ cd /home/utente/rpmbuild/RPMS/x86_64/
[utente@localhost x86_64]$ genhdlist2 .
adding 6 new rpms not available in existing hdlist
replacing ./media_info/hdlist.cz with hdlist.cz.tmp
replacing ./media_info/synthesis.hdlist.cz with synthesis.hdlist.cz.tmp
updating ./media_info/MD5SUM
[utente@localhost x86_64]$ su -
Password: 
[root@localhost ~]# urpmi.addmedia Local-x64 --update /home/utente/rpmbuild/RPMS/x86_64/
viene aggiunto il supporto "Local-x64" prima del supporto remoto "Release_Main_64"
poi ho disinstallato i driver precedenti,

Code: Select all

[root@localhost ~]# urpme dkms-nvidia-current
Per soddisfare le dipendenze, saranno rimossi i seguenti 3 pacchetti (102MB):
  dkms-nvidia-current-295.20-69.1mib2010.2.x86_64
  nvidia-current-doc-html-295.20-69.1mib2010.2.x86_64
   (perché non è soddisfatto x11-driver-video-nvidia-current == 295.20-69.1mib2010.2)
  x11-driver-video-nvidia-current-295.20-69.1mib2010.2.x86_64
   (perché non è soddisfatto kmod(nvidia-current) == 295.20)
Rimuovo 3 pacchetti? (s/N) s
rimozione di dkms-nvidia-current-295.20-69.1mib2010.2.x86_64 nvidia-current-doc-html-295.20-69.1mib2010.2.x86_64 x11-driver-video-nvidia-current-295.20-69.1mib2010.2.x86_64
rimozione del pacchetto nvidia-current-doc-html-295.20-69.1mib2010.2.x86_64
rimozione del pacchetto x11-driver-video-nvidia-current-295.20-69.1mib2010.2.x86_64
Removing manually selected alternative - switching to auto mode

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 295.20-69.1mib2010.2
Kernel:  3.1.6-desktop-nrj.69mib (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/3.1.6-desktop-nrj.69mib/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod.....

DKMS: uninstall Completed.

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 295.20-69.1mib2010.2
Kernel:  3.0.14-desktop-nrj.69mib (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko.gz:
 - Uninstallation
   - Deleting from: /lib/modules/3.0.14-desktop-nrj.69mib/dkms/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall Completed.

------------------------------
Deleting module version: 295.20-69.1mib2010.2
completely from the DKMS tree.
------------------------------
Done.
rimozione del pacchetto dkms-nvidia-current-295.20-69.1mib2010.2.x86_64
writing /var/lib/rpm/installed-through-deps.list
Mi sono ricordato che dovevo disabilitare il repo /experts per evitare che mi vedesse i driver guasti, dal momento che hanno un numero di release numerica maggiore

Ho installato i driver 295.20 compilati appena prima sul mio PC,

Code: Select all

[root@localhost ~]# urpmi nvidia
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
   Pacchetto                      Versione     Release       Arch.  
(supporto "Local-x64")
  dkms-nvidia-current            295.20       1mdv2010.2    x86_64  
  nvidia-current-doc-html        295.20       1mdv2010.2    x86_64  (suggerito)
  x11-driver-video-nvidia-curre> 295.20       1mdv2010.2    x86_64  
Altri 102MB di spazio disco saranno utilizzati.
verranno scaricati 19MB di pacchetti.
Procedo con l'installazione di 3 pacchetti? (S/n) 
A leggere sembrava tutto a posto, mi sono detto, speriamo bene...

Ho riavviato il PC, ho scelto il kernel 3.1.6, e finalmente FUNZIONA:
non ci posso credere, e adesso funziona con tutti i kernel installati.

CI sarà qualcosa che manca per i kernel nuovi, qualche patcha?

Mi scuso perchè sono un niubbio ottantenne, e magari le cose non le so spiegare al meglio,
ma spero di essermi reso utile per la comprensione del problema e la sua risoluzione...


Ciao
ninarello19
=========
RosaDesktop.Fresh 2012.1 R1 - arch. x86_64 - KDE 4.10.4 MIB - Kernel 3.10.15-nrjQL-desktop-69rosa #1 SMP PREEMPT
O.S. alternativi su VMware workstation 10.0.0>>> Ubuntu, Windows XP Pro, Windows Seven e Mac come Macchine VIrtuali

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

ninarello19 wrote:Riassunto:
Confermo l'errore postato da Tobal sul mancato funzionamento dei nuovi nvidia e comunico che ciò avviene solo con kernel > 3.0.x, come per esempio nel caso del 3.1.6
[...]
Ho riavviato il PC, ho scelto il kernel 3.1.6, e finalmente FUNZIONA:
non ci posso credere, e adesso funziona con tutti i kernel installati.
CI sarà qualcosa che manca per i kernel nuovi, qualche patcha?
Mi scuso perchè sono un niubbio ottantenne, e magari le cose non le so spiegare al meglio,
ma spero di essermi reso utile per la comprensione del problema e la sua risoluzione...
Ciao
Sei un tesoro... :D
Adesso vado a riguardarmi ben bene il srpm di Cooker: vediamo se trovo l'inghippo...

GvM

User avatar
Salvatore47
Utente senior
Utente senior
Posts: 408
Joined: 17 November 2008, 18:38
OpenMandriva: 2011.0 - 64bit
Kernel: 3.1.6-nrj.69mib
Desktop: KDE - GNOME
country: ITALIA

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by Salvatore47 »

Per Mandriva 2011.0 - 64bit, la lista dei repository non risulta aggiornata.

Speriamo che questi problemi dei nuovi drivers video non esistano per Mandriva 2011.0 - 64bit ?

Ciao, Salvo

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

Salvatore47 wrote:Per Mandriva 2011.0 - 64bit, la lista dei repository non risulta aggiornata.
Speriamo che questi problemi dei nuovi drivers video non esistano per Mandriva 2011.0 - 64bit ?
Ciao, Salvo
Per la 2011.0 ho prodotto solo i driver per l'xserver 1.11.3 - MIB, perché alcuni avevano problemi con quel server e i precedenti -current e -beta e la 2011.0 "standard" non ha quel xserver lì:
magari i problemi si sono risolti (alcune voci dei bugfix possono lasciar pensare così...)...
Io non posso dirlo perché non posseggo l'HW necessario per testarli.
E per la stessa ragione non farò backports per la 2011.0 "standard", tanto prima o poi li faranno i packager ufficiali.

GvM

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

GvMariani wrote:
ninarello19 wrote:Riassunto:
Confermo l'errore postato da Tobal sul mancato funzionamento dei nuovi nvidia e comunico che ciò avviene solo con kernel > 3.0.x, come per esempio nel caso del 3.1.6
[...]
Mi scuso perchè sono un niubbio ottantenne, e magari le cose non le so spiegare al meglio,
ma spero di essermi reso utile per la comprensione del problema e la sua risoluzione...
Ciao
Sei un tesoro... :D
Adesso vado a riguardarmi ben bene il srpm di Cooker: vediamo se trovo l'inghippo...
AGGIORNAMENTO:
Purtroppo l'esame degli spec file non ha mostrato alcuna differenza significativa (tipo patch mancanti)...
mi rebuilderò i due pacchetti per vedere se anche l'output del processo di build è identico:
sperem...

GvM

User avatar
tobal
Collaboratore
Collaboratore
Posts: 248
Joined: 17 May 2009, 19:04
ROSA: 2012.1
OpenMandriva: -
Kernel: 3.9.11-nr-laptop
Desktop: KDE ROSA 4.11.0
country: España
Location: Spain
Contact:

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by tobal »

Well, I think the difference is this piece code:

Code: Select all

# (blino) hardlink libGL files in %{_libdir}/mesa
# to prevent proprietary driver installers from removing them
mkdir -p %{buildroot}%{_libdir}/mesa
pushd %{buildroot}%{_libdir}/mesa
for l in ../libGL.so.*; do cp -a $l .; done
popd
My bug with mesa MIB package is this one, when i opened nvidia-settings, the program didn't read all the information about OpenGL. But i'm not sure.
I packaged llvm before and libdm, too.
I cannot upload all files because it is necessary rebuild gcc with libffi4 support, and gcc in mdv 2011.0 not contain this package.
Please, be patient. Actually i've got a lot of work, putting and correcting exams.

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

tobal wrote:Well, I think the difference is this piece code:

Code: Select all

# (blino) hardlink libGL files in %{_libdir}/mesa
# to prevent proprietary driver installers from removing them
mkdir -p %{buildroot}%{_libdir}/mesa
pushd %{buildroot}%{_libdir}/mesa
for l in ../libGL.so.*; do cp -a $l .; done
popd
My bug with mesa MIB package is this one, when i opened nvidia-settings, the program didn't read all the information about OpenGL. But i'm not sure.
I packaged llvm before and libdm, too.
I cannot upload all files because it is necessary rebuild gcc with libffi4 support, and gcc in mdv 2011.0 not contain this package.
Please, be patient. Actually i've got a lot of work, putting and correcting exams.
Judging from the comment you could be right...
but the same lines are present also in the Cooker spec file for mesa-7.11.2 (and they were present at least from the 7.10.x release AFAICR),
so you should have the same problem with it as with the MIB packages...
Did you test building nvidia-current the packages from Cooker?
Perhaps you found a real bug here...

GvM

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by MauRice »

GvMariani wrote: Ready and waiting for lists update the latest release of the proprietary video drivers for Nvidia cards.
UPDATE: now there also packages for Mdv 2011.0 - xorg 1.11.3.

....
GvMariani

Still missing the dkms-nvidia-current-295.20-69.1-mib2011.0.i686.rpm RPM in the "Index of /MIB/2011.0/32/experts" repo !!

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

User avatar
GvMariani
Collaboratore
Collaboratore
Posts: 610
Joined: 27 July 2009, 11:31
ROSA: 2016.1 Fresh R10
OpenMandriva: -
Kernel: 4.19.13-nrj-desktop
Desktop: Plasma 5
country: Italy
Location: Cologno Monzese (MI) - Italia

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by GvMariani »

MauRice wrote:
GvMariani wrote: Ready and waiting for lists update the latest release of the proprietary video drivers for Nvidia cards.
UPDATE: now there also packages for Mdv 2011.0 - xorg 1.11.3.
GvMariani
Still missing the dkms-nvidia-current-295.20-69.1-mib2011.0.i686.rpm RPM in the "Index of /MIB/2011.0/32/experts" repo !!
MauRice
MauRice,
the package is for xorg 1.11.3 from MIB, hence it's in /MIB/2011.0/32/projects/xorg1.11.3/i686/ as for all the packages related to the new (now old) xserver...
there is no MIB package for the xserver "standard" on 2011.0, because sooner or later it will be made for the official Backports repo.

GvM

User avatar
MauRice
Utente
Utente
Posts: 185
Joined: 30 May 2008, 12:11
OpenMandriva: cooker
Contact:

Re: Nuovi driver proprietari Nvidia: nvidia-current-295.20

Post by MauRice »

GvMariani wrote:
MauRice wrote:
GvMariani wrote: .....
MauRice,
the package is for xorg 1.11.3 from MIB, hence it's in /MIB/2011.0/32/projects/xorg1.11.3/i686/ as for all the packages related to the new (now old) xserver...
there is no MIB package for the xserver "standard" on 2011.0, because sooner or later it will be made for the official Backports repo.

GvM
GvMariani,

In that case...
Remove:
- nvidia-current-devel-295.20-69.1mib2010.2.i686.rpm
- nvidia-current-cuda-opencl-295.20-69.1mib2010.2.i686.rpm
- x11-driver-video-nvidia-current-295.20-69.1mib2010.2.i686.rpm
from the repo: Index of /MIB/2011.0/32/experts

And update the hdlist in:
- Index of /MIB/2011.0/32/experts
- Index of /MIB/2010.2/32/projects/xorg1.11.3/i686
- Index of /MIB/2011.0/64/projects/xorg1.11.3/x8664

Both distro Mandriva 2011, 32bits and 64bits don't see the nvidia-current-295.20 as a update.

MauRice
Registered Linux user: 473556
The Good, The Bad and The Ugly -> Linux, Windows e Dos
http://www.mandrivaclub.be

Post Reply