Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-06 Thread Pavel Machek
On Fri 2015-11-06 11:25:09, Michel Dänzer wrote: > On 06.11.2015 05:23, Pavel Machek wrote: > > Hi! > > > The flickering would vanish completely if that's the reason for the issue > you are seeing. > >>> > Try setting ref_div_min and ref_div_max to 2 in > radeon_compute_pll_av

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Michel Dänzer
On 06.11.2015 05:23, Pavel Machek wrote: > Hi! > The flickering would vanish completely if that's the reason for the issue you are seeing. >>> Try setting ref_div_min and ref_div_max to 2 in radeon_compute_pll_avivo(). >>> >>> Ok, I did this, but no luck, still flickers. But t

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Pavel Machek
> RADEON_PLL_PREFER_MINM_OVER_MAXP). > >>>The flickering would vanish completely if that's the reason for the issue > >>>you are seeing. > >>>Try setting ref_div_min and ref_div_max to 2 in > >>> radeon_compute_pll_avivo(). > >>Ok, I did this, but no luck, still flickers. But the flicker onl

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Pavel Machek
Hi! > >> The flickering would vanish completely if that's the reason for the issue > >> you are seeing. > > > >> Try setting ref_div_min and ref_div_max to 2 in > >> radeon_compute_pll_avivo(). > > > > Ok, I did this, but no luck, still flickers. But the flicker only > > happens when something ch

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Christian König
On 04.11.2015 23:13, Alex Deucher wrote: On Wed, Nov 4, 2015 at 5:10 PM, Pavel Machek wrote: Hi! index dac78ad..b86f06a 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Alex Deucher
On Wed, Nov 4, 2015 at 5:10 PM, Pavel Machek wrote: > Hi! > >> index dac78ad..b86f06a 100644 >> --- a/drivers/gpu/drm/radeon/atombios_crtc.c >> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c >> @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, >>

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Pavel Machek
Hi! > index dac78ad..b86f06a 100644 > --- a/drivers/gpu/drm/radeon/atombios_crtc.c > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c > @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, > radeon_crtc->pll_flags = 0; > > if (ASIC_IS

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-03 Thread Christian König
On 04.11.2015 00:03, Pavel Machek wrote: Hi! Any ideas? Alex probably knows more about this, but it sounds like problems with switching the memory clocks on 3D load. Try to disable power management completely with radeon.dpm=0 on the kernel command line or nailing the hardware at a specific p

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-03 Thread Pavel Machek
Hi! > >> Unfortunately, it can't be applied as is because we had a similar > >> patch which was reverted because it regressed a bunch of other > >> systems. The actual pll limits probably need to be tweaked. > > > > Any ideas how to tweak the pll limits? > > Adjust the the algorithm in radeon_co

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-03 Thread Pavel Machek
Hi! > >> >> >Any ideas? > >> >> > >> >> Alex probably knows more about this, but it sounds like problems with > >> >> switching the memory clocks on 3D load. > >> > > >> >> Try to disable power management completely with radeon.dpm=0 on the > >> >> kernel > >> >> command line or nailing the hard

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-03 Thread Alex Deucher
On Tue, Nov 3, 2015 at 5:09 PM, Pavel Machek wrote: > Hi! > >> >> >4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But >> >> >my monitor is native 1920x1080, so that mode looks pretty ugly on >> >> >screen. If I go to 1920x1080, I see colored horizontal lines (often >> >> >black)

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-03 Thread Pavel Machek
Hi! > >> >4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But > >> >my monitor is native 1920x1080, so that mode looks pretty ugly on > >> >screen. If I go to 1920x1080, I see colored horizontal lines (often > >> >black) as soon as there's graphics activity. > >> > > >> >pavel@ha

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-02 Thread Alex Deucher
On Sat, Oct 31, 2015 at 5:22 PM, Pavel Machek wrote: > Hi! > >> >4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But >> >my monitor is native 1920x1080, so that mode looks pretty ugly on >> >screen. If I go to 1920x1080, I see colored horizontal lines (often >> >black) as soon as

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-10-31 Thread Christian König
On 31.10.2015 21:13, Pavel Machek wrote: Hi! 4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But my monitor is native 1920x1080, so that mode looks pretty ugly on screen. If I go to 1920x1080, I see colored horizontal lines (often black) as soon as there's graphics activity. p

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-10-31 Thread Pavel Machek
Hi! > >4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But > >my monitor is native 1920x1080, so that mode looks pretty ugly on > >screen. If I go to 1920x1080, I see colored horizontal lines (often > >black) as soon as there's graphics activity. > > > >pavel@half:~$ xrandr > >Sc

Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-10-31 Thread Pavel Machek
Hi! 4.3-rc7 kernel, graphics works reasonably well in 1600x1200 mode. But my monitor is native 1920x1080, so that mode looks pretty ugly on screen. If I go to 1920x1080, I see colored horizontal lines (often black) as soon as there's graphics activity. pavel@half:~$ xrandr Screen 0: minimum 320 x