You are not logged in.
After reboot … Its 60 FPS now
This is after fixing lib32-nvidia-utils-beta ?
So
The problem is not 50 fps, it varies between 10-50. If it's 40-50, no problem. It drops to 10 too much. Also, the last few times I tried I couldn't even get 50. Its 10-30...
was fixed?
As for the cap, might be game internal or just vsync - can your monitor show more than 60Hz?
Try to "export __GL_SYNC_TO_VBLANK=0"
Offline
This is after fixing lib32-nvidia-utils-beta ?
Yes, that's the last thing I did. And yes the cap issue is solved as much as possible. My monitor can support max 60Hz, so do you want me to try `export __GL_SYNC_TO_VBLANK=0` ? And how exactly can I use this command?
Hopefully I can optimize it and get higher FPS with that.
Last edited by jojo06 (2024-06-02 07:49:10)
Offline
It started using 12 GB Ram again. CPU fan speed increases and decreases and the heat is high again. Utilization also goes up and down. VRAM is in full use. GPU is in full use. FPS drops to 20 at times and 40 in game. I think AMD is a must, not only the graphics card but also the processor should be AMD. Is this why in `linux memes` they said `he/them have a hate for nvidia` ?
Offline
Is this why in `linux memes` they said `he/them have a hate for nvidia` ?
It's safe to say that Linus has picked a gender and the "fuck you" meme has more to do with the closed source out-of tree nature of the driver and its widespread usage and no support for in-tree drivers which is no longer accurate because of nvidia-open.
Back to your actual issue: when this actually happens
1. check "top" for the offending process(es) that hog RAM and CPU
2. glxinfo -B; gxlinfo32 -B
3. try the behavior on X11
I can guarantee you that switching the CPU vendor will do jack squat about this and I'm willing to bet that the problem is more down to hyprland or some misconfiguration or maybe a bug in the game than the nvidia driver. Iff this is related to playing a game at all and not just random sideload from some file indexer or so.
Edit: x-ref, https://bbs.archlinux.org/viewtopic.php?id=296383
Last edited by seth (2024-06-02 13:49:31)
Offline
I think I'd better use KDE or something. Hyprland is still not complete and solid. For a few days now, when it first starts up, `maybe it's a small bug` but the firefoxes that start up start up one tick smaller than the `div` space allocated to it. It is also outlined with a white line. So it's not as clear and clean as it used to be, there are some small things that I can't name.
Will do:
1. check "top" for the offending process(es) that hog RAM and CPU
2. glxinfo -B; gxlinfo32 -B
When you say X11, are you talking about switching to xorga, which is a logical move? Terminal and file manager etc. sometimes get confused. I see that the problems do not end in xwayland/hyprland
Im glad to hear that:
I can guarantee you that switching the CPU vendor will do jack squat about this and I'm willing to bet that the problem is more down to hyprland or some misconfiguration or maybe a bug in the game than the nvidia driver. Iff this is related to playing a game at all and not just random sideload from some file indexer or so.
Offline
are you talking about switching to xorg
yes but https://bbs.archlinux.org/viewtopic.php?id=296383 is apparently on xfce, the problem might not be hyprland/wayland either (or the two threads are unrelated - there isn't enough information on the other thread either)
Offline
Well, my point is: Path of least resistance.
To refer back to my laptop: I once somewhat got it to work (presumably) but every time I tried to init opengl or vulkan I got just errors. So in the end I gave up and switched back to windows on it - because on windows it just works.
What I try to say: Yes, there maybe is a way to get it working properly - both my system and yours - but what effort is required?
For me I decided it's just not worth it - espacially since the battery died and I use it even less since.
Same with your setup: If possible I would just replace the nvid gpu with an amd one - clean all the nvid crap from the system - setup mesa radv and call it a day. Otherwise I would just bite it and use windows.
Offline
I noticed a problem with kde. The system puts itself to sleep after being idle for a while. When I logged back in, the fonts were broken. It's extremely laggy, even with mouse cursor movements and it frozen for few seconds. There is also flashing/flashing in the browser on the desktop etc. Now its not that bad after 1 min. Could it be because I didn't install xorg ? But I installed kde and kde-applications and sddm.
You want me to check them now ?:
1. check "top" for the offending process(es) that hog RAM and CPU
2. glxinfo -B; gxlinfo32 -B
and in game ?
How can i change back to xorg ?
Edit: cryptearth i guess i need dual boot but the problem is not the game actually. I mean for now and i guess. And i heard that in other places so whenever i change my pc i will go fully amd
Last edited by jojo06 (2024-06-03 04:34:19)
Offline
When I do a clean install and set up kde I just install the meta-package "plasma" and enable sddm. Since kde6 it automatically installs both X and wayland and I can chose on login.
If it's not too much of an issue you may want to disable sleep for now so at least that issue won't happen.
I'm not sure if it would do anything if you would remove kde and reinstall plasma - would have to test it in a vm.
If you go dual-boot please follow the 3rd link in seth's signature "disable windows fast boot" - it's quite important as not disable it can lead to funky issues both software and hardware.
Offline
With kde i meant plasma. Its ok to get rid of `sleep/idle` i thought its issue related. I enabled and started sddm and reboot after it. Is this okay ? Im somehow it feels right to start and after reboot - enable it.
Maybe im not in X let me check and login to X correctly. And those : ?
1. check "top" for the offending process(es) that hog RAM and CPU
2. glxinfo -B; gxlinfo32 -B
Edit: now im on X11 Plasma. It was stupid, i was wondering what happened to kde
Its plasma or kde by the way ?
Last edited by jojo06 (2024-06-03 06:15:08)
Offline
KDE changed their naming a few times :
first 3 versions were called K Desktop environment <number>
4 was caled KDE Software Compilation 4
5 and 6 are called KDE Plasma5 and KDE plasma6 .
Starting with plasma5 they distinguish between 3 components KDE plasma , KDE Frameworks, KDE applications .
most people use whatver they feel like and don't bother with the smaller details.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
First time I installed Arch - well, 2nd time, actual 1st time I missed "bring along an editor" - I installed "plasma" and missed everything.
It's actual quite "the Arch experience": while "base" doesn't come with any editor - just installing "plasma" gets you to bare bone without any terminal, file explorer or browser.
Offline
KDE changed their naming a few times :
first 3 versions were called K Desktop environment <number>
4 was caled KDE Software Compilation 4
5 and 6 are called KDE Plasma5 and KDE plasma6 .Starting with plasma5 they distinguish between 3 components KDE plasma , KDE Frameworks, KDE applications .
most people use whatver they feel like and don't bother with the smaller details.
I understand, I was just asking to make sure there wasn't a wrong version. Yes `sleep` was causing problems, I turned it off. The icons I pinned to the taskbar are back to default. I think kde/plasma is the most stable and smooth running one, right?
FPS is 30-60 and sometimes 20. Its same.
glxinfo -B; gxlinfo32 -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 4096 MB
Currently available dedicated video memory: 65 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 555.42.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 555.42.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 555.42.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
zsh: command not found: gxlinfo32 ## even i installed `pacman -S glxinfo32`@cryptearth I think you want to talk about this: `plasma is not linux` ? As I see it, I think the same way
but it's not bad, I like the idea of it being desktop. But if you have something else that you can recommend as solid as I asked, I can move on to it
Last edited by jojo06 (2024-06-03 12:44:03)
Offline
◉ pacman -F glxinfo32
multilib/lib32-mesa-utilsOffline
I phrased that badly - basically it comes down to this:
When I first installed arch I missed the hint about to install an editor and network tools along the base package - so I ended up with a system without editor and network, pretty much useless.
When I sorted that out and installed KDE by only using the "base" package plasma I once again ended up with an DE without any tools - no terminal, no file browser, no internet browser. At least this time I was able to switch to TTY and install at least such few additional base packages.
For me this became somewhat of a "the arch experience" thing: whenever I use a new package I'm not familiar with which is split up into some sort of "base" pack and "the rest" I often end up just install the base but without anything else.
Anyway - as I already got way too off-topic already: As I have some old hardware I just put some stuff together:
board: asus crosshair v formula-z
cpu: fx-8350
gpu: nvid 1030 (I also have a 1650 as encoder accelerator in my streaming system)
As i use a thumbdrive as strorage this is a clean install. And, boy, is it a tragedy to get the driver working properly. I'll stick to amd for sure just for this reason.
I got both X and wayland working right out of the box - although the system is quite laggy due to using a slow thumbdrive as storage. I tried glxgears and vkcube (both the regular and wayland one) and all works fine: I get stable 60 fps without any resource hog, neither in htop for the cpu nor nvtop for the gpu. I also have no flickering as you mentioned in your other thread.
TLDR: although I have similar hardware I'm unable to reproduce the issue you experience. I guess that's as far as I'm able to help: "on my fresh clean system all works fine"
unfortunately currently I'm not able to get a proper drive or ssd and fully set up this old hardware to test how it performs in games - at least not before next weekend
best of luck - maybe with a clean install you're able to figure out if it's software related
Offline
◉ pacman -F glxinfo32 multilib/lib32-mesa-utils
Oh it was syntax problem. Here the output while the game open:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 4096 MB
Currently available dedicated video memory: 91 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 555.42.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 555.42.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 555.42.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20And top only shows a few stuff in plasma and cs 2 as well.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13600 guns 20 0 12.1g 5.4g 487240 S 84.6 34.9 33:13.81 cs2Just when I thought it was solved. FPS was like 60-70 without dropping. 5 on 5 with bots. 2 more bots and the FPS dropped to 50. It's fine again, of course, but CPU usage is 80, if I play like this, I'll damage the processor a lot. I also noticed that as soon as I set the graphics settings to very high, it dropped to 5 FPS. Which I was on the settings even before I was on spectate. Then I turned it down to medium but it was the same situation again. Then I switched back to the recommended/default setting of `high` but there was a lot of stuttering, even in the settings section of the game menu. I did alt + tab and stopped the game from steam
@cryptearth Best solution is dual boot actually. Anti-cheat programs (such as vanguard) are not working in Linux. But i thought simple games like CS 2 and such will properly work anyways. And if its software/system problem that what i want to solve.
Let me ask which DE are you using ? And what do you think about not populer DE's and also about cinnamon and mint ?
Edit: I don't understand why the changes I made in the Taskbar disappear after a restart. I have pinned terminal and firefox and removed software center and settings, but after every restart it returns to the default settings.
Last edited by jojo06 (2024-06-04 02:28:04)
Offline
I only ever used standard KDE with default config - so I can't say anything about any other DE.
I looked up a benchmark of cs2 on a 9400F with a 1060: Although near 100% all the time the game ran at a stable 100+ fps while also recording in the background. So unless there's some hardware defect or weird setting in the uefi the hardware should be able to handle the game without issues. As it runs native with vulkan there's no dxvk translation - so I doubt it's the game itself on Linux.
In your other thread you mentioned flickering. Is this still happen or have you solved this problem?
Offline
The stuttering happens after it comes out of sleep mode, and yes, it's still there. -I cancelled sleep mode- That's why I mentioned that it's not a matter of canceling the sleep mode, it's a sign that there's a problem. In-game FPS is 60 right now, no drops etc. But on the screen when the game is opening (it takes 2-3 seconds, it's not a problem anyway), there is a scrolling on the screen again, the logo goes left and right, then it opens. But the usage is too much, the processor will be destroyed at this rate. I think it should be 50-60, which is the maximum. After all, the game is CS2 and normal settings and 9400F + 1050 Ti. Even 50-60 is too much i think. As it is seen that it uses 85
Edit: There is something like this; I saw system monitor in kde, live view. more useful and instant than top. I put it in workspace 1 while playing cs 2 in workspace 2. Of course, before I did this, when I looked with alt-tab, cpu usage was 30%. I want to make a video recording. Is there a program you can recommend? And very interestingly, while trying video recording (although I did not select the area / window, it recorded the game - the current image) I experienced drops in FPS and freezes in the game. But when there was no video recording, the problem seemed to be solved. There is no drop in FPS etc. I did not hear the sound of the processor fan. FPS is usually 60. Could it be that even a simple application running in the background is messing things up? The fact that the FPS is 50-60 instead of 100 is also a problem.
Last edited by jojo06 (2024-06-04 05:28:36)
Offline
You're not getting 100 fps on a 60Hz monitor if you're running w/ vsync enabled.
And top only shows a few stuff in plasma and cs 2 as well.
Don't paraphrase. If you can't make sense of data, share it.
The line there says that cs2 uses 80% of one core.
Iff the game is single-core limited that can become a problem and not running it fullscreen will kick in the KWin compositor which is gonna reduce the performance because of the indirection. Shift+Alt+F12 disables the compositor (on X11, not possible on wayland)
You're not "damaging" your CPU by using it as long as the temperature stays under control (and if the system overheats it'll likely perform an emergency shutdown)
Offline
Suggest a video recording program and I'll share the output here. Because it didn't show 80%. Maybe its going up and down, i dont know about that.
Im on X11. The game settings is fullscreen i dont know why its not. When it started i can see the taskbar. Im making it fullscreen by right clicking from taskbar. I should do Shift+Alt+F12 then.
You're not "damaging" your CPU by using it as long as the temperature stays under control (and if the system overheats it'll likely perform an emergency shutdown)
I hope its doing it in KDE. It was not doing it in hyprland. And than thats why its fan not in turbo mode.
I tried the game again, no problem with the bots. The first online match was also fine. But in the second match, the fps dropped to 10 and below. Normally it's like 40, but it's been 60. Finally the computer froze completely.
What is running now:
Calender Reminders
KMix
KGpg
Discover
Events and Tasks Reminder
KDE Connect
Accessibility
org.kde.kclockd-autostart
Accessibility
dbus-:1.2-org.kde.kded5@0.service
dbus-:1.2-org.gnome.OnlineAccounts@0.service
dbus-:1.2-org.gnome.Identity@0.service
dbus-:1.21-org.a11y.atspi.Registry0.service
Geoclue Demo agentAnd they are not using any CPU.
As the game progressed, I noticed that the RAM usage increased. I wondered if I was misremembering, but I also saw 70 FPS. It drops all the way from 70 to 40, and that's not enough, it drops to 20. I don't understand how it can drop from 70 to 20.
Offline
As for capture software I'd go with OBS (I'm not aware if there're even others out there).
As for performance decrease while recording: Game capture is quite an expensive task and the performance is normal. Even on high-end systems you usually have some performance drops.
As for the high resource usage: The benchmark I watched was also in the 80%-90% usage - but as said it ran well and stable 100+ while recording - something your hardeare should also capable of.
I still struggle to grasp if the issue you encounter are caused by your specific hardware or if it's some config somehow reducing or even conflicting and hence limiting what your system is able to get.
I can offer you to fully set up my stuff again - but that won't happen before next weekend. And even then I can only give results for a fresh clean install (I already don't want to deal with the nvidia driver again). As said I have a 1030 and a 1650 - no exact match for your 1050 Ti. Also I'm on amd FX - a platform way older. So it either will perform worse overall - or if it "beats" your system we at least get a baseline what a working setup can handle.
Offline
How about running the game in an openbox session (or just "startx xterm") to cut out the noise.
As for "recording" I don't really see the point of that.
top -d 5 -b|grep "load average" -A 15will log the first 8 PIDs every second - you can redirect that into a file.
Offline
@cryptearth Thank you very much, but as you say, don't bother then. I installed KDE on my laptop. The screen doesn't even come up after logging in, I have a graphics problem that I can't understand. There is no wallpaper in the background, it is black. Start is blank, icons appear and disappear when I mouse over them.
@seth I wanted to save it because when I looked at the CPU utilization I saw 30%. But even 80% utilization is not a problem. Than the problem is FPS and cap. How can i start in openbox session and startx xterm ? What about the problem with the laptop? Should I start another thread about it? I think there's a problem with the graphics or the visualization. So I think it's either missing something or it's configured wrong.
EDIT: I will install cod 4 mw 2 and give it a try. If that fails I will have to install dual boot windows. Let me ask you this: I boot from SSD. can I install windows on HDD or can I install win 7 on a 100GB space? I have a 250GB SSD with only Arch installed. 130GB available
EDIT2:
Cod4 single player worked fine. I couldn't look at FPS etc because the language is broken. MP has the language but it starts on a very small screen and the mouse is disabled. I'm getting a black screen error now. The solutions I've looked on the internet are all windows; compatibility etc. I tried with `wine` `wine64` and `./iw3mp.exe`
while rebooting, something like this caught my eye on the tty OK screen:
nvidia drm failed to grab modeset ownershipEDIT3: FPS is good as far as I can see, I remember seeing 90. It was always 70 and above. But I had the chance to test and see it at most 1-2 times. COD4 doesn't run on Steam, I run it with wine. With this, the possibility of a configuration problem becomes stronger
SOLUTION: For gaming (mostly ) dual boot is necessary. After all steam is another problem. I can run the game with `./` but its now a steam game, while connecting servers its giving me an error `i have to launch from steam`
Last edited by jojo06 (2024-06-06 06:57:50)
Offline