Re: Various X problems

2019-08-11 Thread Samuel Thibault
Hello,

Just for information to close the thread:

Samuel Thibault, le mar. 14 août 2018 22:10:20 +0200, a ecrit:
> MENGUAL Jean-Philippe, le sam. 11 août 2018 13:18:22 +0200, a ecrit:
> > When I use the cut-and-paste command of brltty, it works all right, but
> > randomly and for whatever reason, X crashes. I pasted the log here:
> > [1]http://demo.accelibreinfo.eu/Xorg.0.log.old

This was fixed upstream, and is tracked in 

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931332

Samuel



Re: Various X problems

2018-08-14 Thread Samuel Thibault
MENGUAL Jean-Philippe, le mer. 15 août 2018 01:00:00 +0200, a ecrit:
> I guess I use a driver Intel, but not so easy to be sure from log.

[ 69863.559] (--) PCI:*(0@0:2:0) 8086:0116:103c:1619 rev 9,

So it's an Intel (hint: famous 8086 ID)

You should also send your dmesg output so they get to know the kernel
modesettings part.

> And hard to know the release as there is a mismatch between Debian and
> Xorg I have problems to solve.

The Xorg version is available by looking at the xorg package version, so
7.7 in your case I guess

Samuel



Re: Various X problems

2018-08-14 Thread MENGUAL Jean-Philippe


Le 15/08/2018 à 00:48, Samuel Thibault a écrit :
> MENGUAL Jean-Philippe, le mer. 15 août 2018 00:19:27 +0200, a ecrit:
 Finally, maybe it is related, I use this script to make my screen black 
 and my
 screen no longer becomes black. More precisely, to make it black, after 
 running
 the script, I have to do alt-ctrl-f1 and alt-f7.
 See the script: [3]http://paste.debian.net/1037524
>>>
>>> That's odd. Perhaps you can send the output of xrandr (without option)
>>> before and after calling the script to have a better idea of what
>>> happens.
>>
>> Before script: http://paste.debian.net/1037969
>> After the script: http://paste.debian.net/1037970
>> After alt-ctrl-f1 then alt-f7 (black screen):
>> http://paste.debian.net/1037971
> 
> Ok, so xrandr itself did its work, and it's probably the driver behind
> which doesn't behave correctly. It should be reported against upstream
> xorg, with the corresponding video driver component.

I guess I use a driver Intel, but not so easy to be sure from log. And
hard to know the release as there is a mismatch between Debian and Xorg
I have problems to solve.

How can I determine the used driver? For the release, I will search
through tracker and detailed information about the matching package.

> 
> Samuel
> 
> 



Re: Various X problems

2018-08-14 Thread Samuel Thibault
Samuel Thibault, le mer. 15 août 2018 00:24:08 +0200, a ecrit:
> MENGUAL Jean-Philippe, le mer. 15 août 2018 00:19:27 +0200, a ecrit:
> > Yes, I have just done a new trial, it is a reproducible case. If the
> > pasted string contains an accent, X crashes.
> 
> Ok, that's in line with the reproducer I could come up with.

BTW, on my system, just running setxkbmap within the X session seems to
avoid the issue.

Samuel



Re: Various X problems

2018-08-14 Thread Samuel Thibault
MENGUAL Jean-Philippe, le mer. 15 août 2018 00:19:27 +0200, a ecrit:
> >> Finally, maybe it is related, I use this script to make my screen black 
> >> and my
> >> screen no longer becomes black. More precisely, to make it black, after 
> >> running
> >> the script, I have to do alt-ctrl-f1 and alt-f7.
> >> See the script: [3]http://paste.debian.net/1037524
> > 
> > That's odd. Perhaps you can send the output of xrandr (without option)
> > before and after calling the script to have a better idea of what
> > happens.
> 
> Before script: http://paste.debian.net/1037969
> After the script: http://paste.debian.net/1037970
> After alt-ctrl-f1 then alt-f7 (black screen):
> http://paste.debian.net/1037971

Ok, so xrandr itself did its work, and it's probably the driver behind
which doesn't behave correctly. It should be reported against upstream
xorg, with the corresponding video driver component.

Samuel



Re: Various X problems

2018-08-14 Thread Samuel Thibault
MENGUAL Jean-Philippe, le mer. 15 août 2018 00:19:27 +0200, a ecrit:
> Yes, I have just done a new trial, it is a reproducible case. If the
> pasted string contains an accent, X crashes.

Ok, that's in line with the reproducer I could come up with.

> Should I open a bug in X? What component?

I have reported to https://bugs.freedesktop.org/show_bug.cgi?id=107570

Samuel



Re: Various X problems

2018-08-14 Thread MENGUAL Jean-Philippe
Hi,

Le 14/08/2018 à 22:10, Samuel Thibault a écrit :
> Hello,
> 
> MENGUAL Jean-Philippe, le sam. 11 août 2018 13:18:22 +0200, a ecrit:
>> When I use the cut-and-paste command of brltty, it works all right, but
>> randomly and for whatever reason, X crashes. I pasted the log here:
>> [1]http://demo.accelibreinfo.eu/Xorg.0.log.old
> 
> Do you see any pattern in which strings could be making X crash?  From
> looking at the backtrace (ProcXkbSetMap calling _XkbSetMapChecks), it
> would be when pasting characters which are not directly available in the
> key layout, e.g. ê, could that match what you get?

