You are not logged in.

#1 2010-07-17 16:57:57

Ekinox
Member
Registered: 2010-07-14
Posts: 14

[KDE and pm-suspend] Strange screen

Hello,

I actually have a problem with my laptop. When using pm-suspend and resuming the screen becomes strange. The pixels are sometimes doubled, and the screen virtual width seems to have increased. Here is a little schema (the pipe models the right ending of my screen) :

Normal screen (example) :

....O...O|
..O.....O|

After suspending and resuming :

......OO.|.....OO
....OO...|.....OO

So I lose all the informatioons on the right edge. Moreover, I here represented it using a simple doubled-pixel representation ; but it is stranger, for example the sequence ABCD may expand to ABCABCD.
I can't understand where the bug comes from. Maybe someone here knows ?

Thanks in advance,
Ekinox

Offline

#2 2010-07-18 11:29:52

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

UP ? (Is bump-ing forbidden here ?)

Offline

#3 2010-07-18 17:56:52

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

Nobody knows how to solve this ?

Last edited by Ekinox (2010-07-18 18:13:51)

Offline

#4 2010-07-19 01:35:03

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [KDE and pm-suspend] Strange screen

I don't think I know how to help you, but I don't even understand what you are saying. The screen size doubles? What does that mean? And why do you use a "doubled-pixel representation"? Can you make a screenshot?

Oh, and yes, bumping is forbidden. You may be spanked. tongue

Last edited by mutlu_inek (2010-07-19 01:36:03)

Offline

#5 2010-07-19 18:52:48

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

Can't believe it !
Seems to be a very strange bug : KSnapshot captures the things as they should be ... Incredible. So I won't be able to show you what I saw.
Moreover, after running pm-hibernate and booting a new time (so theorically keeping the same workspace), the bug disappears ...
However, after killing X (Ctrl-Bksp), the bug is still the same.
Moreover, okular isn't able to connect to X while the bug is here, and even after pm-hibernate isn't able to connect X.
I shouldn't forget that the mouse doesn't work.
However, I found a way to show you what I see : camera tongue

So, some photos.

First, a simple view of the console while the bug is here :
p1010801.jpg

Then, the bottom-right of my screen (with a bubblemon) (there should be some icons, including the hour) :
p1010802d.jpg

Then, the bottom-left of my screen : not too much problems here (for example KDE logo seems all right) :
p1010803.jpg

After, I show you the product that KSnapshot made (almost the same moment than the photos) :
cran3.png

Finally, the bug after a X killing :
p1010804g.jpg

So I don't understand anything, and I think I am not able to understand why all this bugs ...
After all, pm-suspend should seem to do nothing !

I don't understand anything, please help me !

Offline

#6 2010-07-19 23:39:02

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [KDE and pm-suspend] Strange screen

Wow! Impressive. tongue Seems like an X video driver bug.

1.) What graphics card are you using and which driver (for Xorg)?

2.) Does this happen only in X? I.e. what happens if you press Ctrl-Alt-F1 and then go back to X with Ctrl-Alt-F7?

3.) What happens if you change resolutions in krandrtray?

4.) Can you post the content of /var/log/Xorg.0.log and /var/log/Xorg.0.log.old to pastebin.ca when you get this funky screen?

5.) If we can't find anything in there, we might want to do the same (but only with a reasonable amount of recent log entries) with errors.log, kernel.log and messages.log.

Edit: added stuff

Last edited by mutlu_inek (2010-07-19 23:58:04)

Offline

#7 2010-07-20 13:16:01

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

1.) I have an ATI card :

$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Device 9488

So, as said here : ATI Mobility Radeon HD 4670
I don't usr radeonhd driver, as it is said in the wiki as less supported and more bugged. So I use radeon (package ati) driver :

$ pacman -Qs xorg video
local/xf86-video-ati 6.13.1-1 (xorg-video-drivers)
    X.org ati video driver
local/xf86-video-vesa 2.3.0-2 (xorg xorg-video-drivers)
    X.org vesa video driver
$ cat /etc/X11/xorg.conf.d/10-monitor.conf 
Section Monitor
        Identifier      Monitor0
EndSection

Section Device
        Identifier      Device0
        Driver          radeon
EndSection

Section Screen
        Identifier      Screen0
        Device          Device0
        Monitor         Monitor0
        DefaultDepth    24
        SubSection Display
                Depth   24
                Modes   1440x900
        EndSubSection
