Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen flickering with >nvidia-drivers-331.*
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Mon Jan 20, 2014 11:15 am    Post subject: Screen flickering with >nvidia-drivers-331.* Reply with quote

Hi guys. I have a TV attached as second "monitor" on my machine (via HDMI).
All nvidia-drivers bigger than 331 give me an annoying flickering on that screen.
I have read something that this could be EDID related but didn't really get it.
Any suggestions? I really want the 331 driver series because it supports kernel >3.12...
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Jan 20, 2014 12:38 pm    Post subject: Re: Screen flickering with >nvidia-drivers-331.* Reply with quote

Martux wrote:
I really want the 331 driver series because it supports kernel >3.12...

AFAIK, 331.38 is not made (by gentoo-devs) possible to emerge with kernel > 3.12
nvidia-drivers-331.38.ebuild wrote:
if use kernel_linux && kernel_is ge 3 13 ; then... go away

I keep on suggesting 304.117 which supports < 3.13 kernels too.
_________________
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Mon Jan 20, 2014 2:01 pm    Post subject: Reply with quote

The 304.117 works just fine. Thank you!
331 works well with 3.12, the screen flickering also occurs with some version of the 331 series under windows.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Tue Mar 18, 2014 9:05 pm    Post subject: Reply with quote

Shit, the flickering is back! 304.117 was removed from portage and I didn't recognized it immediately when I updated to nvidia-drivers-334.21. Problem is that I can't even downgrade to 304.119 because I run in a loop with emerge @preserved-rebuild regarding emul-linux-x86-gtklibs. It just keeps on searching for some ibs from the 334.21 drivers. If I unmerge and remerge, emerge fails and Firefox-bin and a lot of other things stop working.
Does anyone have any idea what I could do?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Sansavarous
n00b
n00b


Joined: 15 Feb 2004
Posts: 22
Location: My computer.

PostPosted: Tue Mar 18, 2014 9:48 pm    Post subject: Reply with quote

Have you considered nouveau?
I have no idea if it will support HDMI out, don't see any reason it wouldn't.

http://wiki.gentoo.org/wiki/Nouveau_%26_nvidia-drivers_switching
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Wed Mar 19, 2014 5:28 pm    Post subject: Reply with quote

Yeah, I guess I don't have many other options, right? The nvidia blob has become such a pita...
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Mar 19, 2014 6:04 pm    Post subject: Reply with quote

Martux wrote:
Shit, the flickering is back! 304.117 was removed from portage and I didn't recognized it immediately when I updated to nvidia-drivers-334.21. Problem is that I can't even downgrade to 304.119 because I run in a loop with emerge @preserved-rebuild regarding emul-linux-x86-gtklibs. It just keeps on searching for some ibs from the 334.21 drivers. If I unmerge and remerge, emerge fails and Firefox-bin and a lot of other things stop working.
Does anyone have any idea what I could do?

Trying to downgrade from 334.21 will leave a file and a link to that file. IIRC, it's /usr/lib/opengl/nvidia/libEGL.so or something similar - the @preserved warning should list it. After you downgrade you can delete the *EGL* file and it's link. After that @preserved-rebuild shouldn't need to be run. It's a bug that 334.21 doesn't remove those two files, but I haven't filed one on it.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Wed Mar 19, 2014 6:53 pm    Post subject: Reply with quote

overkill, you are right, those were the files causing the troubles. Is there any possibiility to complile the 334.21 with gentoo-sources >3.13?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Mar 19, 2014 7:50 pm    Post subject: Reply with quote

Peeking inside the ebuild reveals:

Code:

...
        if use kernel_linux && kernel_is ge 3 14 ; then
                ewarn "Gentoo supports kernels which are supported by NVIDIA"
                ewarn "which are limited to the following kernels:"
                ewarn "<sys-kernel/gentoo-sources-3.14"
                ewarn "<sys-kernel/vanilla-sources-3.14"
                ewarn ""
                ewarn "You are free to utilize epatch_user to provide whatever"
                ewarn "support you feel is appropriate, but will not receive"
                ewarn "support as a result of those changes."
                ewarn ""
                ewarn "Do not file a bug report about this."
        fi
...


According to the ebuild's warning message, I'd say the you should be able to install it against a 3.13 series kernel as long as it's gentoo or vanilla-sources, but not > 3.13.

Yesterday I read that nVidia released 335.23 for windows. Maybe the linux version is coming soon.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Wed Mar 19, 2014 8:02 pm    Post subject: Reply with quote

Thanks. Yeah, impatiently waiting for the 335 then. Nouveau doesn't work good here... 334.21 is indeed compiling fine with gentoo-sources-3.13.6... But still having the flickering with the second HDMI of course.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Mar 19, 2014 8:07 pm    Post subject: Reply with quote

I can't use > nvidia-drivers-319.49 on anything! The screen isn't refreshed unless one moves the mouse! Completely unusable terminal windows. Type and wait - up to a 5 second delay.

I think it's a gnome-shell compositing issue. IF I eselect openl to use xorg and reboot, I'll get a fallback mode. Then the screen refresh is fine.

What are you using for your Desktop Environment? Gnome-3.?


Last edited by overkll on Thu Apr 10, 2014 3:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Wed Mar 19, 2014 8:10 pm    Post subject: Reply with quote

No, I am on KDE here. System is fully ~amd64. Nvidia used to be the best manufacturer to use with linux some years back. I heard AMD/Radeon driver catched up massively?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Mar 19, 2014 8:20 pm    Post subject: Reply with quote

flgrx has gotten better, but I still prefer nVidia, especially for HTPC. AMD/ATI latest version also has a refresh issue with terminal windows.

I just bought an MSI GTX 750 (Maxwell) and I can't even use it! LOL
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Wed Mar 19, 2014 8:34 pm    Post subject: Reply with quote

Wow, that's bad. I also hate the fact that I have to dual-boot into Windows just to watch a movie.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
slize12
n00b
n00b


Joined: 10 Apr 2014
Posts: 3

PostPosted: Thu Apr 10, 2014 1:23 pm    Post subject: Reply with quote

Actually, I don't want to hijack this thread, but I think that the problem I am going to describe exactly relates to the things overkll described.

Since the last bigger update I suffer from a refresh issue. Several applications do not properly refresh parts of their interface while their is new content. The most annoying example is thunderbird or any terminal application. In the former case you open another eMail and nothing happens. Either I need to re-position the thunderbird window to have a refresh or adjust the font-size of the eMail, generally anything that causes a redraw. Another scenario is a terminal application. Once I am in a screen and I leave it, the informtion shown does not change apart from the very first line (being the original terminal session). This is pretty annoying and time-consuming.

I don't know where actually to search for this bug. Thus, I post my set up as far as I think is relevant:

[I] media-video/nvidia-settings - 331.20
[I] x11-drivers/nvidia-drivers - 334.21-r3

My PC is featured with a "NVIDIA Corporation GF119M [NVS 4200M] (rev a1)"

Linux ... 3.12.13-gentoo ... x86_64 Intel(R) Core(TM) ...

I am using xfce (4.10) and compiz (0.8.8-r3)

Does anybody have an idea how to solve that issue? Do I have to wait for new driver versions of Nvidia?

Thanks in advance.
Back to top
View user's profile Send private message
slize12
n00b
n00b


Joined: 10 Apr 2014
Posts: 3

PostPosted: Thu Apr 10, 2014 1:29 pm    Post subject: Reply with quote

One more hint I can provide is that the unintended behavior does not start directly after booting. I takes a couple of seconds or a minute. Additionally, some days ago I found another related gentoo forums thread. One information provided there is, that clutter the relevant source of unintended behavior. Still the solution presented there seems to be specific for gnome-terminal. It did not work for me.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4952
Location: Saint Amant, Acadiana

PostPosted: Thu Apr 10, 2014 2:04 pm    Post subject: Reply with quote

If it is EDID issue there may be a way around it. I remember once I had similar issue, a nvidia upgrade installed a driver version which couldn't read EDID from my rather old card any more. I downgraded the driver, read EDID from my TV and saved it as a file, then I configured the driver to read it from this file instead of trying to pull it from display.
Inspect your Xorg log, see if there is EDID read failure.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
slize12
n00b
n00b


Joined: 10 Apr 2014
Posts: 3

PostPosted: Fri Apr 11, 2014 9:07 am    Post subject: Reply with quote

I searched the Xorg log for EDID entries and just found this:

