Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why is xorg built with nouveau when I have AMDGPU? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Tue Jan 12, 2021 10:44 pm    Post subject: why is xorg built with nouveau when I have AMDGPU? [solved] Reply with quote

This seemed like the best forum for the question:

I've just gotten xorg running, and am seeing a slot conflict when an installation pulls in libdrm:
Code:
 >=x11-libs/libdrm-2.4.89[video_cards_radeon] required by (x11-drivers/xf86-video-ati-19.1.0:0/0::gentoo, installed) USE="udev" ABI_X86="(64)"
                             ^^^^^^^^^^^^^^^^^^                                                                                                                                                                           
    >=x11-libs/libdrm-2.4.60[video_cards_nouveau] required by (x11-drivers/xf86-video-nouveau-1.0.16:0/0::gentoo, installed) USE="" ABI_X86="(64)"


I find that xorg doesn't have an xorg.conf anymore. I pretty much ran down the handbook during installation, and xorg setup. I've got an AMD GPU card and the amdgpu module is loaded. I built the kernel with all the vanilla defaults:
Code:
localhost ~ # cat /usr/src/linux/.config|grep -i nouveau
# CONFIG_DRM_NOUVEAU is not set


And I haven't monkeyed with USE flags or anything... so it seems like nouveau is coming along for the ride, but I don't see how it got onboard in the first place.

How do I get rid of it - any pointers?


Last edited by whitt on Wed Jan 13, 2021 1:23 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Tue Jan 12, 2021 10:53 pm    Post subject: Reply with quote

whitt,

What do you have is VIDEO_CARDS= in make.conf.

Depending on your AMD card model, different settings are required.
Please post the output of
Code:
lspci -nnk

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Tue Jan 12, 2021 11:24 pm    Post subject: Reply with quote

Did you read this: https://wiki.gentoo.org/wiki/AMDGPU or this: https://wiki.gentoo.org/wiki/Radeon ?

In an other thread I wrote: "An exact description of your problem is half the way to solve it." Let me complement: ... and it saves (your) time, because nobody must ask you which graphics card you are using.
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Tue Jan 12, 2021 11:28 pm    Post subject: Reply with quote

make.conf:
Code:
cat /etc/portage/make.conf|grep -i video
## Video card
VIDEO_CARDS="amdgpu"


lspci:
Code:
lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU [1022:1481]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
        Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
        Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
        Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
        Kernel driver in use: pcieport
00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
        Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 3 [1022:1443]
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse Device 24: Function 7 [1022:1447]
02:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ee]
        Subsystem: ASMedia Technology Inc. Device [1b21:1142]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
02:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43eb]
        Subsystem: ASMedia Technology Inc. Device [1b21:1062]
        Kernel driver in use: ahci
        Kernel modules: ahci
02:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43e9]
        Kernel driver in use: pcieport
20:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Kernel driver in use: pcieport
20:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Kernel driver in use: pcieport
20:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Kernel driver in use: pcieport
20:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Kernel driver in use: pcieport
20:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43ea]
        Kernel driver in use: pcieport
29:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
        DeviceName: RTL8111E Giga LAN
        Subsystem: Intel Corporation Wi-Fi 6 AX200 [8086:0084]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
        Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8125 2.5GbE Controller [1462:7c90]
        Kernel driver in use: r8169
        Kernel modules: r8169
2b:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev ca)
        Kernel driver in use: pcieport
2c:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
        Kernel driver in use: pcieport
2d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev ca)
        Subsystem: ASUSTeK Computer Inc. Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1043:05a5]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
2d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
2e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
2f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
2f:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
        Kernel driver in use: ccp
        Kernel modules: ccp
2f:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
        Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:7914]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
2f:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
        DeviceName: Realtek ALC1220
        Subsystem: Micro-Star International Co., Ltd. [MSI] Starship/Matisse HD Audio Controller [1462:ec90]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
31:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
        Kernel driver in use: ahci
        Kernel modules: ahci
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Tue Jan 12, 2021 11:33 pm    Post subject: Reply with quote

pietinger wrote:
Did you read this: https://wiki.gentoo.org/wiki/AMDGPU or this: https://wiki.gentoo.org/wiki/Radeon ?

In an other thread I wrote: "An exact description of your problem is half the way to solve it." Let me complement: ... and it saves (your) time, because nobody must ask you which graphics card you are using.


I did read both wikis, and am not sure what i should have taken away from them... My card is a 5600, in the navi family of chips.

At some point, xorg decided it needed the nouveau module, and it seems to be causing problems. If my understanding is incorrect, I don't see anything at either wiki explaining it to me differently...

What am I missing here?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Tue Jan 12, 2021 11:46 pm    Post subject: Reply with quote

Probably you used improper command to install nouveau and now it is in your world set. Never ever emerge dependencies without --oneshot (-1). Solution - remove it from your word file and run --depclean, it will remove all packages from your system which are not referenced in world set nor are dependencies. Alternate - simply unmerge it. Running --depclean is still recommended afterwards.

Last edited by Buffoon on Tue Jan 12, 2021 11:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Tue Jan 12, 2021 11:46 pm    Post subject: Reply with quote

whitt,

VIDEO_CARDS="amdgpu" isn't quite enough. You need radeonsi in there too.

VIDEO_CARDS= has got to be a bit of a mess over the years different packages use it for different things.
amdgpu gets you the Xorg driver. and radeonsi gets you mesa built with the acceleration you want.

What does
Code:
emerge -pv x11-base/xorg-drivers
tell ?

Your original snippet
Code:
 >=x11-libs/libdrm-2.4.89[video_cards_radeon] required by (x11-drivers/xf86-video-ati-19.1.0:0/0::gentoo, installed) USE="udev" ABI_X86="(64)"
                             ^^^^^^^^^^^^^^^^^^                                                                                                                                                                           
    >=x11-libs/libdrm-2.4.60[video_cards_nouveau] required by (x11-drivers/xf86-video-nouveau-1.0.16:0/0::gentoo, installed) USE="" ABI_X86="(64)"


You have x11-drivers/xf86-video-ati and x11-drivers/xf86-video-nouveau installed.
That suggests that you have some per package settings adding in VIDEO_CARDS="nouveau readeon", or the USE expanded equivalent.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Tue Jan 12, 2021 11:58 pm    Post subject: Reply with quote

ah crap. OK - added radeonsi to VIDEO_CARDS.

output of emerge -pv blah blah blah:
Code:
localhost ~ # emerge -pv xorg-drivers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-drivers-1.20-r2::gentoo  INPUT_DEVICES="libinput -elographics -evdev -joystick -synaptics -vmmouse -void -wacom" VIDEO_CARDS="amdgpu radeonsi -ast -dummy -fbdev (-freedreno) (-geode) -glint -i915 -i965 -intel -mga -nouveau -nv -nvidia (-omap) -qxl -r128 -radeon -siliconmotion (-tegra) (-vc4) -vesa -via -virtualbox -vmware" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


so now what?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jan 13, 2021 12:04 am    Post subject: Reply with quote

whitt wrote:
so now what?


Well, you could read my previous post and act accordingly.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 12:09 am    Post subject: Reply with quote

whitt wrote:
I did read both wikis, and am not sure what i should have taken away from them... My card is a 5600, in the navi family of chips.

Take this one: https://wiki.gentoo.org/wiki/AMDGPU

whitt wrote:
What am I missing here?

1. I think Buffoon is right. Please post the output of your /var/lib/portage/world. I think we have to delete here something.
2. Also what Neddy said: You need VIDEO_CARDS="amdgpu radeonsi" but wait before trying emerge again because of (1).
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Wed Jan 13, 2021 12:14 am    Post subject: Reply with quote

Buffoon wrote:
whitt wrote:
so now what?


Well, you could read my previous post and act accordingly.


i was writing back to others when your post popped up... only saw this by accident while searching other things. i didn't even know what nouveau was until i ran into a problem with libdrm, not sure how i would have accidentally emerged it.

i did run emerge -pvC on the driver, and it told me it was needed by xorg. i'm not certain i want to force it out, without understanding why xorg thinks it needs it.

