[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
Try again with openchrome_add_debug_checkpoints.patch, external monitor connected, but set ActiveDevice to LCD: Section Device Identifier Configured Video Device Option ActiveDevice LCD EndSection The result is system freeze. ** Attachment added:

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
I tried to unload the via and drm kernel modules and renamed them in order they cannot be loaded again: # /etc/init.d/gdm stop # rmmod via # rmmod drm # mv /lib/modules/2.6.28-11-generic/kernel/drivers/gpu/drm/via/via.ko /lib/modules/2.6.28-11-generic/kernel/drivers/gpu/drm/via/via.ko.orig

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
External monitor connected, patch applied, acceleration disabled: Section Device Identifier Configured Video Device Option NoAccel EndSection Result: system freeze. ** Attachment added: Xorg.0.log-patched-NoAccel-externalConnected

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
I tried to disable DMA this time (patch applied, external monitor disconnected): Section Device Identifier Configured Video Device Option EnableAGPDMA false Option NoAGPFor2D Option NoXVDMA EndSection The result is system freeze. ** Attachment added:

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
Try to disable DMA, HWCursor, ShadowFB (patch applied, external monitor disconnected): Section Device Identifier Configured Video Device Option EnableAGPDMA false Option NoAGPFor2D Option NoXVDMA Option SWCursor true Option ShadowFB false EndSection

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
Add some more checkpoints and debug messages. ** Attachment added: openchrome_add_debug_checkpoints2.patch http://launchpadlibrarian.net/28456299/openchrome_add_debug_checkpoints2.patch -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
Execute the last case with the more verbose debug messages Section Device Identifier Configured Video Device Option EnableAGPDMA false Option NoAGPFor2D Option NoXVDMA Option SWCursor true Option ShadowFB false EndSection Result: system freeze. The

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Márton Németh
The previous test again, except I connected the external monitor. The system runs normally. (II) CHROME(0): VIALoadPalette (II) CHROME(0): via_driver.c:2575: checkpoint (II) CHROME(0): via_driver.c:2578: checkpoint (II) CHROME(0): via_driver.c:2587: checkpoint (II) CHROME(0): via_vgahw.c:108:

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-27 Thread Bartosz
Thanks for your detailed investigation. I think the main problem is incorrect virtual size with panel. When the second monitor is connected, then virtual size is taken from external monitor and X runs perfectly. You said that after add checkpoints, the X have started correctly (some timing

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-26 Thread Márton Németh
I logged in to Clevo D410J with ssh via network and I could capture the stdout and stderr when I started the command X -verbose 10. This time the external monitor was not connected and the system freezes. ** Attachment added: log-freeze.txt http://launchpadlibrarian.net/28405479/log-freeze.txt

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-26 Thread Márton Németh
I set up netconsole for Clevo D410J. Clevo D410J, running Ubuntu is at IP address 192.168.1.68. The logger is at IP address 192.168.1.67. On Clevo D410J I loaded the netconsole module: $ sudo modprobe netconsole netconsole=@/,192.168.1.67/ On the logger I started netcat: $ netcat -l -u

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-26 Thread Márton Németh
I applied the patch openchrome_add_debug_checkpoints.patch which also includes the patch at http://launchpadlibrarian.net/27411446/panel_pm800_new2.patch . I connected the external monitor and set the ActiveDevice to CRT: Section Device Identifier Configured Video Device

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-25 Thread Bryce Harrington
** Changed in: xserver-xorg-video-openchrome (Ubuntu) Status: New = Confirmed -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen https://bugs.launchpad.net/bugs/386740 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-25 Thread Márton Németh
(II) CHROME(0): via_driver.c:1659: checkpoint (II) CHROME(0): via_driver.c:1661: checkpoint (II) CHROME(0): ViaPanelPreInit (II) CHROME(0): via_panel.c:289: checkpoint (II) CHROME(0): VIAGetPanelSizeFromDDCv1 (II) CHROME(0): via_panel.c:291: checkpoint (II) CHROME(0): via_panel.c:309: checkpoint

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-25 Thread Márton Németh
I could start the X server without freeze when the patch http://launchpadlibrarian.net/27411446/panel_pm800_new2.patch was also applied. I added some checkpoint debug messages so my native 1024x768 panel size is recognised. Maybe this is a timing issue and the checkpoint printouts slow down the

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-25 Thread Márton Németh
I repeated the X server start, now I get system freeze. When there was no freeze the external monitor was connected (plugged into the power supply but in switched off state). This second time when the system freezes I unplugged the external monitor and restarted X with /etc/init.d/gdm restart.

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-23 Thread Márton Németh
I have some trouble getting the Xorg.0.log when the system freezes. What I did was: 1. Boot the live CD 2. Compile the patched openchrome driver and install it 3. Switch to the console 4. /etc/init.d/gdm stop 5. mount /dev/sda1 /var/log 6. /etc/init.d/gdm start Now the system freezes. After

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-22 Thread Márton Németh
Do you mean: pScrn-currentMode-HDisplay pScrn-currentMode-VDisplay pScrn-virtualX pScrn-virtualY ? I created a debug patch (attached) to print out these variables. When I use the original xorg.conf file the variables show a resolution of 1600x1200. (II) CHROME(0): via_cursor.c:330:

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-22 Thread Bartosz
Attach Xorg.log file, after applying the patch http://launchpadlibrarian.net/27411446/panel_pm800_new2.patch. After freeze, restart system, run it save mode, run console and copy Xorg.log file, -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-20 Thread Márton Németh
I corrected the debug patch to handle values bigger than 0x7FFF correctly. I did some investigation with different pos and offset settings. I could find out that: when writing to the pos and the offset registers there are the following fields: - the vertical position (y) is a 11bit wide

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-20 Thread Bartosz
Please check the value of variables: pVia-pBIOSInfo-HDisplay pVia-pBIOSInfo-VDisplay pVia-pBIOSInfo-VirtualX pVia-pBIOSInfo-VirtualY -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen https://bugs.launchpad.net/bugs/386740 You received this bug notification because you

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-20 Thread Bartosz
What is your native panel resolution? Try set the VIRTUAL size, for example: SubSection Display Modes 1024x768 Virtual 1024 768 EndSubSection Try to apply patch from bug : https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-openchrome/+bug/186103 Here you have a link to patch:

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-19 Thread Márton Németh
I created a test script which automatically moves the cursor using the xte program vertically. With this it is possible to to scan the values of the hardware register and check on the screen what happens. Need to install xautomation package before: $ sudo apt-get install xautomation **

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-19 Thread Márton Németh
A debug patch to set the cursor position registers specified in the file /home/ubuntu/pos.txt. ** Attachment added: openchrome-debug-cursor-position.patch http://launchpadlibrarian.net/28121635/openchrome-debug-cursor-position.patch -- [K8M800] mouse pointer corruptly displayed at the bottom

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
I followed the instructions at https://help.ubuntu.com/community/OpenChrome#Manual%20Installation and successfully updated to openchrome driver SVN revision 751. The problem, however, remains. ** Attachment added: Xorg.0.log with openchrome from SVN 751

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
WORKAROUND: I enabled SWCursor at /etc/X11/xorg.conf as described at: https://help.ubuntu.com/community/OpenChrome#Problems%20and%20solutions : Section Device Identifier Configured Video Device Driveropenchrome OptionSWCursortrue EndSection Now the

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
I created a debug patch and tried to find out the problem areas. I was looking at the following debug lines: (II) CHROME(0): via_cursor.c:345: viaSetCursorPosition(..., x=-6, y=-4) (II) CHROME(0): via_cursor.c:360: viaSetCursorPosition(): x=0, y=0, xoff=6, yoff=4 Taking the via_cursor.c:360

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
The asciiart figure was corrupted in comment #6, see the attached file instead. ** Attachment added: figure.txt http://launchpadlibrarian.net/27888764/figure.txt -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen https://bugs.launchpad.net/bugs/386740 You received

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Bartosz
Do you use Panel or CRT monitor? -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen https://bugs.launchpad.net/bugs/386740 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
I use the built-in LCD panel of the Clevo D410J laptop. (I have the possibility to connect an external LCD monitor if it make sense to check.) -- [K8M800] mouse pointer corruptly displayed at the bottom of the X screen https://bugs.launchpad.net/bugs/386740 You received this bug notification

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
I doublechecked my setup: in the previous cases I used the built-in LCD panel and an external LCD monitor was connected. This external monitor was switched off. In the logfile, however, information about this external monitor is shown. I attach a new Xorg.0.log where I disconnected the external

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
WORKAROUND: I found a workaround based on the hints at https://help.ubuntu.com/community/OpenChrome#Problems%20and%20solutions . When I set the virtual size of the display to 1024x768 then the screen is displayed correctly and the mouse cannot leave the visible area so there is no corrupted

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
I attach the output of dmidecode. It might be used to recognise this kind of laptop automatically and set the workaround if necessary. ** Attachment added: Output of dmidecode http://launchpadlibrarian.net/27911980/dmidecode.txt -- [K8M800] mouse pointer corruptly displayed at the bottom of

[Bug 386740] Re: [K8M800] mouse pointer corruptly displayed at the bottom of the X screen

2009-06-14 Thread Márton Németh
When I connect the external monitor and explicitly specify the ActiveDevice as CRT then I get the resolution of 1280x1024. The mouse pointer in this case is not visible at all. Section Device Identifier Configured Video Device Option ActiveDevice CRT EndSection **