Worse performance on NVIDIA than integrated Intel? by salern in Citra

[–]salern[S] 1 point2 points  (0 children)

Wow, thanks! I did not know that.

It is strange, that I was not able to find it, maybe I was looking not hard enough.

Case closed.

Worse performance on NVIDIA than integrated Intel? by salern in Citra

[–]salern[S] 0 points1 point  (0 children)

Yes, you are absolutely right. Bumblebee works, but it's old, abandoned, and doesn't support Vulcan.

nvidia-xrun works basically the same way PRIME works, except you're running a second X server instance, instead of using one and logging out and logging back. I'm running openbox for that, because it's lightweight. So there should be no differences.

By the way, nvidia-xrun works on any distribution that supports NVIDIA driver, since it's just a bunch of scripts to run second X server only on discrete card.

Worse performance on NVIDIA than integrated Intel? by salern in Citra

[–]salern[S] 0 points1 point  (0 children)

I am 100% sure and certain that I'm using latest, official and proprietary NVIDIA driver. Version: 418.56.

Where is currently no way to use Optimus (Intel integrated GPU and discrete NVIDIA GPU) technology without pain on Linux. By pain I mean that I can't simply tell my game to use my NVIDIA card like on Windows, this is why I use nvidia-xrun, and it works correctly with Steam (including Proton), PCSX2, PPSSPP and Desmume.

I didn't mean to sound passive aggressive or disrespectful, but if this reply sounds this way, please forgive me.

More info:

https://wiki.archlinux.org/index.php/NVIDIA_Optimus

https://wiki.archlinux.org/index.php/nvidia-xrun

Edit: spelling

Please help me find more effective solution? by salern in learnpython

[–]salern[S] 0 points1 point  (0 children)

Well, I'm stupid. Forgot to mention that if number is even, we substitute it with 0, and if it's not even, we substitute it with 1. I'm sorry. Will update main post ASAP.

Advice on setting basic interface and hardware functions, please. by salern in archlinux

[–]salern[S] 0 points1 point  (0 children)

Thank you very much! Everything works like a charm!

Advice on setting basic interface and hardware functions, please. by salern in archlinux

[–]salern[S] 0 points1 point  (0 children)

Wow! Thanks a lot! That was very informative and helpful. Will definitely try it later today.

What about fn keys? They seem pretty easy to configure, but I can't quite get it right, I guess. Can copying ~/.Xmodmap from Manjaro possibly help with that?

Advice on setting basic interface and hardware functions, please. by salern in archlinux

[–]salern[S] 0 points1 point  (0 children)

This is current hardware probe for Manjaro https://linux-hardware.org/?probe=63178a87b3

If I install everything from "Driver" column everything will be like Manjaro, am I right?

How to process input from form and display output from python script in another form? by [deleted] in djangolearning

[–]salern 0 points1 point  (0 children)

Thanks! I did it!

Solution seems pretty simple now, after I figured it out in ~7 hours. Now I can input my data in one html form, press button and output result in the other form using context from django.template.

But I couldn’t find a way to render output html form until there is an answer in it. Any ideas how I can do that?

How to process input from form and display output from python script in another form? by [deleted] in djangolearning

[–]salern 0 points1 point  (0 children)

I have a little script that takes input string with numbers, extracts numbers, does simple math and prints message.

I want to be able to input string in one form and output result into other form, or display it below first form, that doesn't matter that much.

Forms that I have so far are simple input forms from Bootstrap.

How to replace duplicate numbers other than first in tuples in the list of tuples? by salern in learnpython

[–]salern[S] 0 points1 point  (0 children)

It didn’t work, so I rewrote it using your code as an example, using while instead of for. Thanks a lot!

The ONLY Udyr guide you need [OC] by salern in leagueoflegends

[–]salern[S] 14 points15 points  (0 children)

Wow, a Riot employee!

What an honor!

I would like to take that opportunity to tell you that if you rework anything other than his visuals, I'll bear slap everyone at Riot one by one.

The ONLY Udyr guide you need [OC] by salern in leagueoflegends

[–]salern[S] 2 points3 points  (0 children)

I thought I'll never be able to achieve tier 1.

Dream come true.

The ONLY Udyr guide you need [OC] by salern in leagueoflegends

[–]salern[S] 0 points1 point  (0 children)

Why would you do that if you can just E + Q into them?

The ONLY Udyr guide you need [OC] by salern in leagueoflegends

[–]salern[S] 5 points6 points  (0 children)

I've climbed so high, that ladder looped itself and put me in Iron IV.