EDIT to catch up on additional replys...

Code:
cat /var/lib/portage/world             
acct-group/locate
app-admin/metalog
app-editors/vim
app-eselect/eselect-repository
app-portage/eix
app-portage/gentoolkit
app-portage/layman
app-shells/gentoo-zsh-completions
app-shells/zsh
app-shells/zsh-completions
app-shells/zsh-syntax-highlighting
dev-vcs/git
net-misc/dhcpcd
net-wireless/iw
net-wireless/wpa_supplicant
sys-apps/lm-sensors
sys-apps/mlocate
sys-apps/pciutils
sys-apps/pcmciautils
sys-boot/grub:2
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-kernel/installkernel-gentoo
sys-kernel/linux-firmware
sys-kernel/zen-sources
sys-libs/gpm
sys-power/acpid
virtual/ssh
www-client/firefox
x11-apps/mesa-progs
x11-apps/xeyes
x11-base/xorg-drivers
x11-base/xorg-server
x11-base/xorg-x11
x11-terms/xterm
x11-wm/enlightenment
x11-wm/fluxbox
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 12:25 am    Post subject: Reply with quote

In the mean time I want to explain "Never ever emerge dependencies without --oneshot (-1)" ... ;-)

If you emerge package A this will be recorded in this world file.

If package A needs package X you will find X NOT in this file, because portage knows itself A need X.
If A gets an update and needs now Y INSTEAD for X, portage will catch Y and at some time you have to do an "emerge -c" deleting all unused packages like X.

IF YOU do an update for X without parm "-1" then this package will go also into world, even it is only a dependent package.
If A gets now an update and needs now Y INSTEAD for X, portage will try to catch Y and there exists two possibilities:

a) X is no problem for Y and ca coexist. This is a minor problem ... but you will never get it deleted with "emerge -c" - you must delete it by yourself with "emerge -C X"
b) X and Y cannot installed both. This is a major problem and must be resolved by yourself with deleting X ->

The clean way: "emerge -C X"
or dirty: Deleting this entry from your world-file ...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Wed Jan 13, 2021 12:26 am    Post subject: Reply with quote

whitt,

What does
Code:
grep -R -i radeon /etc/portage/
grep -R -i nouveau /etc/portage/

Have to say?

Maybe a bad attack of auto-unmask?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 12:32 am    Post subject: Reply with quote

Okay. Do you really want xorg-x11 (it is huge) or only xorg-server (only needed by a WM) ?

Delete xorg-drivers in your world-file and do an "emerge -vD xorg-server" again (and dont emerge the drivers again).
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Wed Jan 13, 2021 12:54 am    Post subject: Reply with quote

Pietinger - great question, I'd originally emerged only xorg-server, but ran into problems getting it configured / started, then poked around and ended up with drivers and x11 installed... if not needed, I'll definitely remove xorg-drivers. and FWIW, every package installed has been explicit, I have not installed any dependencies, only the parent packages i wanted.

NeddySeagoon - the number of hits for radeon is huge, but I think the interesting thing is that there are zero ocurrences of nouveau in /etc/portage...
Code:
localhost ~ # grep -Ri nouveau /etc/portage/                                                 
localhost ~ #


FWIW, after adding radeonsi to VIDEO_CARDS, I just started 'emerge -auv --newuse'ing every package i could think of related to xorg, reemerged xorg-drivers, and now nouveau is gone.

I feel kinda bad, because I have no idea what caused the problem, or how it was fixed. And since you're helping me out, I figured you'd like to know what caused it and what fixed it... Unfortunately I just started shotgunning it and now it's seemingly OK - no more slot conflict for libdrm.

I'm sorry if I spoiled the crime scene, but I'm grateful for your help none the less! : )
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Wed Jan 13, 2021 1:08 am    Post subject: Reply with quote

whitt,

xorg-server is the bit than draws windows on your local system.
It depends on xorg-drivers, so it need not be emerged explicitly and if it is, it should not be in world.
xorg-drivers is configured by VIDEO_CARDS=

