You are not logged in.

#1 2012-07-15 22:57:55

ronnylov
Member
Registered: 2010-12-21
Posts: 65

[SOLVED] Problems autostarting xbmc after nvidia upgrade

Hello!

With nvidia version 302.17-1 and with 302.17.2 xorg errors and fails when autostarting xbmc.:
Here is my Xorg.0.log: https://gist.github.com/3118969

Here is my xorg.conf:
https://gist.github.com/3118996

But downgrading nvidia and nvidia-utils to version 295.59 makes everything work again.
So is this considered as a bug or can I change my configuration to make it work with latest nvidia drivers?
My graphics card is PCI and not PCIe, maybe there is some problem with old PCI cards?

I am now using standard xbmc package in repositories (earlier I used xbmc-pvr-git but I changed to standard xbmc to see if it was a problem even without using AUR packages).

Last edited by ronnylov (2012-07-17 14:04:32)

Offline

#2 2012-07-17 09:54:38

boomshalek
Member
Registered: 2007-10-12
Posts: 113

Re: [SOLVED] Problems autostarting xbmc after nvidia upgrade

My Workaround in Post #6 solved the No Screens Error for me.
I assume this is not xbmc related.

Offline

#3 2012-07-17 10:56:22

ronnylov
Member
Registered: 2010-12-21
Posts: 65

Re: [SOLVED] Problems autostarting xbmc after nvidia upgrade

Thanks. But I got another problem now because I can't upgrade from nvidia 295.59 to the latest version. There is some kind of dependency problem, probably because of the switch from /lib to /usr/lib.

[ronny@htpc ~]$ sudo pacman -Syu
Lösenord:
:: Synkroniserar paketdatabasen...
 core är senaste versionen
 extra är senaste versionen
 community är senaste versionen
:: Påbörjar full systemuppgradering...
löser beroenden...
letar efter inre konflikter...

Mål (3): cairo-1.12.2-2  nvidia-302.17-2  nvidia-utils-302.17-1

Total Installationsstorlek:    54,02 MiB
Nettouppgraderingsstorlek:    0,69 MiB

Fortsätt med installation? [Y/n] 
(3/3) kontrollerar paketintegritet                 [######################] 100%
(3/3) laddar paketfiler                            [######################] 100%
(3/3) kontrollerar filkonflikter                   [######################] 100%
fel: misslyckades att påbörja överföringen (motstridiga filer )
nvidia: /usr/lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz existerar i filsystemet
Fel uppstod, inga paket uppgraderades.
[ronny@htpc ~]$ 

Trying to following the info  here https://wiki.archlinux.org/index.php/De … iki:usrlib:

[ronny@htpc ~]$  grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/nvidia-295.59-1/files:lib/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz

OK the old package installed files in the wrong place when I downgraded nvidia after the update to /usr/lib.

These packages need rebuilding so as not to include the /lib directory. They can also simply be uninstalled and reinstalled again after upgrading glibc.

So I try to uninstall nvidia and nvidia-utils:

[ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils
Lösenord:
kontrollerar beroenden...
fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
:: libva: behöver libgl
:: mesa: behöver libgl
:: mplayer: behöver libgl
:: xorg-xdriinfo: behöver libgl

OK then uninstall these packages as well...

[ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils libva mesa mplayer xorg-xdriinfo
kontrollerar beroenden...
fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
:: ffmpeg: behöver libva
:: freeglut: behöver mesa
:: glew: behöver mesa
:: gnome-mplayer: behöver mplayer
:: vdpau-video: behöver libva
:: xbmc: behöver libva
:: xorg-utils: behöver xorg-xdriinfo

and I get even more dependency problems.. I am a little bit new on this but do I need to reinstall almost everything just to uninstall a video driver? I just want to replace the old driver with the new one...
I think I need a hint of how to solve my problem. Perhaps this thread belongs somewhere else in the forum?

Last edited by ronnylov (2012-07-17 11:01:31)

Offline

#4 2012-07-17 11:30:16

PReP
Member
From: Sweden
Registered: 2010-06-13
Posts: 359
Website

Re: [SOLVED] Problems autostarting xbmc after nvidia upgrade

Look over the glibc -> lib -> usr/lib newpost and wiki-article again, actually tidy up /lib/ according to the suggestions, and then reinstall glibc as pointed out there.
You probably do not need to reinstall a bunch of packages.
Good luck : )


. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)

Offline

#5 2012-07-17 13:03:32

ronnylov
Member
Registered: 2010-12-21
Posts: 65

Re: [SOLVED] Problems autostarting xbmc after nvidia upgrade

I just manually removed the file /usr/lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz as root (actually moved it to my home directory if I would need it again) and then performed the upgrade of nvidia and nvidia-utils.
I think the symlink from /lib to /usr/lib caused some confusion for pacman when downgrading nvidia (maybe pacman see this as some kind of conflict when examining the old package). Or maybe I am just wrong.

However this is what I have done:

[ronny@htpc ~]$ sudo mv /usr/lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz /home/ronny/
Lösenord:
[ronny@htpc ~]$ sudo pacman -Syu --ignore cairo
:: Synkroniserar paketdatabasen...
 core är senaste versionen
 extra är senaste versionen
 community är senaste versionen
:: Påbörjar full systemuppgradering...
varning: cairo ignorerar uppgradering av paket (1.10.2-3 => 1.12.2-2)
löser beroenden...
letar efter inre konflikter...

Mål (2): nvidia-302.17-2  nvidia-utils-302.17-1

Total Installationsstorlek:    50,59 MiB
Nettouppgraderingsstorlek:    0,02 MiB

Fortsätt med installation? [Y/n] 
(2/2) kontrollerar paketintegritet                 [######################] 100%
(2/2) laddar paketfiler                            [######################] 100%
(2/2) kontrollerar filkonflikter                   [######################] 100%
(2/2) kontrollerar tillgängligt filutrymme         [######################] 100%
(1/2) uppgraderar nvidia-utils                     [######################] 100%
(2/2) uppgraderar nvidia                           [######################] 100%
[ronny@htpc ~]$ ls -al /usr/lib/modules/extramodules-3.4-ARCH/
totalt 4216
drwxr-xr-x 2 root root    4096 17 jul 14.55 .
drwxr-xr-x 4 root root    4096  3 jul 17.36 ..
-rw-r--r-- 1 root root    9849  4 jul 05.50 lirc_atiusb.ko.gz
-rw-r--r-- 1 root root    4735  4 jul 05.50 lirc_i2c.ko.gz
-rw-r--r-- 1 root root    6081  4 jul 05.50 lirc_wpc8769l.ko.gz
-rw-r--r-- 1 root root 4272613  4 jul 02.39 nvidia.ko.gz
-rw-r--r-- 1 root root      13  3 jul 17.36 version

I will now see if I can try the workaround for xorg.conf.

EDIT: Yes, now everything works!
I will mark this thread as solved.

Last edited by ronnylov (2012-07-17 14:04:12)

Offline

Board footer

Powered by FluxBB