LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-28-2015, 07:50 AM   #1
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Bad rendering in kde4/qt4 with nvidia driver


So I've had this problem for quite some time, but only now I have found a way to snapshot.

Some random facts:

1. It happens on every driver I had tried, and also every kde4 release since 4.3
2. If the machine is booted with internal (radeon) card, there's no problem, only pci-e nvidia GT 440 is affected.
3. It's not just oxygen, it happens on any theme / decoration / widget style.
4. It happens with compositing and without compositing.

These random pixels appear at the top of the screen when compositing is off and logout menu is called.
To be precise, once the logout menu is cancelled and called again, then the entire top side of the screen is wrecked.

I have never seen anything like this in GTK, xfce4 works perfectly fine on the same machine.

No idea how to fix.

Image was taken from systemsettings / workspace appearance, the internal snapshot system somehow captured it.
Previously, I couldn't screenshot the problem, as it just wouldn't appear in ksnapshot or scrot.

image link
 
Old 03-28-2015, 09:46 AM   #2
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
nouveau or nvidia ?
 
Old 03-28-2015, 12:37 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'd consider replacing the video card.

Last edited by dugan; 03-28-2015 at 12:45 PM.
 
Old 03-28-2015, 07:35 PM   #4
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You could also try this as user (it stops tearing):

Code:
nvidia-settings --assign CurrentMetaMode="VGA-0: 1600x900+0+0 { ForceCompositionPipeline = On }"
You can find the correct size of your 'vga' thing in the nvidia x server settings thing I think.
 
Old 03-28-2015, 09:37 PM   #5
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
You could try a LiveCD to check if you have the same problems there. If it's the same the cards RAM is probably gone.
 
1 members found this post helpful.
Old 03-29-2015, 03:44 AM   #6
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Original Poster
Rep: Reputation: Disabled
Well, the chip works fine in win XP, win7 and xfce4.
This only happens on kde versions > 4.3 (I did pull the old IDE drive with old kde installed to check)

I always use the binary driver because nouveau never gets the resolution right.
That's 1680x1050_60 native and both nvidia and nouveau default to 1024x768 and call it native.
Probaby because my monitor doesn't provide any EDID and I have to manually specify DPI in xorg.conf.d
While the binary can load these values, I have never managed to get nouveau to work in native res.

device:
Code:
  Option       "NoLogo"               "True"
  Option       "MultiGPU"             "0"
  Option       "SLI"                  "0"
  Option       "Stereo"               "0"
  Option       "DPI"                  "91 x 91"
  Option       "ConnectToAcpid"       "off"
  Option       "UseEdidFreqs"         "FALSE"
  Option       "UseEdidDpi"           "FALSE"
  Option       "ModeValidation"       "NoEdidModes"
  Option       "ConnectedMonitor"     "CRT-0"
  Option       "UseDisplayDevice"     "CRT-0"
  Option       "IgnoreDisplayDevices" "DFP-0,DFP-1"
  Option       "TripleBuffer"         "True"
monitor:
Code:
Modeline       "1680x1050_60"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
I guess it would break other systems as well as GTK rendering if the video memory was corrupt.
What I thought it might be the cause is shared video memory from the board integrated card.
Not sure if it's possible that kde tries to use this extra memory somehow.

edit:

Seems it's oxygen engine "desktop theme" that's doing the logout thing, I have double checked this.
It does happen with some other themes, but not all of them.
Window decoration submenu only corrupts the oxygen preview when resizing the window, other previews are fine.
When Plastik is selected, it doesn't happen anywhere else except in that oxygen preview.
http://i.imgur.com/DujdyBH.png
http://i.imgur.com/kyyaFlL.png

edit II

Solved by kde upgrade, can't repro that bug on 4.14.6 from Alien Bob
Could be something in old qt that is used in 14.1, not quite sure about that.

Last edited by elcore; 04-08-2015 at 08:19 AM.
 
  


Reply

Tags
kde, nvidia



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
Wanna play with qt4 / kde4 coding, looking for a good manual Latios Linux - Newbie 1 03-21-2011 09:37 AM
can't make amarok 1.4+qt3 on Slackware13.0 (kde4/qt4) alexob Slackware 1 10-02-2009 04:43 PM
Diablo II, Direct Rendering, nvidia binary driver 3p1ph4ny Linux - Games 1 07-20-2007 08:38 PM
NVIDIA driver rendering question/issue Elukyz Slackware 5 05-17-2007 02:10 PM
Ubuntu 6.06 direct rendering nvidia driver installation BlinDlucK Ubuntu 1 07-05-2006 01:46 AM

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

All times are GMT -5. The time now is 05:05 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