Skip to content

u/Cherenkov11

In this archive from Feb 2020 to May 2021

0
posts
13
comments
0
media
24
score

It's working for me again, CUDA, NVENC and NVDEC, dmesg shows the next:

nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.

and lsmod | grep nvidia_uvm shows that indeed the module is loaded.

Blender, OBS and davinci Resolve are working again. I'm in 5.9.2-arch1-1 and nvidia 455.38. I also have the kernel parameter nvidia-drm.modeset=1 for PRIME synchronization, but I don't know if that has something to do with this.

3 points

Yes, that´s what I thought, most of that laptops have the external video outputs connected to the nvidia card, for performance reasons. If that is your case, you need to wait until nvidia fix their driver.

NOTE: If you're going to use nvidia-only configuration, I recommend you to use "nvidia-drm.modeset=1" in your kernel parameters, to avoid the annoying tearing screen that this set-up cause.

1 points

Yes, this only use the Nvidia GPU, so not very good for your battery. The perfect set-up that I use is just install the iGPU and dGPU without any xorg configuration file and the package nvidia-prime, this allows you to run specific apps with the nvidia card and pass the rendered image to the iGPU video outputs (in your case the HDMI or the laptop screen). For example, runing prime-run xonotic-sdl or on the launch options on steam prime-run %command%.

2 points

I could be wrong, but I think right now is a limitation between the nvidia driver and the amdgpu driver. This is from the README of the latest nvidia driver 450.57 "The NVIDIA driver currently cannot be used as an output sink when the output source driver is xf86-video-amdgpu". I suspect the HDMI output is connected to the nvidia GPU, if so, this apply. Only thing is to wait until nvidia fix the driver. More information about the topic on here.

EDIT: A solution could be using only the nvidia GPU to render all like this, but modifying it to use the amdgpu and not intel related stuff, like this:

On /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf

Section "OutputClass"
    Identifier "AMD"
    MatchDriver "amdgpu"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

And on your xinitrc:

xrandr --setprovideroutputsource modesetting NVIDIA-0 
xrandr --auto
2 points

My story is pretty much likely as yours, but like 7 - 8 years ago, I wanted to make a dedicated minecraft server to play with my friends, I had an old Pentium 4 PC with 1GB of RAM that ran Windows XP, I installed Ubuntu on another partition from an old CD that I had, I think it was 9.10, so very outdated to that date, I used for a week, because I found that it was based on Debian and I was curious about it, so I tried it and like it a lot. I settled down on Debian testing for the next 3 years, in that time I tried a couple of distros, one of them was Manjaro, I liked that it did not have versions, it just keeps updating (rolling release), then I learned that it was based on Arch, so I tried it, and since then I have been using it. Thanks Minecraft for introduce me to this Linux world.

6 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.