All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]     ` <BN4PR12MB08811DCADDC96DEDCAF61659F9E20-aH9FTdWx9BZt7gBpLs4TlwdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2018-01-29 19:58       ` mikhail
       [not found]         ` <1517255915.3374.5.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: mikhail @ 2018-01-29 19:58 UTC (permalink / raw)
  To: Olsak, Marek, Daenzer, Michel
  Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	gpudriverdevsupport


On Mon, 2018-01-29 at 19:18 +0100, Marek Olšák wrote:
> Please report this issue to the gnome-shell team. gnome-shell has a
> bug in how they handle (or ignore) 10-bits-per-channel visuals.

I already reported here: 
https://gitlab.gnome.org/GNOME/mutter/issues/2

> The workaround is to set the environment variable
> "allow_rgb10_configs=false" for gnome-shell.

I added environment variable as you said:
# echo "allow_rgb10_configs=false" > /etc/profile.d/gnome-workaround.sh
But it not helps workaround problem.
Maybe we made a mistake in the diagnosis?


On Wed, 2018-01-24 at 16:45 +0000, Olsak, Marek wrote:
> Note that gnome-shell has a bug that if the driver supports 10bit
> formats, incorrect drawing and wrong colors and/or corruption occur.
> All drivers that say that they support 10bit formats won't work with
> gnome-shell very well.
> 
> My position on this issue is to keep Mesa as-is, leaving gnome-shell
> broken, so that gnome-shell developers are alerted and fix their
> code. If we react by removing 10bit support from drivers, the odds
> are gnome-shell will never be fixed and drivers will never be able to
> have 10bit support in them.
> 
> Marek
> 
> From: Daenzer, Michel
> Sent: Wednesday, January 24, 2018 11:33:49 AM
> To: Mikhail Gavrilov
> Cc: gpudriverdevsupport
> Subject: Re: LLVM 7.0 + Wayland = broken mouse control
>  
> 
> On 2018-01-24 11:10 AM, Mikhail Gavrilov wrote:
> > Hi.
> > Anybody already tryied LLVM 7 and Wayland???
> > After LLVM is updated in repo
> > https://copr.fedorainfracloud.org/coprs/che/mesa/ to 7.0.0-
> 0.1.r322132
> > mouse hover are stop working on all controls. It means I unnable
> > launch application by clicking on application icon also I unnable
> drag
> > and resize windows. And all controls are unclickable. But keyboard
> > works fine.
> 
> This sounds like the known gnome-shell/mutter bugs related to 10
> bits 
> per component colour formats. I.e. it's probably not directly related
> to 
> LLVM but to changes in how Mesa exposes such formats to applications.
> 
> 
> P.S. Please send this kind of inquiry to the amd-gfx mailing list 
> instead of this address.
> 
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]         ` <1517255915.3374.5.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2018-01-29 22:10           ` Marek Olšák
       [not found]             ` <CAAxE2A7FfYcLRdbrhJ_sWJ=JzKCjNrGO9bkELUUYJZemOAT2zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2018-01-30 10:55           ` Michel Dänzer
  1 sibling, 1 reply; 7+ messages in thread
From: Marek Olšák @ 2018-01-29 22:10 UTC (permalink / raw)
  To: mikhail
  Cc: Daenzer, Michel,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

On Mon, Jan 29, 2018 at 8:58 PM, mikhail <mikhail.v.gavrilov@gmail.com> wrote:
>
> On Mon, 2018-01-29 at 19:18 +0100, Marek Olšák wrote:
>> Please report this issue to the gnome-shell team. gnome-shell has a
>> bug in how they handle (or ignore) 10-bits-per-channel visuals.
>
> I already reported here:
> https://gitlab.gnome.org/GNOME/mutter/issues/2
>
>> The workaround is to set the environment variable
>> "allow_rgb10_configs=false" for gnome-shell.
>
> I added environment variable as you said:
> # echo "allow_rgb10_configs=false" > /etc/profile.d/gnome-workaround.sh
> But it not helps workaround problem.
> Maybe we made a mistake in the diagnosis?

It's possible.

Marek
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]             ` <CAAxE2A7FfYcLRdbrhJ_sWJ=JzKCjNrGO9bkELUUYJZemOAT2zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-01-30  3:43               ` mikhail
  0 siblings, 0 replies; 7+ messages in thread
From: mikhail @ 2018-01-30  3:43 UTC (permalink / raw)
  To: Marek Olšák
  Cc: Daenzer, Michel,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Can you install Fedora 27  + llvm and mesa from this repo
"https://copr.fedorainfracloud.org/coprs/che/mesa/" + use kernel from here "git clone -b amd-staging-drm-next
git://people.freedesktop.org/~agd5f/linux" and check why not worked
mouse hover + click and crashes Unity games?

At least identify the cause of the two problems.


On Mon, 2018-01-29 at 23:10 +0100, Marek Olšák wrote:
> On Mon, Jan 29, 2018 at 8:58 PM, mikhail <mikhail.v.gavrilov@gmail.co
> m> wrote:
> > 
> > On Mon, 2018-01-29 at 19:18 +0100, Marek Olšák wrote:
> > > Please report this issue to the gnome-shell team. gnome-shell has
> > > a
> > > bug in how they handle (or ignore) 10-bits-per-channel visuals.
> > 
> > I already reported here:
> > https://gitlab.gnome.org/GNOME/mutter/issues/2
> > 
> > > The workaround is to set the environment variable
> > > "allow_rgb10_configs=false" for gnome-shell.
> > 
> > I added environment variable as you said:
> > # echo "allow_rgb10_configs=false" > /etc/profile.d/gnome-
> > workaround.sh
> > But it not helps workaround problem.
> > Maybe we made a mistake in the diagnosis?
> 
> It's possible.
> 
> Marek
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]         ` <1517255915.3374.5.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2018-01-29 22:10           ` Marek Olšák
@ 2018-01-30 10:55           ` Michel Dänzer
       [not found]             ` <fa66db2b-0f75-e139-2fd9-ae42881d82df-otUistvHUpPR7s880joybQ@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: Michel Dänzer @ 2018-01-30 10:55 UTC (permalink / raw)
  To: mikhail; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org


[ Dropping gpudriverdevsupport, please never cross-post between that and
public mailing lists ]

On 2018-01-29 08:58 PM, mikhail wrote:
> 
> On Mon, 2018-01-29 at 19:18 +0100, Marek Olšák wrote:
>> Please report this issue to the gnome-shell team. gnome-shell has a
>> bug in how they handle (or ignore) 10-bits-per-channel visuals.
> 
> I already reported here: 
> https://gitlab.gnome.org/GNOME/mutter/issues/2
> 
>> The workaround is to set the environment variable
>> "allow_rgb10_configs=false" for gnome-shell.
> 
> I added environment variable as you said:
> # echo "allow_rgb10_configs=false" > /etc/profile.d/gnome-workaround.sh
> But it not helps workaround problem.
> Maybe we made a mistake in the diagnosis?
No, it just means there's an error in the way you're trying to set the
workaround. Maybe it needs to be "export allow_rgb10_configs=false"?

You can also try the method I described in
https://bugs.freedesktop.org/show_bug.cgi?id=104808#c2 , I verified that
to work.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]             ` <fa66db2b-0f75-e139-2fd9-ae42881d82df-otUistvHUpPR7s880joybQ@public.gmane.org>
@ 2018-01-30 16:27               ` mikhail
       [not found]                 ` <1517329672.17945.4.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: mikhail @ 2018-01-30 16:27 UTC (permalink / raw)
  To: Michel Dänzer
  Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

On Tue, 2018-01-30 at 11:55 +0100, Michel Dänzer wrote:
> 
> No, it just means there's an error in the way you're trying to set
> the
> workaround. Maybe it needs to be "export allow_rgb10_configs=false"?
> 
> You can also try the method I described in
> https://bugs.freedesktop.org/show_bug.cgi?id=104808#c2 , I verified
> that
> to work.
> 

You right, my mistake I forgot add export.
Of cource right variant:
echo "export allow_rgb10_configs=false" > /etc/profile.d/gnome-
workaround.sh

Mouse click now works again with latest llvm and mesa.
It is unfortunate I don't know how apply this variable to the login
screen (gdm).

Anyway, thanks.
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]                 ` <1517329672.17945.4.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2018-01-30 16:52                   ` Mike Lothian
       [not found]                     ` <CAHbf0-ECicce-r8GbaPGWXxGB2RQr4HwSFkX1hFNjzST4Qf_jw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Lothian @ 2018-01-30 16:52 UTC (permalink / raw)
  To: mikhail
  Cc: Michel Dänzer,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org


[-- Attachment #1.1: Type: text/plain, Size: 1098 bytes --]

I think you can set it by:

echo "allow_rgb10_configs=false" >> /etc/environment

On Tue, 30 Jan 2018 at 16:38 mikhail <mikhail.v.gavrilov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> On Tue, 2018-01-30 at 11:55 +0100, Michel Dänzer wrote:
> >
> > No, it just means there's an error in the way you're trying to set
> > the
> > workaround. Maybe it needs to be "export allow_rgb10_configs=false"?
> >
> > You can also try the method I described in
> > https://bugs.freedesktop.org/show_bug.cgi?id=104808#c2 , I verified
> > that
> > to work.
> >
>
> You right, my mistake I forgot add export.
> Of cource right variant:
> echo "export allow_rgb10_configs=false" > /etc/profile.d/gnome-
> workaround.sh
>
> Mouse click now works again with latest llvm and mesa.
> It is unfortunate I don't know how apply this variable to the login
> screen (gdm).
>
> Anyway, thanks.
> _______________________________________________
> amd-gfx mailing list
> amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>

[-- Attachment #1.2: Type: text/html, Size: 1874 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: LLVM 7.0 + Wayland = broken mouse control
       [not found]                     ` <CAHbf0-ECicce-r8GbaPGWXxGB2RQr4HwSFkX1hFNjzST4Qf_jw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-01-30 17:40                       ` mikhail
  0 siblings, 0 replies; 7+ messages in thread
From: mikhail @ 2018-01-30 17:40 UTC (permalink / raw)
  To: Mike Lothian
  Cc: Michel Dänzer,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org

Big thanks, now it works also on the login screen.
And /etc/profile.d/gnome-workaround.sh not needed.

On Tue, 2018-01-30 at 16:52 +0000, Mike Lothian wrote:
> I think you can set it by:
> 
> echo "allow_rgb10_configs=false" >> /etc/environment
> 
> On Tue, 30 Jan 2018 at 16:38 mikhail <mikhail.v.gavrilov@gmail.com>
> wrote:
> > On Tue, 2018-01-30 at 11:55 +0100, Michel Dänzer wrote:
> > >
> > > No, it just means there's an error in the way you're trying to
> > set
> > > the
> > > workaround. Maybe it needs to be "export
> > allow_rgb10_configs=false"?
> > >
> > > You can also try the method I described in
> > > https://bugs.freedesktop.org/show_bug.cgi?id=104808#c2 , I
> > verified
> > > that
> > > to work.
> > >
> > 
> > You right, my mistake I forgot add export.
> > Of cource right variant:
> > echo "export allow_rgb10_configs=false" > /etc/profile.d/gnome-
> > workaround.sh
> > 
> > Mouse click now works again with latest llvm and mesa.
> > It is unfortunate I don't know how apply this variable to the login
> > screen (gdm).
> > 
> > Anyway, thanks.
> > _______________________________________________
> > amd-gfx mailing list
> > amd-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-30 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CABXGCsMKWxAxDas=s2UxwydOYQ8TyEOCfR=0Mz0zGfgXxsnxcw@mail.gmail.com>
     [not found] ` <188aeb48-741c-0658-32f5-b12d6389b10c@amd.com>
     [not found]   ` <BN4PR12MB08811DCADDC96DEDCAF61659F9E20@BN4PR12MB0881.namprd12.prod.outlook.com>
     [not found]     ` <BN4PR12MB08811DCADDC96DEDCAF61659F9E20-aH9FTdWx9BZt7gBpLs4TlwdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2018-01-29 19:58       ` LLVM 7.0 + Wayland = broken mouse control mikhail
     [not found]         ` <1517255915.3374.5.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-29 22:10           ` Marek Olšák
     [not found]             ` <CAAxE2A7FfYcLRdbrhJ_sWJ=JzKCjNrGO9bkELUUYJZemOAT2zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-30  3:43               ` mikhail
2018-01-30 10:55           ` Michel Dänzer
     [not found]             ` <fa66db2b-0f75-e139-2fd9-ae42881d82df-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-01-30 16:27               ` mikhail
     [not found]                 ` <1517329672.17945.4.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-30 16:52                   ` Mike Lothian
     [not found]                     ` <CAHbf0-ECicce-r8GbaPGWXxGB2RQr4HwSFkX1hFNjzST4Qf_jw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-30 17:40                       ` mikhail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.