LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2017, 02:50 AM   #1
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Can I get rid of screen flickering in this situation?


I run Slackware64-14.2 with a NVidia Geforce video card and proprietary blob. Sometimes I play a game in windowed mode and whenever the game is running, if I switch to another workspace to take notes in gvim, the screen is flickering so bad that reading the text becomes hard. Without the game running there is no flickering at all. Perhaps there's some video driver / xserver setting that I could tune to get rid of this flickering?
 
Old 12-18-2017, 06:36 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

I'm not good with Nvidia sorry. This link looks like a start.

https://www.geforce.com/drivers

Good Luck
 
Old 12-18-2017, 07:19 AM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
If your nvidia card is new enough to use the modern (non-legacy) drivers you will very likely benefit from this article, --- Linux nVidia VSync, New Feature --- While it has to do more with screen tearing I suspect yours is just an extreme example of that. It might also be helpful to research how to fetch your monitor's EDID and load it by default so that you are getting the most effective "Screen" parameters for your specific "Monitor".

Incidentally, as in all GUI work, the checkbox is only a symbol for a cli command. If your card is too old for the newest drivers, you may still be able to accomplish the same thing with the underlying command like this ----

Code:
 nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
If your card is too old or too weak it will cost you ~$75-$100 USD to get a newer, stronger one of decent quality. If that is the case, trust me, it would be money well spent. Most people are surprised how much powerful graphics systems increase the performance of your entire PC experience.

Last edited by enorbet; 12-18-2017 at 07:28 AM.
 
1 members found this post helpful.
Old 12-18-2017, 09:51 AM   #4
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
If your nvidia card is new enough
My apologies, I did not include the specs in the first post. I have a NVidia Geforce 730GT. Will read the article a bit later and will post feedback here.
 
Old 12-18-2017, 09:56 AM   #5
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
It might also be helpful to research how to fetch your monitor's EDID and load it by default so that you are getting the most effective "Screen" parameters for your specific "Monitor".
I've already been through that during initial monitor setup. I believe I run the right modeline. It includes a '-hsync +vsync' part if that matters
 
Old 12-18-2017, 09:57 AM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Man, honestly I think you ask too much from the Linux gods.

I do not think the things will ends well while using an application using extensively the 3D, like a game, then you to expect your desktop with 3D effects to playing well.

Just because those things do not go well together, they interfere.

Last edited by Darth Vader; 12-18-2017 at 10:03 AM.
 
Old 12-18-2017, 10:04 AM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Could you provide your card's codename? It will be clearer what card you have then.

You can do so with.
Code:
lspci | grep VGA
Also see https://nouveau.freedesktop.org/wiki/CodeNames/.

For example I have a GK110B and I would guess you have a GK107 or GK208?

Since you are using an older nvidia card have you considered trying to use nouveau? The caveats being that a recent kernel and versions of libdrm and mesa would significantly improve its usefulness. It will also still be an imperfect driver since nvidia does not release documentation or firmware in a timely manner. There will be some performance loss compared to nvidia, but with the nouveau reclocking feature (Needs at least a 4.10 kernel for best support I think?) and your specific needs you may not notice. Additionally talking with nouveau developers about potential issues is easy on irc and/or their issue tracker while effectively reporting issues to nvidia is nearly impossible unless you have connections.
 
1 members found this post helpful.
Old 12-18-2017, 11:49 AM   #8
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
I do not think the things will ends well while using an application using extensively the 3D, like a game, then you to expect your desktop with 3D effects to playing well.
You mean things not ending well as in having side effects like flickering or more serious issues like eventually getting my hardware toasted?

I think big DEs like KDE make use of 3D effects (I'm nost sure about it), but do simple window managers do that as well? I'm a humble dwm user since those times when I was managing to fill up all RAM with running apps and tried to save every megabyte of memory - now I didn't manage to do that (yet).
 
Old 12-18-2017, 11:51 AM   #9
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
Could you provide your card's codename? It will be clearer what card you have then.

You can do so with.
Code:
lspci | grep VGA
lspci reports this:

Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 730] (rev a1)

Quote:
Originally Posted by orbea View Post
Since you are using an older nvidia card have you considered trying to use nouveau?
The game I'm playing doesn't run with nouveau driver, I have to stick to the blob.
 
Old 12-18-2017, 11:56 AM   #10
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
[URL="https://www.gamingonlinux.com/articles/how-to-an-update-on-fixing-screen-tearing-on-linux-with-an-nvidia-gpu.8892"]
This suggestion helped, the flickering seems to be gone after I enabled Force Full Composition Pipeline in nvidia-settings. I will watch it closer for the next few days and if all goes well, I'll make the change persistent by sticking that command line call somewhere. Marking thread as solved.

As usual, not only I managed to fix the issue with the help of this very user friendly community, but also learned a few new things during the process. Thank you.
 
Old 12-18-2017, 12:01 PM   #11
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by FlinchX View Post
You mean things not ending well as in having side effects like flickering or more serious issues like eventually getting my hardware toasted?
I guess that's all about side effects. Even in the simple case of a 3D game vs. and a desktop pushing a video-driver, there is used a kind of 3D acceleration.

Quote:
Originally Posted by FlinchX View Post
I think big DEs like KDE make use of 3D effects (I'm nost sure about it), but do simple window managers do that as well? I'm a humble dwm user since those times when I was managing to fill up all RAM with running apps and tried to save every megabyte of memory - now I didn't manage to do that (yet).
I do not think that DWM use 3D effects, but any driver other than the pure modesetting use a kind of hardware acceleration.

And a hint: a NVIDIA card has no 2D acceleration engine and no one, never has, they use the 3D engine too for this feature.

Hence, your video driver will touch the 3D, as demonstrated by your game changing "Force Full Composition Pipeline".

Last edited by Darth Vader; 12-19-2017 at 08:56 AM.
 
2 members found this post helpful.
Old 12-20-2017, 05:35 AM   #12
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
This thread from back in 2014 might help you put the nvidia-settings command equivalent in your xorg.conf.d directory:
https://www.linuxquestions.org/quest...de-4175509896/
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
screen flickering rightside and other weired screen stuff BW-userx Linux - Hardware 3 06-24-2017 04:58 PM
Screen flickering DvD12 Linux - Newbie 12 03-10-2015 07:16 AM
[SOLVED] Flickering screen MadChipmunk Linux - Laptop and Netbook 15 03-04-2012 02:47 PM
Flickering screen JussiKp Linux - Hardware 5 06-19-2007 10:23 AM
My screen is flickering in X mbreith Linux - Newbie 3 03-23-2006 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration