Logout freeze using Nvidia Proprietary driver (latest and even older versions)
I've built a HTPC running Linux (Ubuntu 12.04) w/ AMD Liano processor and a Fusion motherboard with HDMI. Initially I was using AMD processor and Catalyst driver output to HDMI.
Then I realized that video decoding acceleration is poor with this combination. I've installed vaapi acceleration packages but XBMC refused to work with it. Not to mention even flash acceleration is not working as it requires vdpau.
So I brought a Nvidia GT 520 card for this. Lucky the card is quiet cheap
Once I installed the card with Nvidia proprietary driver, everything seems to now well with output going to the HDMI in Nvidia card. Sound works great, video acceleration works as well with vdpau as I can see Chrome Flash youtube is now consuming very few processing power. Of course I've the blue tint problem with the flash but I managed to fix it with the /etc/adobe/mms.cfg thing.
However a problem happens.
Whenever I try to logout (either my Unity session or a delicated XBMC session), the system freeze with some console message (I can't recall exactly "SYSV service stop......" or "using libgcrypt-1.5 ...." and I cannot get back to the login screen (I'm using ubuntu so it should be lightdm).
I tried to ping the machine and SSH to it. Ping responses with either problem with connection or reply with a very long latency. SSH doesn't work (I think probably due to long network latency). Seems like the machine is still on but with a very high CPU utilization.
Keyboard / mouse is not responding (alt-ctrl-f1 doesn't work) and I've to hard reset the machine.
Anyone have similar issue and any fix? Now I've reverted back to AMD (and open source radeon driver which seems to work pretty well). Really hope that I can get some video decoding acceleration.
Do you insist on using Ubuntu? Try using a different distribution. Ubuntu family tends to have tons of small and weird bugs, thanks to their custom patch frenzy. I found Fedora to be user friendly equally to Ubuntu. If you go down Fedora route, don't forget about RPMFusion repository for non-free software. Also, take a look at "Fedora spins" for a choice of environments different than GNOME 3.
The problem doesn't happen when I am using the ATI on-board card, either the open source or proprietary driver. So I don't know if it is a problem with nvidia, ubuntu or anything else. Will probably give fedora a try but would still like to know how it can be fixed here.
The warning that you got could be useful to track the issue. Not sure however, where Ubuntu stores its logs.
Originally Posted by mikejuni
I've reinstalled everything hoping to find out little bit more.
Now I found out that the issue generally occurs after logout, when the x server is shutdown and reloaded for lightdm. The I suspected lightdm issue and use gdm instead.
Still the same issue occurs.
The xorg log immediately before freeze indicates xorg and nvidia driver unloaded successfully. Then the system seems to hang. I can actually ssh to the server and the response is extremely slow, which I think indicates some program locks the system with some kind of infinite loop.
Other than that doesn't seem to have any unusual log. The problem occurs only with the nvidia restricted driver or the driver I downloaded from nvidia directly. Nouveau doesn't have the same problem, neither do the ati card (radeon or catalyst).
Now I am sticking to radeon driver. The catalyst driver have other problems (xbmc not able to play video with vaapi enabled)
You can not play h264 l5.1 with xvba-video (nor would it work with xbmc-xvba). I requested a hotkey to disable accelleration without going thru the menus but nobody cared