OH MY GOD I GOT IT!!!!

Problem though, I'm not really sure exactly what I did to make it start
working.  I tried all the above suggestions, and things still were not
working correctly.  

I finally tried one other thought I had, so I'm assuming this last
little thing I did, is what made it start working.

First, i reinstalled the NVIDIA drivers:
cd /usr/src/NVIDIA
./nvidia-installer
startx

made sure that glxgears was running as it should, and it was.  Just in
case, I went ahead and updated my xorg.conf file, to make sure the RGB
path was correct, as linux23dragon suggested.  So my xorg.conf file
(again, this is for the Dell i9300 laptop) looks like this:
-----------------------------------------------------------------------------------------------------------------------------------
# /etc/X11/xorg.conf

Section "Files"
        #FontPath       "unix/:7100"                    # local font
server
        RgbPath         "/usr/share/X11/"
        ModulePath      "/usr/lib/X11/modules/"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/TTF"
        #FontPath        "/usr/lib/X11/fonts/TrueType"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        #Load   "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "NVIDIA Corporation NV41 [GeForce Go 6800]"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Option          "NoLogo"                                "true"
        #Option         "FlatPanelProperties"   "aspect-scaled"
        Option          "CursorShadow"          "true"
        Option          "RenderAccel"                   "true"
        #Option         "AllowGLXWithComposite" "true"
EndSection

Section "Modes"
        Identifier "16:10"
        ModeLine "1280x800" 107.2 1280 1360 1496 1712 800 801 804 835
        ModeLine "1280x800" 123.4 1280 1368 1504 1728 800 801 804 840
        ModeLine "1280x800" 147.9 1280 1376 1512 1744 800 801 804 848
        ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054
1087
        ModeLine "1680x1050" 188.1 1680 1800 1984 2288 1050 1051 1054
1096
        ModeLine "1680x1050" 214.5 1680 1800 1984 2288 1050 1051 1054
1103
        ModeLine "1680x1050" 256.2 1680 1808 1992 2304 1050 1051 1054
1112
        ModeLine "1920x1200" 193.16 1920 2048 2256 2592 1200 1201 1204
1242
        -Hsync +Vsync
EndSection

Section "Monitor"
        Identifier      "DELL Panel WUXGA"
        Option          "DPMS"
        HorizSync   31.5 - 100.0
        VertRefresh 30.0 -  90.0
        DisplaySize     505 315
        UseModes        "16:10"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "NVIDIA Corporation NV41 [GeForce Go 6800]"
        Monitor         "DELL Panel WUXGA"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1920x1200"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

-----------------------------------------------------------------------------------------------------------------------------------



Second, I re-downloaded Mesa from CVS and installed it a little
differently.  It was the xgl-wiki that made me think about this:
cd /sources/Xorg
rm -rf Mesa
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/mesa co Mesa
cd Mesa
find . -type f -exec sed -i 's@/usr/X11R6@/[EMAIL PROTECTED]' {} \; && sed -i
'[EMAIL PROTECTED]/[EMAIL PROTECTED]/X11/modules@' src/glx/x11/dri_glx.c
make linux-indirect
mkdir /opt/Mesa-CVS
bin/installmesa /opt/Mesa-CVS



Third, I altered my startxgl script like so:
-----------------------------------------------------------------------------------------------------------------------------------
#!/bin/bash

## load Xgl server
Xgl -fullscreen -ac -accel glx:pbuffer -accel xv&

## load gnome-window decorator
DISPLAY=:0 gnome-window-decorator &

## load compiz
LD_LIBRARY_PATH=/opt/Mesa-CVS/lib DISPLAY=:0 compiz --replace decoration
wobbly fade switcher minimize cube rotate zoom scale move resize place &

## finally, start gnome
DISPLAY=:0 gnome-session &
-----------------------------------------------------------------------------------------------------------------------------------


Finally, fired everything up...and TADA!!!!  This desktop looks
absolutely AMAZING!!!!!!!  I'm gonna be playing around with settings all
weekend now  =)


Thanks to all that helped get this working.  I have another one of these
laptops @ work that I can try and duplicate my process on to see if it
works.  If it does, I'll write up a more formal HOWTO and submit it to
BLFS.

-Lup


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to