EndSection

2.) Switching to tty1 and coming back to X doesn't help ...

3.) How may I do that ? (I am not an expert in KDE use)

4.) Xorg.0.log Xorg.0.log.old (I can't understand why they are empty ... I believe they shouldn't ... However, it may be a bug from pastebin : it makes an empty Xorg.0.log even with a file that cat says not empty ... So I believe there is a bug inside pastebin.) After pm-hibernate and a boot, I have logs but cannot send it through pastebin (and no more through the forum) ...

5.) errors.log ; kernel.log (100 last lines) (forgot setting the good filename : it isn't messages.log) ; messages.log

Have fun with all those logs smile

Offline

#8 2010-07-20 14:05:37

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [KDE and pm-suspend] Strange screen

Your logs are probably empty because you aren't allowed to read them, try opening them as root (or adding yourself to the log group).

Offline

#9 2010-07-20 15:14:25

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

I am in the log group, and using cat works without any problem (you may see that kernel.log for example doesn't cause any problem). But I believe the file is too large : even using pastebin's web interface, I am not able to send the whole Xorg.0.log (I tried while the bug wasn't here). And the forum doesn't allow more than 65KiB messages, so I think I won't be able to show you the logs ...

Offline

#10 2010-07-20 23:24:13

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [KDE and pm-suspend] Strange screen

The logs you posted don't seem to contain anything obviously wrong. But most important are the logs you did not post. Try http://pastebin.ca/upload.php

About 2.) start krandrtray e.g. from the application launcher, then right-click the icon in the system tray and choose a different resolution for your screen.

Offline

#11 2010-07-21 10:37:51

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

So I won't be able to use krandrtray ; as the mouse doesn't work and the bottom-right corner (with the system tray) is out of the screen.

However, for the logs, I sent them : Xorg.0.log ; Xorg.0.log.old (Seems archlinux.fr's pastebin doesn't allow so large files).

Offline

#12 2010-07-22 18:35:56

Ekinox
Member
Registered: 2010-07-14
Posts: 14

Re: [KDE and pm-suspend] Strange screen

Nobody knows ? Logs don't help you ?

Offline

#13 2010-07-23 01:44:28

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: [KDE and pm-suspend] Strange screen

Again, it all seems fine. I have no idea. You could try to contact the developers at xorg-driver-ati@lists.x.org

Offline

#14 2011-02-01 18:47:25

jnhieber
Member
From: Germany
Registered: 2011-02-01
Posts: 23

Re: [KDE and pm-suspend] Strange screen

I had the same problem, when i disable KMS it works great: https://wiki.archlinux.org/index.php/Radeon#Disable_KMS

##edit: changed language from german to english ;-)

Last edited by jnhieber (2011-02-01 18:56:51)

Offline

#15 2011-02-19 15:31:39

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: [KDE and pm-suspend] Strange screen

I too still have this problem, and disabling KMS prevents kdm from starting (it crashes to shell). I used the drivers from the radeon repository, and currently using the one from extra, both experience this problem.

Offline

#16 2011-02-19 18:54:47

wankel
Member
From: Iowa, USA
Registered: 2008-05-30
Posts: 218
Website

Re: [KDE and pm-suspend] Strange screen

I have the same issue with the same card and driver

Offline

#17 2011-02-20 05:14:55

wankel
Member
From: Iowa, USA
Registered: 2008-05-30
Posts: 218
Website

Re: [KDE and pm-suspend] Strange screen

Installing the drivers from the radeon repo:

[radeon]
Server = http://spiralinear.org/perry3d/$arch/

and the kernel26-ck:

[kernel26-ck]
Server = http://home.comcast.net/~repo-ck/$arch

solved the problem for me. so far at least, will update you guys if the problem resurfaces.

Offline

#18 2011-02-20 15:33:21

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: [KDE and pm-suspend] Strange screen

I installed kernel26-ck aswell.
The problem seems to be in the stock kernel.

Offline

#19 2011-02-20 23:00:36

*vitali*
Member
Registered: 2009-12-20
Posts: 83

Re: [KDE and pm-suspend] Strange screen

The problem doesn't seem to present on the new kernel (kernel26-2.6.37.1-1).

Offline

Board footer

Powered by FluxBB