List Info

Thread: need help: Compiz + nvidia GeForce 6150




need help: Compiz + nvidia GeForce 6150
country flaguser name
United States
2008-05-02 11:04:16

Hello,
I've been hitting my head against the wall on this one for a
while.  I'm 
having trouble getting compiz to work on my system.
In FreeBSD 6.x I had beryl/emerald running and it worked
FAST... cube 
switching, wobbly windows, etc.


compiz --sm-disable --indirect-rendering --replace ccp
make the windows redraw REAL slow, unusable.

compiz --sm-disable --replace ccp
Without indirect-rendereing, the Desktop goes black, and
newly launched 
windows are all black:


Here is my system info:

# Driver
nvidia-driver-169.12 NVidia graphics card binary drivers for
hardware OpenGL

# Dmesg info
nvidia0: <GeForce 6150> mem 
0xfc000000-0xfcffffff,0xd0000000-0xdfffffff,0xfb000000-0xfbf
fffff irq 16 
at device 5.0 on pci0
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

# OS version
FreeBSD 7.0-STABLE

# xorg.conf
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
ection "Monitor"
    Identifier     "Monitor0"
    VendorName     "Samsung"
    ModelName      "SyncMaster 204BW"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "RenderAccel" "True"
    Option         "XANoOffscreenPixmaps"
    Option         "DamageEvents"
"True"
    Option         "DisableGLXRootClipping"
"True"
    Option         "AddARGBGLXVisuals"
"True"
    Option         "NoRenderExtension"
"False"
    Option         "AllowGLXWithComposite"
"True"
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection





Please help me get compiz working!  If I can't get this
working, I'm 
considering buying a card for my PCIe 16x slot.  What have
people used 
to get compiz working?

Rudy

_______________________________________________
freebsd-x11freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to
"freebsd-x11-unsubscribefreebsd.org"

FIXED: Compiz + nvidia GeForce 6150
country flaguser name
United States
2008-05-02 11:26:43
 > compiz --sm-disable --replace ccp
 > Without indirect-rendereing, the Desktop goes black,
and newly 
launched windows are all black:


DOH!

I rebooted and upped the Frame Buffer from 32M to 256M in
the BIOS menu. 



Also, I added UseEvents=false.  Which fixed it?  I'll never
know!
Here is the diff on the Xorg.log files

# diff -u /var/log/Xorg.0.log.old /var/log/Xorg.0.log
--- /var/log/Xorg.0.log.old    2008-05-02 09:15:16.000000000
-0700
+++ /var/log/Xorg.0.log    2008-05-02 09:19:10.000000000
-0700
 -409,6
+409,7 
 (**) NVIDIA(0): Option "RenderAccel"
"True"
 (**) NVIDIA(0): Option "NoRenderExtension"
"False"
 (**) NVIDIA(0): Option "AllowGLXWithComposite"
"True"
+(**) NVIDIA(0): Option "UseEvents"
"false"
 (**) NVIDIA(0): Option "AddARGBGLXVisuals"
"True"
 (**) NVIDIA(0): Option "DisableGLXRootClipping"
"True"
 (**) NVIDIA(0): Option "DamageEvents"
"True"
 -416,7
+417,7 
 (II) NVIDIA(0): Support for GLX with the Damage and
Composite X 
extensions is
 (II) NVIDIA(0):     enabled.
 (II) NVIDIA(0): NVIDIA GPU GeForce 6150 (C51) at PCI:0:5:0
(GPU-0)
-(--) NVIDIA(0): Memory: 262144 kBytes
+(--) NVIDIA(0): Memory: 524288 kBytes
 (--) NVIDIA(0): VideoBIOS: 05.51.22.33.07
 (--) NVIDIA(0): Interlaced video modes are supported on
this GPU
 (--) NVIDIA(0): Connected display device(s) on GeForce 6150
at PCI:0:5:0:

Odd that I set it from 32M to 256M and the Xorg.log file
show 256M --> 
512M.  What is up with that?

Rudy

>
_______________________________________________
freebsd-x11freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to
"freebsd-x11-unsubscribefreebsd.org"

Re: FIXED: Compiz + nvidia GeForce 6150
country flaguser name
United Kingdom
2008-05-02 11:34:34
On Fri, 2008-05-02 at 09:26 -0700, Rudy wrote:
> > compiz --sm-disable --replace ccp
>  > Without indirect-rendereing, the Desktop goes
black, and newly 
> launched windows are all black:
> 
> 
> DOH!
> 
> I rebooted and upped the Frame Buffer from 32M to 256M
in the BIOS menu. 
> 
> 
> 
> Also, I added UseEvents=false.  Which fixed it?  I'll
never know!
> Here is the diff on the Xorg.log files
> 
> # diff -u /var/log/Xorg.0.log.old /var/log/Xorg.0.log
> --- /var/log/Xorg.0.log.old    2008-05-02
09:15:16.000000000 -0700
> +++ /var/log/Xorg.0.log    2008-05-02
09:19:10.000000000 -0700
>  -409,6 +409,7 
>  (**) NVIDIA(0): Option "RenderAccel"
"True"
>  (**) NVIDIA(0): Option "NoRenderExtension"
"False"
>  (**) NVIDIA(0): Option
"AllowGLXWithComposite" "True"
> +(**) NVIDIA(0): Option "UseEvents"
"false"
>  (**) NVIDIA(0): Option "AddARGBGLXVisuals"
"True"
>  (**) NVIDIA(0): Option
"DisableGLXRootClipping" "True"
>  (**) NVIDIA(0): Option "DamageEvents"
"True"
>  -416,7 +417,7 
>  (II) NVIDIA(0): Support for GLX with the Damage and
Composite X 
> extensions is
>  (II) NVIDIA(0):     enabled.
>  (II) NVIDIA(0): NVIDIA GPU GeForce 6150 (C51) at
PCI:0:5:0 (GPU-0)
> -(--) NVIDIA(0): Memory: 262144 kBytes
> +(--) NVIDIA(0): Memory: 524288 kBytes
>  (--) NVIDIA(0): VideoBIOS: 05.51.22.33.07
>  (--) NVIDIA(0): Interlaced video modes are supported
on this GPU
>  (--) NVIDIA(0): Connected display device(s) on GeForce
6150 at PCI:0:5:0:
> 
> Odd that I set it from 32M to 256M and the Xorg.log
file show 256M --> 
> 512M.  What is up with that?
> 
> Rudy
> 

You probably changed AGP aperture size. I expect there is an
algorithm
in the nvidia driver which calculates the 'correct' amount
of VideoRam
to steal from shared memory when attaching to a shared
memory graphics
card like the 6150. It is probably max(256MB, 2 *
agp_aperture_size). I
could be dead wrong..

The intel driver manages shared memory in a similar way.

Tom
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )