LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiz issue in PCLinux OS 2011.6 (Full Monty) (https://www.linuxquestions.org/questions/linux-software-2/compiz-issue-in-pclinux-os-2011-6-full-monty-903655/)

SMukhuti 09-18-2011 05:45 AM

Compiz issue in PCLinux OS 2011.6 (Full Monty)
 
I installed PCLinux OS in my HP Pavillion Laptop. I tried Ubuntu and openSuSe before, but only this distribution made everything run out-of-the-box including the webcam, wireless, multimedia buttons. Even the current version of of proprietary Nvidia driver worked for the laptops GeForce Go 7200 graphics.

Apparently, PCLinuxOS Full Monty does not support compiz because it is incompatible with some of its setup. So I followed a work-around and was able to install compiz:

1) Executed the command:
Code:

/usr/bin/su -c 'rm -f /etc/apt/preferences'
2) In synaptic, reloaded repos, and then installed compiz,compiz-fusion and task-3ddesktop
3) Created a new user account.
4) Enabled 3d by login in to the new account
5) Rebooted the laptop.

But to my disappointment, I encountered a black screen with only the mouse pointer after the reboot. To get a working graphical screen, I disabled 3d effects by creating two files in the home directory

.compositing-wm
Code:

COMPOSITIN_WM_START=no

&
.compositing-server
Code:

COMPOSITIN_SERVER_START=no



Now, I have a working desktop, but without 3d effects.

Please help me in configuring compiz as I use XBMC which requires 3d. Am I missing any steps?

Some information:
Code:

# uname -r
2.6.38.3-pclos1.bfs

# nvidia-settings -v

nvidia-settings:  version 280.13  (root@thenudiebar)  Mon Aug 22 05:09:45 CDT 2011
  The NVIDIA X Server Settings tool.

  This program is used to configure the NVIDIA Linux graphics driver.
  For more detail, please see the nvidia-settings(1) man page.

  Copyright (C) 2004 - 2010 NVIDIA Corporation.
# lspci -v | grep -A 13 "VGA"
05:00.0 VGA compatible controller: nVidia Corporation G72M [GeForce Go 7200] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 30b7
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at c7000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at c6000000 (64-bit, non-prefetchable) [size=16M]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nvidia-current, nouveau



I am using KDE 4.6.5



Wayne Sallee 09-22-2011 02:02 PM

I had similar issues with this new computer. In fact I had to figure out how to force compiz to start because mandriva would refuse to turn it on.

Next time, don't buy an HP laptop.

Do you have dual graphics on that laptop? (one is integrated in the CPU, and the other is on-board graphics)

Wayne Sallee
Wayne@WayneSallee.com

Wayne Sallee 09-22-2011 02:09 PM

Here are some commands I used to get things working as well as some video settings:

LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp &

LIBGL_ALWAYS_INDIRECT=1 compiz-fusion --replace ccp & gtk-window-decorator --replace &


Edit: never-mind the above two commands unless you are trying to force compiz to start. But what you do need to do is to update your video drivers, and if you have more than one GPU, make sure to update both to the most recent version; check the manufacture web sites.

Before trying such commands read this:
http://wiki.compiz.org/Troubleshooting

Wayne Sallee
Wayne@WayneSallee.com

SMukhuti 09-28-2011 02:30 PM

Installed Linux Mint 11 and now everything runs fine including nvidia, composition, camera, bluetooth, wireless, etc. But getting black screen with XBMC. Will post detailed issue in a separate thread.

Nylex 10-01-2011 12:36 PM

Wayne, please could you change the colour of your yellow text, which is very difficult to read (especially on the grey background).

Wayne Sallee 10-01-2011 04:54 PM

Quote:

Originally Posted by Nylex (Post 4487362)
Wayne, please could you change the colour of your yellow text, which is very difficult to read (especially on the grey background).


I changed it's color when I went back to do the edit, since that code did not apply to the question. So instead of deleting it, I sort of grayed it out.

But here it is in regular text:
Code:

LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp &

LIBGL_ALWAYS_INDIRECT=1 compiz-fusion --replace ccp & gtk-window-decorator --replace &

This code is used to force compiz to start. It is not used to get rid of the black screen. The black screen is a video problem. Also one way to get rid of the black screen is to stop compiz from starting. That's what I had do do to stop my white screen with mouse arrow from happening until I could get the video driver issue resolved, then when I tried to get compiz to start again I could not until I found the above code and used it.


Wayne Sallee
Wayne@WayneSallee.com


All times are GMT -5. The time now is 08:49 PM.