Yes, I have just done a new trial, it is a reproducible case. If the
pasted string contains an accent, X crashes. I think your piont is what
a searched, a good repro scenario.

Should I open a bug in X? What component?

>> Ih this log, several things make me surprised:
>> - the log is polluted by (EE) related to offsetting. What is this? If related
>> to
>> [2]https://bugs.freedesktop.org/show_bug.cgi?id=106908
> 
> I don't think it is related.
> 
>> should I report to Debian so that we disable PageFlip by default?
> 
> PageFlip is an important optimization, we don't want to disable it by
> default.

ok as it is not related to the crash, let's skip this.

>> Finally, maybe it is related, I use this script to make my screen black and 
>> my
>> screen no longer becomes black. More precisely, to make it black, after 
>> running
>> the script, I have to do alt-ctrl-f1 and alt-f7.
>> See the script: [3]http://paste.debian.net/1037524
> 
> That's odd. Perhaps you can send the output of xrandr (without option)
> before and after calling the script to have a better idea of what
> happens.

Before script: http://paste.debian.net/1037969
After the script: http://paste.debian.net/1037970
After alt-ctrl-f1 then alt-f7 (black screen):
http://paste.debian.net/1037971

Note that when screen is black, when I re-run the script, the screen
becomes lighted immediately.

> 
>> - should I report a bug and where? I planned to do on Xorg, but last time I 
>> had
>> no feedback on Debian bts. And upstream requested things I did not know to do
>> in Debian.
> 
> The Debian Xorg staff is terribly understaffed indeed.  But I can
> probably write a little program that reproduces brltty's behavior that
> upstream can use to reproduce the issue.
> 

Many thanks. It would be easier than explaining the situation related to
brltty. We will need to do, but with a program it will me more
understandable for upstream.

Regards,

> Samuel
> 
> 



Re: Various X problems

2018-08-14 Thread Samuel Thibault
Hello,

MENGUAL Jean-Philippe, le sam. 11 août 2018 13:18:22 +0200, a ecrit:
> When I use the cut-and-paste command of brltty, it works all right, but
> randomly and for whatever reason, X crashes. I pasted the log here:
> [1]http://demo.accelibreinfo.eu/Xorg.0.log.old

Do you see any pattern in which strings could be making X crash?  From
looking at the backtrace (ProcXkbSetMap calling _XkbSetMapChecks), it
would be when pasting characters which are not directly available in the
key layout, e.g. ê, could that match what you get?

> Ih this log, several things make me surprised:
> - the log is polluted by (EE) related to offsetting. What is this? If related
> to
> [2]https://bugs.freedesktop.org/show_bug.cgi?id=106908

I don't think it is related.

> should I report to Debian so that we disable PageFlip by default?

PageFlip is an important optimization, we don't want to disable it by
default.

> Finally, maybe it is related, I use this script to make my screen black and my
> screen no longer becomes black. More precisely, to make it black, after 
> running
> the script, I have to do alt-ctrl-f1 and alt-f7.
> See the script: [3]http://paste.debian.net/1037524

That's odd. Perhaps you can send the output of xrandr (without option)
before and after calling the script to have a better idea of what
happens.

> - should I report a bug and where? I planned to do on Xorg, but last time I 
> had
> no feedback on Debian bts. And upstream requested things I did not know to do
> in Debian.

The Debian Xorg staff is terribly understaffed indeed.  But I can
probably write a little program that reproduces brltty's behavior that
upstream can use to reproduce the issue.

Samuel



Re: Various X problems

2018-08-12 Thread Dale Forsyth
https://www.mycause.com.au/page/183259/a-smile-will-change-a-day-love-that-changed-my-world

From: MENGUAL Jean-Philippe 
Sent: Saturday, 11 August 2018 9:18 PM
To: Debian Accessibility Team
Subject: Various X problems

Hi,

On Buster, I use brltty in a terminal, mate-terminal. I use screen in this 
terminal. Here is the command I run:
brltty -b ba -x a2 -X type=term --release-device

When I use the cut-and-paste command of brltty, it works all right, but 
randomly and for whatever reason, X crashes. I pasted the log here:
http://demo.accelibreinfo.eu/Xorg.0.log.old

Ih this log, several things make me surprised:
- the log is polluted by (EE) related to offsetting. What is this? If related to
https://bugs.freedesktop.org/show_bug.cgi?id=106908

should I report to Debian so that we disable PageFlip by default?

- the crash appears, definitely

Finally, maybe it is related, I use this script to make my screen black and my 
screen no longer becomes black. More precisely, to make it black, after running 
the script, I have to do alt-ctrl-f1 and alt-f7.
See the script: http://paste.debian.net/1037524

So:
- what can I investigate furthermore?
- should I report a bug and where? I planned to do on Xorg, but last time I had 
no feedback on Debian bts. And upstream requested things I did not know to do 
in Debian.

I dont know wether this topics are linked, but I suspect there is a 
relationship between all these problems, and as I experience them via brltty 
cut-and-paste feature, I prefer to ask here first.

Thanks for your help and feedback.


regards



--
[Logo  Hypra]   JEAN-PHILIPPE MENGUAL
DIRECTEUR TECHNIQUE ET QUALITÉ
102, rue des poissonniers, 75018, Paris
Tel : +331 84 73 06 61 Mob : +336 76 34 93 37

jpmeng...@hypra.fr
www.hypra.fr
[Facebook Hypra] [Twitter Hypra] 
  [Linkedin Jean-Philippe]