A long time ago, if VIDEO_CARDS= was not set, xorg-drivers didn't install any video drivers at all.
That was easy to diagnose and fix, so I quite liked that.
In the interests of being beginner friendly, that god changed to install some subset of the video card drivers.
If you managed to install xorg-drivers with VIDEO_CARDS= not set, you would have got that 'some subset'
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 1:10 am    Post subject: Reply with quote

whitt wrote:
Pietinger - great question, I'd originally emerged only xorg-server, but ran into problems getting it configured / started, then poked around and ended up with drivers and x11 installed... if not needed, I'll definitely remove xorg-drivers. and FWIW, every package installed has been explicit, I have not installed any dependencies, only the parent packages i wanted.

Quick answer: xorg-drivers is not a "parent" package. You even would NOT need xorg-server itself as "parent" package IF you would install kde, gnome or xfce or ... They all pull in xorg-server by themself ... so its funny, but after you installed e.g. kde you could delete ALL your xorg-... entries from world (I have kde and none xorg entry in my world file anymore. But I also did the installation of X11 first to see if there is no problem, and afterwards I did my kde installation).

P.S.: If you do now an "emerge -cp" you should see some packages you dont need anymore.


Last edited by pietinger on Wed Jan 13, 2021 1:17 am; edited 1 time in total
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Wed Jan 13, 2021 1:15 am    Post subject: Reply with quote

OK - so maybe I jacked things up trying to monkey around with xorg. I'll take xorg-drivers out of world.

What I did was similar to what you describe - I installed "X" only to see I could get a black screen and xeyes running. That was the oldschool method I recalled to make sure my drivers were set up correctly, and what i was worried about verifying. Afterward, I installed flux and e.

I'm still not sure how vouveau ended up in here, but I'm glad to see it gone : )
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 1:21 am    Post subject: Reply with quote

whitt,

please dont forget to add [SOLVED] to your headline (of your first post) ... an maybe do the same with your other thread (but be careful: The headline must not be too long after this).
Back to top
View user's profile Send private message
whitt
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2020
Posts: 131

PostPosted: Wed Jan 13, 2021 1:24 am    Post subject: Reply with quote

Pietinger - done, solved. I'll do likewise where you helped me with my bootloader problem.

THanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Wed Jan 13, 2021 1:27 am    Post subject: Reply with quote

pietinger,

If Desktops and Window Managers pull is xorg-server, that's new.

Xorg is network transparent. Its OK to install Desktops and Window Managers without xorg-server if you intend to run them remotely and not display the video on those hosts.
xorg-server is only required to render the image, so it only needs to be on the system you sit in front of. That's the most common use case today in that its all on one system.
Even then, Xorg still talks to itself over the network.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4127
Location: Bavaria

PostPosted: Wed Jan 13, 2021 1:37 am    Post subject: Reply with quote

NeddySeagoon wrote:
pietinger,

If Desktops and Window Managers pull is xorg-server, that's new.

Neddy,

I dont know since which time this is true, but I really dont have any xorg-entry in my world-file. I think it is because with the 17.1/desktop-profile you have USE="X" and if you emerge plasma-meta it automatically pulls in xorg-server.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Jan 13, 2021 2:36 am    Post subject: Reply with quote

It is KDE/Plasma specific, I executed
Code:
USE='elogind X cups dbus pam qml text vorbis egl wayland opengl' emerge -tpv plasma-meta
in a headless server of mine and it really pulls in xorg-server. I think it is mesa which requires wayland flag which in turn requires xorg-server. Brrr, what a bloat.

https://dpaste.com/7PS8U6EAB
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 477
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Wed Sep 22, 2021 12:27 am    Post subject: Reply with quote

Having Use="X" is why you have all the unwanted deps
_________________
AsRock B550 Phantom Gaming 4
128GB 3200 Mhz memory
4x 4TB Sata - 2x 2TB Sata SSD - 4x 450GB SaS - 3x 900GB SaS - 72GB SaS for Boot
LSI 9211-8i in HBA mode for all of the SaS drives
Radeon 6800 (Non XT) for GPU
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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