Bug 89374 - Firefox smooth scrolling isn't smooth
Summary: Firefox smooth scrolling isn't smooth
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 14:24 UTC by sunweb
Modified: 2019-11-19 09:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description sunweb 2015-03-01 14:24:59 UTC
Kubuntu 14.04 x64, HD5770

glxinfo |grep Open
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Firefox has an option of smooth scrolling(Preferences -> General -> Use smooth scrolling). However it doesn't work on OSS drivers for my card. It does work on Intel ones and closed source though.
Comment 1 Michel Dänzer 2015-03-02 08:31:47 UTC
Please attach the /var/log/Xorg.0.log file and the output of dmesg.

Does Option "AccelMethod" "glamor" in xorg.conf help?
Comment 2 sunweb 2015-03-02 21:04:17 UTC
Hi, here're the files https://bugs.freedesktop.org/show_bug.cgi?id=89275

I don't have xorg.conf and installing glamor package didn't work out because of Ubuntu bug.
Comment 3 Michel Dänzer 2015-03-03 01:47:37 UTC
No need to install any additional packages, just put something like this in /etc/X11/xorg.conf:

Section "Device"
        Identifier "Device0"
        Driver  "radeon"
        Option  "AccelMethod" "glamor"
EndSection
Comment 4 sunweb 2015-03-03 17:01:04 UTC
No difference. Also i may took a wrong wording. Smooth scrolling can be enabled but its not as smooth as it should be. Also i've recentley saw ff on windows machine and it also has some animation when you press on Open Menu and far better animation when you're going to/out Tab Groups. Those animations don't exist on my machine. Maybe thats Firefox issue after all.
Comment 5 Michel Dänzer 2015-03-04 03:52:23 UTC
(In reply to sunweb from comment #4)
> No difference.

Did you verify in /var/log/Xorg.0.log that glamor was enabled?
Comment 6 sunweb 2015-03-19 06:18:24 UTC
(In reply to Michel Dänzer from comment #5)
> (In reply to sunweb from comment #4)
> > No difference.
> 
> Did you verify in /var/log/Xorg.0.log that glamor was enabled?

Yes, i've checked it.
Comment 7 sunweb 2015-03-19 07:19:10 UTC
Ok, i just tried glamor on a bigger sites and i do see a difference, it is smoother that the default option but it is nowhere as smooth as supposed to be.
On top of that, enabling glamor breaks my experiance with Gwenview, it simply hangs, shows first picture and hangs. I also have to enable vsync in KDE settings to prevent tearing and set it to "full scene repaints" any other option give no result and "re-use screen content" simply kills any desktop experiance to that point you can't use menus, drag windows(that are already open) or open new ones, awful flickering etc.

Now that i think of it glamor is the only option for newer GPUs. Is it that bad for them as well or is it just bad experience with the old ones?
Comment 8 Michel Dänzer 2015-03-19 08:07:48 UTC
(In reply to sunweb from comment #7)
> On top of that, enabling glamor breaks my experiance with Gwenview, it
> simply hangs, shows first picture and hangs.

That would need to be tracked in a separate report, with detailed information about the versions of gwenview/KDE/Qt and how to reproduce it.


> I also have to enable vsync in KDE settings to prevent tearing and set it to
> "full scene repaints" any other option give no result and "re-use screen
> content" simply kills any desktop experiance to that point you can't use
> menus, drag windows(that are already open) or open new ones, awful flickering
> etc.

With current xf86-video-ati Git master, you can enable DRI3 with Option "DRI3" in xorg.conf. Then "Re-use screen content" should work well. The breakage without that sounds like a kwin issue.
Comment 9 sunweb 2015-03-20 06:13:36 UTC
(In reply to Michel Dänzer from comment #8)
> With current xf86-video-ati Git master, you can enable DRI3 with Option
> "DRI3" in xorg.conf. Then "Re-use screen content" should work well. The
> breakage without that sounds like a kwin issue.
I always experience some troubles using the latest versions so i stay ou of it.
But i wouldn't want to use this option because on EXA i have no tearing even with Vsync = none.

About this non smooth scrolling issue. I feel like i am the only one here. If you do not have this problem than what card are you using and is it working as smooth as on Windows?
Comment 10 Michel Dänzer 2015-03-20 09:50:12 UTC
(In reply to sunweb from comment #9)
> About this non smooth scrolling issue. I feel like i am the only one here.
> If you do not have this problem than what card are you using and is it
> working as smooth as on Windows?

Not using Windows or smooth scrolling myself, I'm just not sure how smooth it's supposed to be. Don't worry, I'm not arguing there's no problem, just making suggestions that might improve your experience.
Comment 11 sunweb 2015-03-26 16:36:11 UTC
(In reply to Michel Dänzer from comment #10)
> Not using Windows or smooth scrolling myself, I'm just not sure how smooth
> it's supposed to be. Don't worry, I'm not arguing there's no problem, just
> making suggestions that might improve your experience.

I've tried it in a notebook that has both intel and amd graphics. On intel smooth scrolling even at heavy sites works really good.
A bit offtopic. How do i use amd gpu in such notebook and are you planing to add some gui to switch between gpus and choose what programms to run with which gpu?
Comment 12 Martin Peres 2019-11-19 09:01:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/587.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.