Re: QT4 apps slooooow in ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 9, 2012 at 12:53 AM, Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> wrote:
> On 05/08/2012 10:18 PM, T.C. Hollingsworth wrote:
>
>> The default is the "raster" graphics engine, which works somewhat like
>> you described in your original e-mail:
>> http://labs.qt.nokia.com/2009/12/18/qt-graphics-and-performance-the-raster-engine/
>>
>> The "native" graphics engine uses regular X11, which will probably
>> always be best over SSH.
>>
>> Qt also respects the QT_GRAPHICSSYSTEM environment variable to
>> configure this, so you can add `export QT_GRAPHICSSYSTEM=native` to
>> your ~/.profile or wherever to make it your "default".
>
> Ok, so I have a work-around, but the default behavior is unacceptable,
> there should be some kind of fallback to native when on a remote display,
> maybe by automatically measuring the speed of bitmap transfers.
>
> This _should_ be fixed upstream.
> Is there an open bug on this already?

I doubt Qt can safely switch graphics systems midway through
application execution.  The only way it could do anything about it is
if it could detect whether it's being run remotely at startup, which I
don't think is possible either.

Fedora's Qt/KDE guys might be convinced to stick `[[ -n
"${SSH_CONNECTION}" ]] && export QT_GRAPHICSSYSTEM=native` in
/etc/profile.d, though.  (Unless there's a nicer way to change the
environment of only SSH logins.)

-T.C.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux