Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Fuzzy screen after resume
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Yuu
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 223
Location: France

PostPosted: Sun Aug 09, 2015 8:41 pm    Post subject: [SOLVED] Fuzzy screen after resume Reply with quote

Hello,

since I upgraded from XFCE 4.10 to 4.12, I noticed that my machine doesn't resume properly from suspend anymore.

See here : http://i.imgur.com/gnJRTGK.jpg

I can still push the power button to logout blindly (and screen is restored after logout, because X seems to restart) or send "halt -p" (or pkill X) through SSH.

What did I tried to resolve this ?
  • disabled xfce's compositor
  • rebuilt : kernel+modules, emerge -v1 $(qlist -IC x11-drivers), emerge -v1 $(qlist -IC xfce-base)
  • added this to my /etc/X11/xorg.conf : Option "ModeValidation" "NoTotalSizeCheck"


Some informations about my setup :

Any ideas ? Thank you !

Sincerely,
Yuu

PS : sorry for my english
_________________
Main laptop : T8300 cpu | 200 GB hard drive | 2 GB of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 cpu | 250 GB hard drive | 2 GB of ram | SiS 662 VGA | Gentoo x86_64


Last edited by Yuu on Sun Aug 23, 2015 2:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Aug 09, 2015 10:19 pm    Post subject: Reply with quote

Just out of curiousity.

Does this resume issue also happens in lets say another desctop environment without such bloat, like i3wm?
Can you test this on a plain x-session please?

This looks like more like artefacts and I think its the nvidia-drivers fault, so I want to verify if its the desctop environment or the x-server + kernel + nivida-drivers.

Could be mesa too ...

I have a 9800m gts and I was not aware that the binary drivers works with 4.x.x kernel too.

I am also curious if you get this behaviour when you resume only from command line interface without x-server running ...
Back to top
View user's profile Send private message
Yuu
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 223
Location: France

PostPosted: Mon Aug 10, 2015 9:09 pm    Post subject: Reply with quote

Hello and thank you for your reply :) !

I've just emerged i3 and i3 status for testing purposes.. It's kind of new for me, but it feels nice.

Okay, so far, I tested :
  • without X ? Do you mean "on TTY1" ? I ran a "echo 'mem' > /sys/power/state" on TTY1 : no fuzzy screen (even xfce on tty7, no issues)
  • i3wm : ran two "echo 'mem' > /sys/power/state" and I have not had any screen corruptions after resume
  • plain x-session ? I don't know how to do this (sorry!)


So : I have to assume that it is XFCE related because I have no problems on i3wm ?

Also, I have to admit that nvidia-drivers doesn't compile well on 4.x.x : I used a small patch which can be found on the second post of this topic.
_________________
Main laptop : T8300 cpu | 200 GB hard drive | 2 GB of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 cpu | 250 GB hard drive | 2 GB of ram | SiS 662 VGA | Gentoo x86_64
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Aug 10, 2015 9:55 pm    Post subject: Reply with quote

I think i start the plain x session with startx only in cli, or xdm in cli. one of these ...

seems so an xfce4 issue ...
Back to top
View user's profile Send private message
Yuu
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 223
Location: France

PostPosted: Sun Aug 23, 2015 2:06 pm    Post subject: Reply with quote

Indeed, it was a XFCE issue : the culprit seems to be xfce-extra/xfce4-power-manager.

So, "/usr/sbin/xfce4-pm-helper" was launched when I closed my laptop : I disabled it with :
- running xfce4-settings-manager
- xfce power manager
- on general, "when laptop lid is closed", it was on "suspend" : I changed-it to "shutdown screen"

And to keep suspend when I close the laptop, I've changed my ACPI configuration to this :
Code:
<root@laptop:~>confcat /etc/acpi/default.sh
set $*
group=${1%%/*}
action=${1#*/}
device=$2
id=$3
value=$4
log_unhandled() {
   logger "ACPI event unhandled: $*"
}
case "$group" in
   button)
      case "$action" in
         power)
            /etc/acpi/actions/powerbtn.sh
            ;;
         lid)
            if [ "$id" == "close" ]; then
               echo "mem" > /sys/power/state
            fi
            ;;
         *)   log_unhandled $* ;;
      esac
      ;;
   ac_adapter)
      case "$value" in
         *)   log_unhandled $* ;;
      esac
      ;;
   *)   log_unhandled $* ;;
esac


It's kind of a workaround, but it works perfectly for me. Thank you tw04l124 for helping me :) !
_________________
Main laptop : T8300 cpu | 200 GB hard drive | 2 GB of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 cpu | 250 GB hard drive | 2 GB of ram | SiS 662 VGA | Gentoo x86_64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum