1 |
When the lbglvnd flag was introduced I remember I solved this issue by: |
2 |
|
3 |
# emerge --unmerge eselect-opengl |
4 |
# emerge -1qv mesa |
5 |
|
6 |
After that, a simple update of @world rebuilt everything else on its own. |
7 |
|
8 |
Personally, I had been waiting for libglvnd support for _a long time_. |
9 |
This - and I mean GLVND in general - is something that should have come |
10 |
to Linux many years ago, along with NVIDIAs PRIME render offloading. |
11 |
|
12 |
10y ago I used to have an Optimus laptop with an Nvidia GPU and it was |
13 |
an absolute hell to get it running, I remember writing tonnes of scripts |
14 |
using VirtualGL and a dummy X server running on the Nvidia GPU. This was |
15 |
before bumblebee. |
16 |
|
17 |
Today, I still need this with an external GPU. |
18 |
|
19 |
But now it takes 1 environment variable to offload to the other GPU! |
20 |
GLVND literally made my Linux work experience a million times better. |
21 |
I'm extatic. |
22 |
|
23 |
- V |
24 |
|
25 |
On 20/05/2020 07:07, Dale wrote: |
26 |
> J. Roeleveld wrote: |
27 |
>> On 20 May 2020 05:44:58 CEST, Walter Dnes <waltdnes@××××××××.org> wrote: |
28 |
>>> On Tue, May 19, 2020 at 03:14:03PM +0200, J. Roeleveld wrote |
29 |
>>>>>> On Mon, May 18, 2020 at 01:53:19PM -0400, Walter Dnes wrote: |
30 |
>>>>> Thank you very much. I've got the update (156 packages) running |
31 |
>>> now. |
32 |
>>>>> I had set "-libglvnd" in make.conf on my main machine, but only |
33 |
>>> against |
34 |
>>>>> xorg-server on my secondary machine. Setting "-libglvnd" in |
35 |
>>> make.conf |
36 |
>>>>> solves the problem. |
37 |
>>>> Only for now. |
38 |
>>>> "Libglvnd" is scheduled to be removed as a USE flag. I would |
39 |
>>>> definitely suggest to switch to having that one on before it becomes |
40 |
>>>> mandatory. |
41 |
>>>> |
42 |
>>>> It has a lot of benefits over the eselect hack to be able to have |
43 |
>>>> multiple opengl implementations running. |
44 |
>>> The reason I had originally turned it off was because when it first |
45 |
>>> showed up as a flag, I checked Google to find out what it was. Almost |
46 |
>>> every hit on webforums was like... |
47 |
>>> |
48 |
>>> Person 1 - Help; my "update world" dies |
49 |
>>> Person 2 - Turn off "libglvnd" in make.conf |
50 |
>>> Person 1 - Thank you; my update works fine now |
51 |
>>> |
52 |
>>> Add me to the list. If this is to be a new default config setup, I'd |
53 |
>>> appreciate a news item about it, like the python 3.6 to 3.7 switchover. |
54 |
>> I actually had to enable this on my new laptop before it became stable to get the Nvidia chip and my external displays working. |
55 |
>> I am actually happy with this as I don't have to keep changing the opengl setting anymore when I need 3D performance. |
56 |
>> |
57 |
>> -- |
58 |
>> Joost |
59 |
> |
60 |
> |
61 |
> Reading this thread, I checked and I to have this USE flag turned |
62 |
> off/disabled/whatever. I removed it from make.conf and commented out |
63 |
> everything else I found in /etc/portage and am checking to see what all |
64 |
> had to be rebuilt. I figure I may as well change now while I have a |
65 |
> otherwise stable system, except for the sddm-helper chewing memory |
66 |
> problem, and get ahead of the curve. ;-) Using that grep -r trick |
67 |
> comes in handy. Learned that from this list too. |
68 |
> |
69 |
> It's odd how following a thread that may not even affect you ends up |
70 |
> doing so. :/ |
71 |
> |
72 |
> Just in case, this is what emerge spit out on my screen. |
73 |
> |
74 |
> |
75 |
> Calculating dependencies... done! |
76 |
> [ebuild R ] sys-libs/libblockdev-2.23-r1::gentoo USE="cryptsetup |
77 |
> lvm tools -bcache -device-mapper -dmraid -escrow -gtk-doc -introspection |
78 |
> -kbd -test -vdo" PYTHON_SINGLE_TARGET="python3_7 -python3_6 |
79 |
> (-python3_8)" 0 KiB |
80 |
> [ebuild R ] media-libs/libdvdnav-6.0.0::gentoo USE="-static-libs" |
81 |
> ABI_X86="(64) -32 (-x32)" 0 KiB |
82 |
> [ebuild N ] media-libs/libglvnd-1.3.1::gentoo USE="X -test" |
83 |
> ABI_X86="32 (64) (-x32)" 698 KiB |
84 |
> [ebuild R ~] media-libs/mesa-20.0.4-r1::gentoo USE="X classic dri3 |
85 |
> egl gallium gbm gles2 libglvnd* llvm wayland zstd -d3d9 -debug -gles1 |
86 |
> -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind |
87 |
> -vdpau -vulkan -vulkan-overlay -xa -xvmc" ABI_X86="32 (64) (-x32)" |
88 |
> VIDEO_CARDS="(-freedreno) -i915 -i965 -intel -iris (-lima) -nouveau |
89 |
> (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl |
90 |
> (-vivante) -vmware" 0 KiB |
91 |
> [blocks b ] media-libs/mesa[-libglvnd(-)] |
92 |
> ("media-libs/mesa[-libglvnd(-)]" is blocking media-libs/libglvnd-1.3.1) |
93 |
> [ebuild R ] sys-libs/libcap-2.26-r2::gentoo USE="pam (split-usr) |
94 |
> -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB |
95 |
> [ebuild R ] x11-drivers/nvidia-drivers-440.82:0/440::gentoo USE="X |
96 |
> acpi driver gtk3 kms libglvnd* multilib tools -compat -static-libs -uvm |
97 |
> -wayland" ABI_X86="32 (64) (-x32)" 0 KiB |
98 |
> [ebuild R ] x11-base/xorg-server-1.20.7:0/1.20.7::gentoo |
99 |
> USE="elogind ipv6 libglvnd* suid udev xorg -debug -dmx -doc -kdrive |
100 |
> -libressl -minimal (-selinux) -static-libs -systemd -unwind -wayland |
101 |
> -xcsecurity -xephyr -xnest -xvfb" 0 KiB |
102 |
> [uninstall ] app-eselect/eselect-opengl-1.3.1-r4::gentoo |
103 |
> [blocks b ] app-eselect/eselect-opengl |
104 |
> ("app-eselect/eselect-opengl" is blocking |
105 |
> x11-drivers/nvidia-drivers-440.82, x11-base/xorg-server-1.20.7, |
106 |
> media-libs/mesa-20.0.4-r1) |
107 |
> |
108 |
> |
109 |
> |
110 |
> Now let us pray to the portage gods for a happy outcome. o_O |
111 |
> |
112 |
> Dale |
113 |
> |
114 |
> :-) :-) |
115 |
> |
116 |
> P. S. Between this and finding that weird The Black Bird movie from |
117 |
> 1975, I'm having a good day. ROFL |