Hi Thomas,

Thank you very much for the reply.
I think it will be better if you can file the bug with 
https://bugs.freedesktop.org because it allows attachments to be added to the 
bug report easily.
When you do so, please specify "Driver/openchrome" for the component section.

https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

You should include the register dump of via_regs_dump.

$ ./autogen.sh --prefix=/usr --enable-debug --enable-xv-debug 
--enable-viaregtool CFLAGS="-Wall"
$ make
$ cd tools
$ sudo ./via_regs_dump -d > Samsung_NC20_via_regs_dump.txt

Please provide me with before the standby and after the standby register dump.
This allows me to compare the registers to see which one is changing before and 
after standby.
   Based on my own experience of dealing with OpenChrome DDX code for a while, 
I think what is going on is that some of the registers related to the flat 
panel are not being initialized by OpenChrome at all.
In other words, the registers are being set by the VGA BIOS, but OpenChrome is 
relying on the VGA BIOS setting them correctly.
Unfortunately, past developers did not appear to be too concerned about this, 
hence, when the computer comes out of standby, the flat panel often goes wrong 
as a result.
I have seen this so many times already, but I do not own Samsung NC20 netbook, 
so this is why I did not know   this issue until now.
The only solution I have found to deal with this issue is for OpenChrome to 
correctly initialize them every time a mode setting is being done.

Regards,

Kevin Brace
The OpenChrome Project maintainer / developer


> Date: Sun, 12 Mar 2017 14:32:50 +0100
> From: Thomas Schlichter <thomas.schlich...@web.de>
> To: Kevin Brace <kevinbr...@gmx.com>
> Cc: openchrome-us...@lists.freedesktop.org,
>       openchrome-devel@lists.freedesktop.org
> Subject: Re: [Openchrome-users] [Openchrome-devel] [ANNOUNCE]
>       OpenChrome DDX  Version 0.6 released
> Message-ID: <3548310.mgOUUYgmI9@netbook>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Dear Kevin,
> 
> first I'd like to thank you very much for your work on Openchrome!
> I'm the owner of a Samsung NC20 Netbook with a VIA Nano Processor and a VIA 
> VX800 chipset. On this machine I am currently running a Kubuntu 16.10.
> 
> Your latest release (version 0.6) also did fix the switching to/from VT for 
> me, 
> but unfortunately for me the suspend/resume bug still exists... ;-(
> I'd be happy to help you fixing this bug by providing any information you 
> need 
> and trying patches.
> 
> As a first step I attached two Xorg.log files (before and after suspend) and 
> two 
> pictures (after suspend, and how it should look like). I hope this already 
> helps you identifying the missing bits...
> 
> Kind regards,
>   Thomas
>
_______________________________________________
Openchrome-devel mailing list
Openchrome-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to