Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg and nvidia-drivers-390 [solved]
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
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Fri Dec 17, 2021 12:28 am    Post subject: xorg and nvidia-drivers-390 [solved] Reply with quote

Hello,
Using Gentoo Currernt. Installed with the nvidia drivers, had to select a older kernel. Was able to complete install. Now when attempting to update world run into the following errors.
https://dpaste.com/EY5QGEFPP

Would like to fix to make updating world a little easier.

Thanks,
Nate


Last edited by nathanlkoch on Tue Feb 22, 2022 7:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Fri Dec 17, 2021 1:59 am    Post subject: Reply with quote

Please share emerge -p -uvDU @world.

But note that this might just be.. correct? It has to skip the upgrade because those older drivers don't support 1.21.
Back to top
View user's profile Send private message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Fri Dec 17, 2021 2:13 am    Post subject: Reply with quote

https://dpaste.com/5SQJ395F7

and I still have remnants of left over preserved libs i am unsure of how to remove.

Code:
nkoch@Observable ~ $ sudo emerge @preserved-rebuild

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

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libdrm-2.4.109  VIDEO_CARDS="nouveau*"
[ebuild   R    ] x11-drivers/xf86-video-nouveau-1.0.17

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-drivers/xf86-video-nouveau-1.0.17::gentoo
# required by @preserved-rebuild (argument)
>=x11-libs/libdrm-2.4.109 video_cards_nouveau

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.


Code:
VIDEO_CARDS="fbdev nvidia v4l"

in make.conf

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Fri Dec 17, 2021 2:28 am    Post subject: Reply with quote

Code:
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
I know it looks imposing with the looks-like-an-error but it's really just a warning and can be ignored.

Along older kernel branch, nvidia-drivers-390 also needs the older branch of xorg-server (1.20.x) until nvidia updates it for xorg-21 (hopefully, but who knows), so it's telling you it couldn't update to 21.

For the rest, have you tried to emerge --depclean? I feel like xf86-video-nouveau is not supposed to be installed.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Fri Dec 17, 2021 2:30 am    Post subject: Reply with quote

Anathonous wrote:
https://dpaste.com/5SQJ395F7


Looks totally fine for both xorg and gucharmap (see bug 816342). See what ionen said re preserved libs.

May need to grep -rsin "nouveau" /etc/portage to see if it's enabled if a depclean doesn't help.
Back to top
View user's profile Send private message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Fri Dec 17, 2021 2:35 am    Post subject: Reply with quote

i fixed it. Thank you.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Fri Dec 17, 2021 6:56 pm    Post subject: Reply with quote

What a sad numbering, xorg-21, so dislike this firefox-95 or whatever.
Back to top
View user's profile Send private message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Fri Dec 17, 2021 7:07 pm    Post subject: Reply with quote

The issue I was having is shotwell wouldn't finish so the gnome-meta package wouldn't finalize so when i did an emerge --depclean it started uninstalling everything. I fixed it by flagging it out. Then the meta finalized then I was able to --depclean so @preserved-rebuild would finish.

Gentoo problems.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Mon Dec 20, 2021 12:58 am    Post subject: Reply with quote

Ionen wrote:
Along older kernel branch, nvidia-drivers-390 also needs the older branch of xorg-server (1.20.x) until nvidia updates it for xorg-21 (hopefully, but who knows), so it's telling you it couldn't update to 21.
Just to update, newly added 390.147 supports kernel-5.15 and xorg-21, hopefully no regressions (haven't tested much).

So warning should go away and it'll update normally, can use 5.15 if you want too (it's the new LTS kernel, so might as well -- but odds are 5.16 or 5.17+ will break it again sometime so I'd stay on an LTS branch).
Back to top
View user's profile Send private message
nathanlkoch
Apprentice
Apprentice


Joined: 31 Jan 2021
Posts: 163
Location: Earth / Sol

PostPosted: Sun Jan 16, 2022 6:57 pm    Post subject: Reply with quote

Ionen wrote:
Ionen wrote:
Along older kernel branch, nvidia-drivers-390 also needs the older branch of xorg-server (1.20.x) until nvidia updates it for xorg-21 (hopefully, but who knows), so it's telling you it couldn't update to 21.
Just to update, newly added 390.147 supports kernel-5.15 and xorg-21, hopefully no regressions (haven't tested much).

So warning should go away and it'll update normally, can use 5.15 if you want too (it's the new LTS kernel, so might as well -- but odds are 5.16 or 5.17+ will break it again sometime so I'd stay on an LTS branch).


Yeah, It updated and everything worked out fine. The .147 updated added support for the whole kernel branch.
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