[Bug 66281] DRI_PRIME=1 glxinfo crashes and causes session to restart
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon May 12 03:53:06 PDT 2014
https://bugzilla.kernel.org/show_bug.cgi?id=66281
--- Comment #7 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Gaurav Shukla from comment #6)
> (In reply to Ilia Mirkin from comment #5)
> > (In reply to Gaurav Shukla from comment #4)
> > > (c) How do I check that runtime pm and vga switcheroo are enabled in my
> > > kernel. (Sorry, but I am a newbie to Linux).
> >
> > If you have your .config (which, depending on options, may be visible from
> > /proc/config.gz), you can look for
> >
> > CONFIG_VGA_SWITCHEROO
> > CONFIG_PM_RUNTIME
> >
> > Make sure both of those are set to 'y'. (This is only for optimus-type
> > systems, of which I'm assuming yours is one.)
> >
>
> There is no config.gz file in my system. I have tried using "locate" as
> well. Is there some other way I can find this out.
http://nouveau.freedesktop.org/wiki/Optimus/
Check
/sys/kernel/debug/vgaswitcheroo/switch
/sys/class/drm/card1/power/runtime_status
If both files are there, that means that you have both of those options.
Further you can check dmesg for references to 'optimus'.
>
> >
> > xf86-video-nouveau is the xorg ddx which interacts with the kernel driver.
> > In some distros, for maximal confusion, it is called something else, like
> > xorg-xserver-video-nouveau or something like that (don't have the exact
> > name, sorry).
>
> Can you please tell me how to find out (or search) if this is the case. Even
> if you can tell me where and how to look for, I will follow.
A quick way to find out the version of xf86-video-nouveau is to look in your
Xorg.0.log file (often located in /var/log). There should be a section like
[ 7.016] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[ 7.019] (II) Module nouveau: vendor="X.Org Foundation"
[ 7.019] compiled for 1.15.0, module version = 1.0.10
[ 7.019] Module class: X.Org Video Driver
[ 7.019] ABI class: X.Org Video Driver, version 15.0
Note the "module version". Make sure yours is 1.0.10. Earlier versions did not
support GK208.
> >
> > > Actually I am working on some OpenGL/GLSL projects, for which I need GLSL
> > > 4.3, which I believe is still not available in nouveau driver. I was looking
> > > forward to be able to install the latest NVIDIA drivers. Will mesa 10,2-rcl
> > > solve this issue? Can you please recommend any other solution.
>
> The latest mesa based DRI drivers through yum is listed as 10.1.1. Will it
> work?
A large number of shader opcode generation issues for GK110/GK208 are fixed in
the 10.2 release. 10.1.x will work enough for like glxgears though. The final
10.2 release should be out on May 30 or so, dunno how long it takes to get into
distros though.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list