Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED, I guess] video corruption in apps with qt-* deps

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
rsa4046
l33t
l33t
User avatar
Posts: 660
Joined: Mon Feb 07, 2005 12:13 am
Location: The Big H, a bit SSW

[SOLVED, I guess] video corruption in apps with qt-* deps

  • Quote

Post by rsa4046 » Wed Mar 21, 2012 6:28 pm

As the subject says, I'm having corruption in clementine, texmaker, and vlc that I suspect comes from one of the qt-* packages, as these packages have similar dependencies (in this case qt-gui):

Code: Select all

# equery g =media-sound/clementine-1.0.1-r1 | grep qt
 [  1]  x11-libs/qt-gui-4.8.0-r3   
 [  1]  x11-libs/qt-opengl-4.8.0-r2   
 [  1]  x11-libs/qt-sql-4.8.0-r1   
 [  1]  dev-libs/libindicate-qt-0.2.5.91   
 [  1]  x11-libs/qt-test-4.8.0   
# equery g =app-office/texmaker-3.3.2 | grep qt
 [  1]  x11-libs/qt-gui-4.8.0-r3   
 [  1]  x11-libs/qt-core-4.8.0-r1   
 [  1]  x11-libs/qt-webkit-4.8.0
 # equery g media-video/vlc-2.0.1 | grep qt
 [  1]  x11-libs/qt-gui-4.8.0-r3   
 [  1]  x11-libs/qt-core-4.8.0-r1  
The corruption is so extensive that the apps are not usuable: here are screengrabs of clementine and texmaker (vlc is similar). All windows, dialog boxes, etc. of the given app are affected. I don't know if x11-libs/qt-gui is really the culprit however, as skype also shows this dep,

Code: Select all

 # equery g net-im/skype-2.2.0.35-r1 | grep qt
 [  1]  x11-libs/qt-core-4.8.0-r1   
 [  1]  app-emulation/emul-linux-x86-qtlibs-20120127   
 [  1]  x11-libs/qt-gui-4.8.0-r3   
 [  1]  x11-libs/qt-dbus-4.8.0 
but has no corruption, so perhaps this is not diagnostic (?). I've searched quite a bit, but can't find anyone with anything like this; most of the corruption instances cited are not so extensive as to render the software otherwise unusable. Before I start recompiling all of these Qt packages, I'd like to know if anyone has seen anything like this. Video card is a nVidia Corporation G96, but this card seems to work fine on other machines with these packages. Anyone have any ideas on where I might look for answers?
Last edited by rsa4046 on Fri Mar 23, 2012 5:02 pm, edited 1 time in total.
Top
rsa4046
l33t
l33t
User avatar
Posts: 660
Joined: Mon Feb 07, 2005 12:13 am
Location: The Big H, a bit SSW

  • Quote

Post by rsa4046 » Fri Mar 23, 2012 5:01 pm

Finally solved, but with no idea how / what was wrong:
  • Re-built all of qt*-4.8.0, same corruption.
    Masked >=qt*-4.8.0, emerge qt*-4.7.2, same corruption.
    Masked >=qt*-4.7.2, emerge qt*-4.7.2, same corruption.
    Masked >=qt*-4.6.3, emerge qt*-4.6.2, same corruption.
    Nixed all of qt-*, resync portage, emerge -vaDNu world, corruption fixed.
:?
Top
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

  • Quote

Post by ravloony » Thu Apr 26, 2012 9:54 am

I am having this same problem. I tried your solution, and it didn't solve the problem. Does anybody know where I should look next?

I've tried changing video drivers from nouveau to nv, but no joy.
No sig yet, sig ebuild up soon :-)
Top
rsa4046
l33t
l33t
User avatar
Posts: 660
Joined: Mon Feb 07, 2005 12:13 am
Location: The Big H, a bit SSW

  • Quote

Post by rsa4046 » Thu Apr 26, 2012 10:53 am

Hi ravloony,
I now think that the problem was independent of any given qt- version, but instead reflected some sort of conflict in the qt- system with respect to qt3support. Make sure you have the qt3support USE flag set globally (i.e., either qt3support or -qt3support in /etc/make.conf). I have qt3support enabled with texmaker and other qt-dependent packages working perfectly with

Code: Select all

$ eix -Ic qt-*
[I] x11-libs/qt-core (4.7.4-r1(4)@03/27/2012): The Qt toolkit is a comprehensive C++ application development framework
[I] x11-libs/qt-dbus (4.7.4(4)@03/27/2012): The DBus module for the Qt toolkit
[I] x11-libs/qt-gui (4.7.4-r1(4)@03/27/2012): The GUI module for the Qt toolkit
[I] x11-libs/qt-opengl (4.7.4(4)@03/27/2012): The OpenGL module for the Qt toolkit
[I] x11-libs/qt-qt3support (4.7.4(4)@03/27/2012): The Qt3 support module for the Qt toolkit
[I] x11-libs/qt-script (4.7.4(4)@03/27/2012): The ECMAScript module for the Qt toolkit
[I] x11-libs/qt-sql (4.7.4(4)@03/27/2012): The SQL module for the Qt toolkit
[I] x11-libs/qt-test (4.7.4(4)@03/27/2012): The testing framework module for the Qt toolkit
[I] x11-libs/qt-webkit (4.7.4(4)@03/28/2012): The WebKit module for the Qt toolkit
[U] x11-libs/qt-xmlpatterns (4.7.4(4)@03/27/2012 -> (~)4.8.1(4)): The XmlPatterns module for the Qt toolkit
Found 10 matches.
qt-*-4.8.1 may also work ok as well, I just haven't gotten around to updating it yet. Again, what worked for me was to unmerge/depclean ALL Qt-packages and Qt dependencies (I am on gnome not kde, so this was fairly easy), made sure @preserved-rebuild was an empty set, checked that there were no separate qt3spport or other qt-related USE flags declared in /etc/portage/package.use, and THEN emerged qt-dependent packages, letting portage sort out which libraries were needed. Hope this helps.
Top
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

  • Quote

Post by ravloony » Fri May 04, 2012 1:29 pm

OK I tried all of that.
I even tried emerge -e world with no luck so far.

So I got to thinking about it and did this:

I lsof-ed some programs which presented the corruption, and got a list of all the files they were opening. Then I ran those lists through sort and uniq to only keep the ones that they all had in common. In theory, the culprit is one of these files, a library presumably.

To narrow it down, I also used lsof to give me a list of files firefox (which is not corrupted) opens, and used it to filter the first list.

After running the final list through qfile, I get this:

Code: Select all

$ qfile -f filtered.txt | awk '{print $1}' | sort | uniq        
app-arch/xz-utils
app-misc/strigi
dev-libs/libattica
dev-libs/libdbusmenu-qt
dev-libs/libgamin
dev-libs/libxml2
dev-libs/soprano
kde-base/kdelibs
kde-base/kstyles
kde-base/liboxygenstyle
media-fonts/dejavu
media-libs/lcms
media-libs/libmng
media-libs/tiff
sys-apps/acl
sys-apps/attr
sys-fs/udev
sys-libs/glibc
x11-libs/libXtst
x11-libs/libdrm
x11-libs/qt-core
x11-libs/qt-dbus
x11-libs/qt-gui
x11-libs/qt-opengl
x11-libs/qt-svg
I haven't yet rebooted since my emerge -e world; I am going to try that first. Otherwise I shall have to look closer at these packages.
No sig yet, sig ebuild up soon :-)
Top
ravloony
n00b
n00b
User avatar
Posts: 54
Joined: Fri Feb 04, 2005 11:21 pm
Location: France
Contact:
Contact ravloony
Website

  • Quote

Post by ravloony » Fri May 04, 2012 3:35 pm

emerge -e world worked! Finally!

Not sure what it was in the end, my spidey sense says kde-base/liboxygenstyle, though.
No sig yet, sig ebuild up soon :-)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic