You are not logged in.
Hey everyone
I have a laptop which is Lenovo Legion R 7000 2020 with AMD R7-4800H CPU and GeForce GTX1650(tu117m) GPU.(CPU has Core Graphics card too,called Vega7)
There are a selections in bios like "switchable graphics" and "Discrete graphics",and I selected "Discrete graphics" to block the Core Graphics card,I thought that Discrete graphic card is much better than Core Graphics card.
Then I installed the ArchLinux as wiki told me to do,installed the KDE plasma for my DE,then I found the problem
Everytime I launch a new program,I will see a bad start animation,it starts quick,and it stops suddenly,then the process is done,I will see the program running
Seems like only the CPU is working, and the graphics card is not rendering animation at all.nvidia X-settings is the only program which can start with very smooth animation.
I adjusted everything I could,like in the X-settings,kde's systemsettings,just not helpful,I installed gentoo,and the problem is still there.(Now I installed Windows,it is working fine.....LOL)
Does anyone have any clue about this?
Last edited by nurali (2022-11-16 06:23:43)
Offline
There's no information here, are you launching a xorg or a wayland session? Is your setup working correctly in general? Post
pacman -Qs nvidia
glxinfo -B
sudo journalctl -b
cat /var/log/Xorg.0.logOffline
Also
qdbus org.kde.KWin /KWin supportInformationOffline
Sorry for taking your time,I launched kde with xorg session,the setup is not working about animation(systemsettings=>Display and Monitor=>compositor)
```
pacman -Qs nvidia
local/egl-wayland 2:1.1.11-2
EGLStream-based Wayland external platform
local/lib32-nvidia-utils 520.56.06-1
NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 520.56.06-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-1
Nvidia VDPAU library
local/libxnvctrl 520.56.06-1
NVIDIA NV-CONTROL X extension
local/nvidia 520.56.06-10
NVIDIA drivers for linux
local/nvidia-settings 520.56.06-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 520.56.06-2
NVIDIA drivers utilities
local/opencl-nvidia 520.56.06-2
OpenCL implemention for NVIDIA
```
There's no information here, are you launching a xorg or a wayland session? Is your setup working correctly in general? Post
pacman -Qs nvidia glxinfo -B sudo journalctl -b cat /var/log/Xorg.0.log
Offline
Please see the link for how you can easily post all of the outputs asked for to a pastebin. If you intend to use code tags don't use markdown but bbcode which would be [ code ] [ /code ] without the spaces between the brackets.
Offline
Thanks for reminding and helping,I've never send a post here before,and my mother tongue is not English,but I'll try....
Please see the link for how you can easily post all of the outputs asked for to a pastebin. If you intend to use code tags don't use markdown but bbcode which would be [ code ] [ /code ] without the spaces between the brackets.
Offline
Here are the files,please check:
http://0x0.st/oIqM.txt
http://0x0.st/oIqu.txt
http://0x0.st/oIqS.txt
Please see the link for how you can easily post all of the outputs asked for to a pastebin. If you intend to use code tags don't use markdown but bbcode which would be [ code ] [ /code ] without the spaces between the brackets.
Offline
Generally everything looks like it works correctly (also post the output seth asked for) maybe elaborate, what is your actual problem, is there a long delay between a window appearing? Is there any problem during actual and active usage?
Offline
I don't know how to describe this,but here are the screen recording(about 4 mb) and the output that Seth asked,you can see if I open the NVIDIA X server settings,the animation will be very fluent,smooth,but to other programs,the animation becomes incoherent
Please check:
http://0x0.st/oIqF.mkv
http://0x0.st/oIqh.txt
Generally everything looks like it works correctly (also post the output seth asked for) maybe elaborate, what is your actual problem, is there a long delay between a window appearing? Is there any problem during actual and active usage?
Offline
Oh yes,there is another thing,if I use the Core Graphic card instead of this n-card(mean block the nvidia graphic card by not installing the firmware),this problem will gone,I've tested it on Gentoo and Arch......Once the n-card comes back,the problem will appear again
Generally everything looks like it works correctly (also post the output seth asked for) maybe elaborate, what is your actual problem, is there a long delay between a window appearing? Is there any problem during actual and active usage?
Offline
That really isn't an issue per se and dependant on what the actual program is doing. Systemsettings in particular is very modular and needs to load and render quite a few plugins dynamically and the UI will likely be QML which is going to be interpreted instead of native widgets. There's not much you can inherently do about this and this has nothing to do with nvidia.
Is it "gone" gone (as in doesn't happen anymore) or just not as pronounced (if you look closely you'll still see it - I still see the latter)? One thing I'd generally reccommend here if this kind of desktop smoothness is your goal is to enable TripleBuffer on the nvidia driver e.g. /etc/x11/xorg.conf.d/20-nvidiatriplebuffer.conf:
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "TripleBuffer" "on"
EndSectionAlso potential difference, you are starting a Xorg session on the integrated card as well right?
Last edited by V1del (2022-11-15 11:32:40)
Offline
emmmm.....ok,actually not just the systemsetting has this problem,I had an old laptop once,with i5-6200u and gtx940mx,kde worked smooth on that computer,so I thought it is about nVidia.Thanks for explaining:D
That really isn't an issue per se and dependant on what the actual program is doing. Systemsettings in particular is very modular and needs to load and render quite a few plugins dynamically and the UI will likely be QML which is going to be interpreted instead of native widgets. There's not much you can inherently do about this and this has nothing to do with nvidia.
Offline
The "gone" means what this animation frame dropping problem does not happen again after I switched to Vega7(gpu card of cpu),it(animation frame dropping) did not happen even I enable two gpu cards(Discrete card and integrated card) in the same time,it just happens when I switch to 1650(when only 1650 enabled)
I enabled them both now,smoth animation is back,thanks for the advice,I'll try that: D and yes,I am always starting Xorg session,I don't much like wayland to be honest
That really isn't an issue per se and dependant on what the actual program is doing. Systemsettings in particular is very modular and needs to load and render quite a few plugins dynamically and the UI will likely be QML which is going to be interpreted instead of native widgets. There's not much you can inherently do about this and this has nothing to do with nvidia.
Is it "gone" gone (as in doesn't happen anymore) or just not as pronounced (if you look closely you'll still see it - I still see the latter)? One thing I'd generally reccommend here if this kind of desktop smoothness is your goal is to enable TripleBuffer on the nvidia driver e.g. /etc/x11/xorg.conf.d/20-nvidiatriplebuffer.conf:
Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "TripleBuffer" "on" EndSectionAlso potential difference, you are starting a Xorg session on the integrated card as well right?
Offline
this has nothing to do with nvidia
The nvidia blob is notoriously slow w/ the gl context creation QML heavily relies on.
[Edit: particularily the GL context resizes]
But this isn't fixable by any setting or user.
not just the systemsetting has this problem
I bet your right arm that QML is gonna make the difference.
Do you have the problem w/ eg.
- konsole
- kwrite
- xterm (obviously no GL, no QML, no nothing)
- sqriptor (in the AUR - shameless plug, but no QML there)
- glxgears
- mpv
- dolphin
- pcmanfm-qt
Last edited by seth (2022-11-15 14:19:36)
Offline
I did have problems with some of those applications you listed,but I selected the "switchable graphics" in bios option,installed xf86-video-amdgpu,vulkan-radeon,and now it's doing fluently.I did not install optimus or prime kind of apps for now,I don't sure if it is nessesary.Then I did not really understand "w\",I am a newbie actually,could you please discribe it?thanks for paying attention
http://0x0.st/oIT2.png
V1del wrote:this has nothing to do with nvidia
The nvidia blob is notoriously slow w/ the gl context creation QML heavily relies on.
[Edit: particularily the GL context resizes]
But this isn't fixable by any setting or user.nurali wrote:not just the systemsetting has this problem
I bet your right arm that QML is gonna make the difference.
Do you have the problem w/ eg.
- konsole
- kwrite
- xterm (obviously no GL, no QML, no nothing)
- sqriptor (in the AUR - shameless plug, but no QML there)
- glxgears
- mpv
- dolphin
- pcmanfm-qt
Offline
w/o : without
w/ : with
with some of those applications
Namely?
Offline
ok,I've tried konsole and kwrite,both of them had that problem,I have not install them all until I enable both graphic cards to solve the problem
w/o : without
w/ : withwith some of those applications
Namely?
Offline
Solved,I selected swichable graphics in bios,and installd drivers for both of the graphic cards,then I installed bbswitch,optimus manager,set startup mode:auto;battery and external power startup:nvidia;reboot,then it worked very nice,nvidia is working,animation frame dropping is not showing up.
How can I mark this "solved"?Re-edit the title?
ok,I've tried konsole and kwrite,both of them had that problem,I have not install them all until I enable both graphic cards to solve the problem
seth wrote:w/o : without
w/ : withwith some of those applications
Namely?
Offline
Edit your first post and add '[SOLVED]' to the subject.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
OK
Edit your first post and add '[SOLVED]' to the subject.
Offline