Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia 3D acceleration - KDE 4.9.3 problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jwackito
n00b
n00b


Joined: 31 Jan 2007
Posts: 27

PostPosted: Wed Jan 16, 2013 6:53 pm    Post subject: Nvidia 3D acceleration - KDE 4.9.3 problems Reply with quote

After a global update, my NVIDIA Corporation G86 [GeForce 8400 GS] stop working properly. Not only acceleration is dead. I mixed up every configuration involving opengl until X start but KDE hangs up soon after load the desktop.
I touch EVERYTHING and sincerely don't know what is wrong.

I'm using the ebuild for proprietary drivers for nvidia and configure the kernel and xorg.conf following the Gentoo/Nvidia guide from the docs. I suspect from eselect options but I think I try every possible configuration. The results vary from X dying without start to KDE working with vesa, no acceleration, no desktop effects, mplayer unable to play 720p files.

The actual configurations from eselect are
Code:
# eselect kernel list
Available kernel symlink targets:
..
 [6]   linux-3.5.7-gentoo *

Code:
# eselect mesa list 
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
r600 (Radeon R600-R700, Evergreen, Northern Islands)
sw (Software renderer)
  [1]   classic *
  [2]   gallium

Code:

# eselect opencl list
Available OpenCL implementations:
  [1]   nvidia *

Code:

# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Code:

# eselect qtgraphicssystem list
Available Qt Graphics Systems:
  [1]   native
  [2]   opengl (experimental)
  [3]   raster (default) *

Code:

# eselect rc list
Available init scripts
  acpid                     default
  alsasound                 boot
  bluetooth                 
  bootmisc                  boot
  consolefont               boot
  consolekit                default
  crypto-loop               
  cupsd                     
  dbus                      default
  devfs                     sysinit
  device-mapper             boot
  dhcpcd                    default
  dmesg                     sysinit
  dmeventd                 
  fsck                      boot
  git-daemon                default
  gpm                       boot
  hostname                  boot
  hwclock                   boot
  ip6tables                 
  iptables                  default
  keymaps                   boot
  killprocs                 shutdown
  local                     default
  localmount                boot
  lvm                       boot
  lvm-monitoring           
  mldonkey                  default
  modules                   boot
  mount-ro                  shutdown
  mtab                      boot
  net.lo                    boot
  netmount                  default
  noip                      default
  nscd                     
  ntp-client               
  ntpd                      default
  numlock                   
  nvidia-smi               
  openvpn                   
  pciparm                   
  procfs                    boot
  pwcheck                   
  pydoc-2.7                 
  pydoc-3.2                 
  rfcomm                   
  root                      boot
  rsyncd                   
  saslauthd                 
  savecache                 shutdown
  sshd                      boot
  swap                      boot
  swapfiles                 boot
  swclock                   
  sysctl                    boot
  sysfs                     sysinit
  termencoding              boot
  tmpfiles.setup            boot
  udev                      sysinit
  udev-mount                sysinit
  udev-postmount            default
  urandom                   boot
  vixie-cron               
  xdm                       default
  xdm-setup                 

Code:

# eselect xvmc list     
Available XvMC implementations  ( * is current ):
  [1]   nvidia *
  [2]   xorg-x11


With this configurations I get the following Xorg.0.log errors
http://gentoo.pastebin.ca/2303497

I'm desperate. Help please.
_________________
--
Jwackito
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Wed Jan 16, 2013 9:33 pm    Post subject: Reply with quote

# eselect qtgraphicssystem list
Available Qt Graphics Systems:
[1] native *
[2] opengl (experimental)
[3] raster (default)
Back to top
View user's profile Send private message
jwackito
n00b
n00b


Joined: 31 Jan 2007
Posts: 27

PostPosted: Wed Jan 16, 2013 10:06 pm    Post subject: Reply with quote

With the suggested configuration the X server don't even start.
Thanks anyway.

I don't know why mesa is installed. The Nvidia driver must replace the mesa implementation, doesn't?
_________________
--
Jwackito
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1480

PostPosted: Thu Jan 17, 2013 4:05 pm    Post subject: Reply with quote

Uups, then your proprietary doesn't load ?. Mine shows:

# lsmod|grep nvidia
nvidia 9371893 48
i2c_core 25551 2 nvidia,i2c_nforce2
Back to top
View user's profile Send private message
jwackito
n00b
n00b


Joined: 31 Jan 2007
Posts: 27

PostPosted: Thu Jan 17, 2013 4:16 pm    Post subject: Reply with quote

yep... The nvidia module is also loaded...
_________________
--
Jwackito
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Thu Jan 17, 2013 4:50 pm    Post subject: Reply with quote

You won't fix that by configuration probably, revert kernel to previous version ( remember to reemerge nvidia-drivers after each kernel update) and check if it is solved, then you can try with never kernel like 3.6.x ( or reemerge previous nvidia-drivers before global update if kernel revert wont fix it)
You can also check if you disabled in BIOS your first builtin card ( I suppose you have some intel ), if not then disable it totally.

ps. to check what u lately installed u can use qlop (from portage-utils):
qlop -lu | grep nvidia
qlop -lu | grep sources
_________________
Sent from Windows
Back to top
View user's profile Send private message
jwackito
n00b
n00b


Joined: 31 Jan 2007
Posts: 27

PostPosted: Thu Jan 17, 2013 10:58 pm    Post subject: Reply with quote

I do fix it. But now I have more questions than before.
I change my USE= flags in the make.conf from this:
Code:

USE="qt4 kde dvd alsa cdr -gtk -gnome -introspection -semantic-desktop -dep -handbook"

to this:
Code:

USE="qt4 kde dvd alsa cdr sse sse2 sse3 3dfx ssse3 -vdpau opengl 3dnow mmx jpeg2k -gtk -gnome -introspection -semantic-desktop -dep -handbook"

And rebuild kdelibs, that from some reason haven't enabled opengl use flag by default. However, compiling mesa with vdpau flag (including opengl) mess the things up. I mean, with opengl and vdpau use flags enabled, rebuilding kdelibs doesn't solve the problems.

I can't find this in any tutorial but I think it should be. It's really a nasty, very hard to find and solve problem.
_________________
--
Jwackito
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Fri Jan 18, 2013 12:59 am    Post subject: Reply with quote

Pls precise your problem:
"Compiling mesa with vdpau flag (including opengl) mess the things up" - how it messes ?
"rebuilding kdelibs doesn't solve the problems" - what problems ?

There is some simple super short vdpau totorial -> http://wiki.gentoo.org/wiki/VDPAU
_________________
Sent from Windows
Back to top
View user's profile Send private message
jwackito
n00b
n00b


Joined: 31 Jan 2007
Posts: 27

PostPosted: Fri Jan 18, 2013 1:07 am    Post subject: Reply with quote

Sorry. My english isn't very good and maybe I couldn't explained myself very well.
The problem is the one described in the first post of this thread. X and KDE doesn't work with nvidia native drivers if you compile it (nvidida and kdelibs) with using the default use flags. However, using the opengl and -vdpau use flags, KDE works fine even with 3D acceleration from the driver.

In other words, the problem is solved, but I don't know why.

If you doesn't understand, please let me know and I will try it again.
_________________
--
Jwackito
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum