Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613740 - No option to select software renderer in 'eselect mesa'
Summary: No option to select software renderer in 'eselect mesa'
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-24 21:15 UTC by Ural
Modified: 2017-03-27 14:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ural 2017-03-24 21:15:02 UTC
Hello. I want to boot with nouveau.no_accel=1, because nouveau freezes often on any 3D activity. I want to use only software rendering (I know it's slow). Right now if I boot with this kernel arg, Plasma is not starting, because it needs opengl. 

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

I don't see 'sw' in my list and didn't found any use flags related. How to switch any opengl activity to software rendering?
Comment 1 Matt Turner gentoo-dev 2017-03-27 04:01:39 UTC
(In reply to Ural from comment #0)
> localhost # eselect mesa list
> i915 (Intel 915, 945)
> i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
> r300 (Radeon R300-R500)
> r600 (Radeon R600-R700, Evergreen, Northern Islands)
> sw (Software renderer)
>   [1]   classic
>   [2]   gallium *
> 
> I don't see 'sw' in my list and didn't found any use flags related. How to
> switch any opengl activity to software rendering?

Software rendering is in the list you pasted. eselect mesa is for switching between drivers for the same hardware, not for selecting which hardware/software driver is loaded.

If you don't want to use nouveau, remove it from your VIDEO_CARDS setting and recompile Mesa.
Comment 2 Ural 2017-03-27 14:23:49 UTC
Thanks for reply. sw is listed in pasted output, but not available as option to select (only classic and gallium).

I want to use nouveau as display driver, but not for 3D rendering. So can I recompile mesa with VIDEO_CARDS="-nouveau", but keep +nouveau globally to be available for Xorg and other?
Comment 3 Mart Raudsepp gentoo-dev 2017-03-27 14:45:39 UTC
(In reply to Ural from comment #2)
> Thanks for reply. sw is listed in pasted output, but not available as option
> to select (only classic and gallium).

That's the option you are selecting as it is for "sw (Software renderer)", and is indented for that too. "classic" for swrast and "gallium" for llvmpipe.

There are no multiple options for nouveau mesa (it's only gallium), so you don't have anything to choose there and eselect mesa doesn't manage it.
If you don't want to use GL driver for nouveau, don't compile/install it or force software with something like LIBGL_ALWAYS_SOFTWARE=1 environment.