PDA

View Full Version : [ubuntu] Howto fix weird pink glow on compiz shadows


ArchLinuxFan
April 28th, 2008, 10:18 AM
So, after banging my head for weeks trying to fix the weird glowing pink & yellow borders / no shadow issue on Hardy and Nvidia 8xxx cards.. I came across a simple solution from a guy on the nvnews forum.

It involves removing a badly linked .so file from the Nvidia driver and re-symlinking it to the X server core instead. Go figure.. ?

Instructions :

- Open a terminal window.

- Type: sudo rm /usr/lib/xorg/modules/libwfb.so

- Then type: sudo ln -s /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so

- Restart X (either reboot or "Alt-Ctrl-Backspace")

Now you can enjoy Hardy in all its proper black drop-shadowy goodness. \\:D/

Let me know if this works for you - read original discovery thread (http://www.nvnews.net/vbulletin/showthread.php?t=109546&page=2)

FredB
April 28th, 2008, 10:27 AM
Thanks for the info. Even if I don't have a 8xxx GPU, it could be useful to know.

Islington
April 28th, 2008, 10:30 AM
nice! I saw this bug(?) pop up atleast twice on the forums.

ArchLinuxFan
April 28th, 2008, 10:54 AM
For those worried about using the rm command, you can also substitute this for the second step to make a backup :
type: sudo mv /usr/lib/xorg/modules/libwfb.so /usr/lib/xorg/modules/libwfb.so.bak

Alehbye
April 28th, 2008, 12:13 PM
I'm pretty new to Compiz as the system I just built was a Windows machine, but when I converted it this weekend and started using Compiz, I thought it was just part of it. Awesome that the pink isn't part of it.

**Update** This worked perfectly. I had to wait to get home from work to try it.

FredB
April 28th, 2008, 02:58 PM
I'm pretty new to Compiz as the system I just built was a Windows machine, but when I converted it this weekend and started using Compiz, I thought it was just part of it. Awesome that the pink isn't part of it.

Looks to be a Nvidia 8xxx GPU driver bug only.

emiln
April 28th, 2008, 03:04 PM
I had this issue(8800gts), and this solved it. Thanx alot!

alsamman
April 28th, 2008, 03:06 PM
It's an emerald problem because I noticed that it went away when I switched to GTK window decorator. All I did was go to emerald themes, Edit, frames/shadows, and make opacity 0.01 and it went away as soon as i did that. I havent gotten glow ever since.

StefAndrew
April 28th, 2008, 05:37 PM
Something I did made it want to boot into low graphics mode. So I'll have to try the command again I guess from recovery mode...

randomAccess
April 28th, 2008, 05:45 PM
And I thought this was some new 8.04 annoying desktop effect :lolflag::lolflag:

Polocoste
April 28th, 2008, 09:35 PM
Thanks!!! Worked for me

alexsabree
April 28th, 2008, 11:53 PM
Thanks a lot man, this was driving me nuts!!!

Thought they would fix this problem before they released 8.04 LTS, guess not. :KS

geoken
April 29th, 2008, 10:22 AM
Awesome, can't wait to try this when I get home.

I just wanted to note that I don't think the problem is related to emerald. I ran 8.04 for 2 days (clean install) before installing emerald and intermitently saw the infamous 'pink shadow'. I actually installed emerald to try and get rid of this.

Pixel
April 29th, 2008, 11:04 AM
Worked for me, great work!

marmiteOlz
April 29th, 2008, 12:44 PM
tried it and it works ( 8800gts 512mb)
however it might be coincidence but....
my firefox 2 and 3 beta 5 both grey out and freeze then resume what they were doing a few mins later
cpu usage normally sits on 50% when this happens( dual core so maybe 1 only freezing)

konqueror works fine

ill keep using firefox and see if its a constant problem or just a intermittent problem. ps. only happened after i did the pink shadows removal process as described in this thread

Boyohazard
April 29th, 2008, 02:16 PM
So, after banging my head for weeks trying to fix the weird glowing pink & yellow borders / no shadow issue on Hardy and Nvidia 8xxx cards.. I came across a simple solution from a guy on the nvnews forum.

It involves removing a badly linked .so file from the Nvidia driver and re-symlinking it to the X server core instead. Go figure.. ?
<snip>
Worked like a charm thank you!! :D

martvi
April 30th, 2008, 04:43 AM
Thanks a lot. Solved!

mivo
April 30th, 2008, 05:33 AM
Thank you. My previous 64-bit installation of 8.04 didn't have this problem, but the 32-bit install did, and I had briefly wondered if it was intended to be so. ;) Very much appreciate the fix (hopefully it won't break anything down the road).

FuturePilot
April 30th, 2008, 10:31 AM
....

KimH
May 1st, 2008, 02:28 AM
And I thought this was some new 8.04 annoying desktop effect :lolflag::lolflag:

Me too:lolflag:

Thanks for the fix. It looks a lot better now.

spinanicky
May 2nd, 2008, 11:45 AM
Yoooour The Mannnn :d

Schizoid
May 2nd, 2008, 05:39 PM
This fixed my pink dropshadow issue. But is there a link to an actual bug report or something. There should be a proper fix somewhere for this. other then have to remove libs and symlinking . Even though I'm glad this fixes the issue.

On a side note. I'm still not getting composite shading when a gnome-terminal bell is fired. Anyone else have this problem.

ie. hit tab a couple of times in gnome-terminal your terminal should pulse to gray .

my video card GeForce 8400 GS

WiFi Ed
May 2nd, 2008, 09:02 PM
Thanks for posting this fix, it's working fine for me (so far!).

Psy-Krow
May 3rd, 2008, 04:15 PM
awesome, thanx for the fix!!

psyeye
May 4th, 2008, 05:28 AM
This fixed my pink dropshadow issue. But is there a link to an actual bug report or something. There should be a proper fix somewhere for this. other then have to remove libs and symlinking . Even though I'm glad this fixes the issue.


Found on launchpad - you might want to watch progress there: https://bugs.launchpad.net/ubuntu/+source/compiz-plugins/+bug/216999

psyeye

webitech
May 4th, 2008, 08:17 AM
It involves removing a badly linked .so file from the Nvidia driver and re-symlinking it to the X server core instead.

If you are using the "Nvidia X server settings" utility, this fix will break it. Your shadows will look normal, but you won't be able to use anti-alias or any other useful features you graphic card is capable of.

FuturePilot
May 4th, 2008, 11:00 AM
Similar bug report
https://bugs.launchpad.net/bugs/186382

Boyohazard
May 5th, 2008, 07:42 AM
The last update caused a return of the pink shadows for me. FYI you can re-apply the fix in this thread to return things to "normal"

_godbout_
May 6th, 2008, 11:20 AM
I decided to look for a solution when I heard myself starting dating guys...
Now, everything is back to normal! :D

Amaranth
May 6th, 2008, 12:03 PM
We only include nvidia's libwfb because originally 8xxx cards needed it to work at all and it seems it is still needed for some cards and for nvidia-settings to work so this is not a proper fix.

lars-5
May 7th, 2008, 02:01 AM
so is there a bug fix coming out then?

edit: just read the bug report... looks like some people solved it by manually installing the driver from nvidia

mivo
May 7th, 2008, 03:37 AM
We only include nvidia's libwfb because originally 8xxx cards needed it to work at all and it seems it is still needed for some cards and for nvidia-settings to work so this is not a proper fix.

For many of us it is vastly better than no fix and having to wait until the next release to get rid of the pink and white shadows. :)

Separ
May 7th, 2008, 05:22 AM
It is probably easier to just go into emerald, change the theme to something else and back again. At least that does it for me.

CorruptNoob
May 7th, 2008, 07:46 AM
tried it and it works ( 8800gts 512mb)
however it might be coincidence but....
my firefox 2 and 3 beta 5 both grey out and freeze then resume what they were doing a few mins later
cpu usage normally sits on 50% when this happens( dual core so maybe 1 only freezing)

konqueror works fine

ill keep using firefox and see if its a constant problem or just a intermittent problem. ps. only happened after i did the pink shadows removal process as described in this thread


I just followed instructions in OP's post... and same thing is happening..

CorruptNoob
May 7th, 2008, 08:16 AM
I just followed instructions in OP's post... and same thing is happening..

Had to restore my previous settings, the fix made my CPU get drained no matter what I did.

Amaranth
May 7th, 2008, 02:24 PM
This is apparently fixed in the -17.36 version of the package and is currently building. It should be in hardy-proposed soon if it isn't already.

duddy
May 7th, 2008, 06:27 PM
Worked perfect for me and my EVGA 8800GT 512!

fede
May 8th, 2008, 10:24 PM
Thanks.

can8dnSix
May 9th, 2008, 12:48 AM
LoL, well that explains it. Used the 0.01 opacity stated above and that seems to have fixed this little issue. thanks.

Zelandeth
May 9th, 2008, 02:33 PM
Worked like a charm. Cheers.

spyder0080
May 10th, 2008, 12:44 PM
ArchLinuxFan, thanks a lot for your solution! it worked!

colascorp
May 14th, 2008, 04:39 AM
It works for me too. Many thanks!

durand
May 14th, 2008, 12:30 PM
Lol, thanks for that :D

No-Neck
May 17th, 2008, 06:26 AM
Great! I was starting to get annoyed with having to change theme 3 or 4 times every boot to get rid of the multicoloured glows. I noticed a couple of other threads about this that haven't been answered so I thought this could do with a slight bump.

Thank you!

rsaavedra
May 17th, 2008, 12:18 PM
Thanks a lot, worked great for me! I was surprissed when realizing how annoying that pink glow had become. Tried to changed it with settings and didn't find where, a search with Google brought me to this thread. Thanks again!

Scruffynerf
May 17th, 2008, 10:35 PM
Big thanks here as well.

Also, this has also fixed the problem that the Nvidia 169.xx drivers have when rapidly scrolling forums with interchanged post colours.

6800GT card, Metacity, Hardy Heron.

RedRat
May 18th, 2008, 03:17 PM
Thanks. I am running a Nvidia GT8600 on a Dell 530n, thought it was something new! The fix worked!

naraic
May 19th, 2008, 05:53 PM
Worked for my 8400m gs.
Thank you! :)

S_Mitch
May 19th, 2008, 08:41 PM
Wow, I love you. Thank you so much! That pink glow was driving me insane!

netron
May 20th, 2008, 05:26 PM
thanks for the tip - this worked flawlessly for me.

and there was me thinking that this "pink" thing was some sort of new compiz glow effect...

thanks!

multisimple
June 25th, 2008, 03:32 AM
So, after banging my head for weeks trying to fix the weird glowing pink & yellow borders / no shadow issue on Hardy and Nvidia 8xxx cards.. I came across a simple solution from a guy on the nvnews forum.

It involves removing a badly linked .so file from the Nvidia driver and re-symlinking it to the X server core instead. Go figure.. ?

Instructions :

- Open a terminal window.

- Type: sudo rm /usr/lib/xorg/modules/libwfb.so

- Then type: sudo ln -s /usr/lib/nvidia/libwfb.so.xserver-xorg-core /usr/lib/xorg/modules/libwfb.so

- Restart X (either reboot or "Alt-Ctrl-Backspace")

Now you can enjoy Hardy in all its proper black drop-shadowy goodness. \\:D/

Let me know if this works for you - read original discovery thread (http://www.nvnews.net/vbulletin/showthread.php?t=109546&page=2)

WARNING
This will destroy Xserver, and render your video display useless.
if you have already done so :(
start Ubuntu in recovery mode
Simply during boot press ESC for extra bootup options select recovery
after it boots select fix xserver, then the first option, normal boot up
once inside
download libwfb.so from
http://www.megaupload.com/?d=UIHNBLVI
save it some where
then open nautilus
sudo nautilus
navigate to libwfb.so copy and paste it to
/usr/lib/xorg/modules/

you may need to enable your video card inside System >> Administration >> Hardware Drivers or reinstall your video driver

Elycian
September 5th, 2008, 06:29 PM
@Multisimple

Totally saved me man, thanks :]