Code:
[    19.549] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    19.549] (**) NVIDIA(0):     device Seiko/Epson (DFP-0) (Using EDID frequencies has
[    19.549] (**) NVIDIA(0):     been enabled on all display devices.)
[    19.549] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[    19.549] (**) NVIDIA(0):     device DELL U3011 (DFP-4) (Using EDID frequencies has been
[    19.549] (**) NVIDIA(0):     enabled on all display devices.)
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "720x480" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (15.7 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "720x480".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "720x576" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (15.6 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "720x576".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "720x480" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (15.7 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "720x480".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "720x576" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (15.6 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "720x576".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "1920x1080" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (28.1 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "1920x1080".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "1920x1080" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid HorizSync range (29.000-113.000 kHz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's HorizSync (27.0 kHz); ignoring HorizSync check
[    19.550] (WW) NVIDIA(GPU-0):     for mode "1920x1080".
[    19.550] (WW) NVIDIA(GPU-0): The EDID for DELL U3011 (DFP-4) contradicts itself: mode
[    19.550] (WW) NVIDIA(GPU-0):     "1920x1080" is specified in the EDID; however, the EDID's
[    19.550] (WW) NVIDIA(GPU-0):     valid VertRefresh range (49.000-86.000 Hz) would exclude
[    19.550] (WW) NVIDIA(GPU-0):     this mode's VertRefresh (24.0 Hz); ignoring VertRefresh
[    19.550] (WW) NVIDIA(GPU-0):     check for mode "1920x1080".


So my guess is, it is not determined by the EDID issue. Im using my notebook in combination various screens (home, office, tv, friends). The issue is everywhere the same while the screens are different.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Sun Apr 20, 2014 6:28 pm    Post subject: Reply with quote

Hey guys. I took the time to play around with some options of the nvidia-drivers--337.12.
I was using the edid I extracted with the "aquire edid" option in nvidia-settings of the working 304.121 driver and used it in xorg.conf:

Option "CustomEDID" "DFP-1:/etc/X11/edid.bin"

Didn't work.
Also Option "IgnoreEDID" and Option "UseEdidFreqs" didn't have any effect.
In the xorg.log there are absolutely no error mesages regarding edid.
I am back on the 304.121 version now, seems like forever :(
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Tue Jun 03, 2014 6:46 pm    Post subject: Reply with quote

Just to let you know: x11-drivers/nvidia-drivers-337.25 finally fixed it!
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
gentoorockerfr
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2012
Posts: 92

PostPosted: Fri Jun 13, 2014 1:25 pm    Post subject: Reply with quote

No fix here with this -> driverx11-drivers/nvidia-drivers-337.25
still screen tearing...
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1551

PostPosted: Fri Jun 13, 2014 1:49 pm    Post subject: Re: Screen flickering with >nvidia-drivers-331.* Reply with quote

Have you set up `eselect opengl list` and picked the NVIDIA related option? Which X.org server are you using? (1.16.99 and newer are unsupported)

aCOSwt wrote:
Martux wrote:
I really want the 331 driver series because it supports kernel >3.12...

AFAIK, 331.38 is not made (by gentoo-devs) possible to emerge with kernel > 3.12
nvidia-drivers-331.38.ebuild wrote:
if use kernel_linux && kernel_is ge 3 13 ; then... go away


It is NVIDIA that does not support it, therefore a a warning is provided (which does not mean "go away", but rather resounds "lose support from NVIDIA at your own risk") and continue the emerge with support for user patches; it is therefore possible to emerge it whilst losing support, solely by placing an unsupported patch in the /etc/portage/x11-drivers/nvidia-drivers/ directory.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1756
Location: Mannheim, Germany

PostPosted: Fri Jun 13, 2014 3:35 pm    Post subject: Reply with quote

There's also x11-drivers/nvidia-drivers-340.17 in portage now. That works for me as well.
The only thing I could really do about that was waiting for a driver that fixed it. All the EDID related stuff didn't work for me.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
gentoorockerfr
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2012
Posts: 92

PostPosted: Fri Jun 13, 2014 10:25 pm    Post subject: Reply with quote

yes i have nvidia to opengl,
also 1.15 version of xorg-server

ps kernel 3.15 and nvidia-driver 340.17
terrible screen-video flickering/tearing...
why...?
i will try to use 304 driver version....
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 820
Location: Greece

PostPosted: Wed Aug 27, 2014 3:10 pm    Post subject: Reply with quote

Martux wrote:
There's also x11-drivers/nvidia-drivers-340.17 in portage now. That works for me as well.
The only thing I could really do about that was waiting for a driver that fixed it. All the EDID related stuff didn't work for me.

Oh well, I have an nVidia GT 740M, and I am having horrible problems with screen tearing ever since I bought an external monitor for my laptop. I don't experience any problem when I'm using just the builtin screen. Upgrading to 340.24 driver won't help.

Couldn't it be the size of the video buffer? (if there is even any way to manually change that...)
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Who will save us from pulseaudio and systemd?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum