Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

black screen nvidia offloading(unsolved)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

black screen nvidia offloading(unsolved)

  • Quote

Post by hedmo » Sun Nov 03, 2019 4:38 pm

hi

i am trying to offloading my nvidia card and using libglvnd with prime but i am getting a black screen:


xorg log = http://dpaste.com/2E6X34T
xorg.conf = http://dpaste.com/2W5ENFR
01-nvidia-offloading.conf = http://dpaste.com/1NFMDYS

regards hedmo
Last edited by hedmo on Sat Nov 16, 2019 6:24 am, edited 1 time in total.
Top
AlexJGreen
Tux's lil' helper
Tux's lil' helper
Posts: 149
Joined: Wed Sep 19, 2018 5:37 pm

  • Quote

Post by AlexJGreen » Thu Nov 07, 2019 10:50 am

_
Last edited by AlexJGreen on Mon Dec 28, 2020 3:22 am, edited 1 time in total.
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri Nov 15, 2019 7:56 pm

coderanger

thank you for the reply. i have had contact with nvidia.my laptop screen is attached to the nvidia card and there is no way for me to use the intel iGPU with the proprietary NVIDIA
card driver. to make this work i have to have nouveau with reverse prime.

regards hedmo
Top
nkichukov
n00b
n00b
Posts: 15
Joined: Tue Oct 16, 2012 1:11 pm
Location: Amstelveen, Netherlands

  • Quote

Post by nkichukov » Sun May 10, 2020 10:17 pm

Hi there,
this works already, see: https://bugs.gentoo.org/show_bug.cgi?id=692206

intel, nvidia and libglvnd is what is needed. The only required configuration change is:

Code: Select all

    Section "ServerLayout"
      Identifier "layout"
      Option "AllowNVIDIAGPUScreens"
    EndSection
as described in: https://download.nvidia.com/XFree86/Lin ... fload.html

However, my next problem was, additional displayport/hdmi displays were only recognized by the dGPU and not presentable to the iGPU. So I had to switch my bios to discrete GPU, instead of the hybrid configuration. I am trying to figure out a way to preset additional displays to xrandr in the above configuration.

See: https://bugs.gentoo.org/show_bug.cgi?id=692206#c80
Top
mao
n00b
n00b
Posts: 48
Joined: Wed Mar 22, 2017 10:40 am
Location: Poland

  • Quote

Post by mao » Mon Sep 28, 2020 4:36 pm

Hi,

dear Gentoo users, you have my deep gratitude, as thanks to this advice:
coderanger wrote: Here are my working configs where I select videocard via grub menu, some values are specific to thinkpad t470p (for example, bus id) but I hope these configs will be helpful in order to figure out which steps need to be performed to get proprietary drivers working with optimus card:
for systemd users: http://blog.jee.org.ua/linux/nvidia/opt ... stemd.html
for openrc users: http://blog.jee.org.ua/linux/gentoo/nvi ... timus.html
and this one
nkichukov wrote: intel, nvidia and libglvnd is what is needed. The only required configuration change is:

Code: Select all

    Section "ServerLayout"
      Identifier "layout"
      Option "AllowNVIDIAGPUScreens"
    EndSection
I was finally able to make Nvidia / intel to run properly on my local machine and use 3D acceleration to its fullest.

The most useful piece of advice for me was to include XRandR instruction in script loaded by the desktop environment, e.g. sddm ( /usr/share/sddm/scripts/Xsetup ) for me. I tried to include these commands in /etc/X11/xinit/xinitrc but it wouldn't work (now I know why).

Best regards.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic