Gentoo Linux - Toshiba Satellite X200/X205 (part3)

The Frame Buffer/Nvidia/Xorg problem

To get the frame buffer support I compiled the relavent sections into the kernel and added “video=vesafb:mtrr:3,ywrap vga=865” to the kernel line in my grub.conf. The framebuffer works correctly and with these settings. It is then possible to load gdm and enter gnome without issue. The problem comes when trying to exit gnome. The screen flickers and goes black. There is no way to recover the system aside from hitting the power button.

Removing the framebuffer support from the kernel and recompiling it solves the problem of entering and exiting gnome but you miss out of the framebuffer support. Reading around it appears to be an issue with the nvidia-drivers. Currently there isn’t a version in Gentoo portage that fixes the issue. The only work around is disabling framebuffer support for the moment.

Development Xorg.conf - Still needs refinement

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice "Synaptics" "AlwaysCore"
    #   InputDevice "AlwaysCore"
EndSection

#Section "ServerLayout"
    # Option "AllowMouseOpenFail" "true"
#EndSection

Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib64/xorg/modules"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/OTF"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    ### Load "dri" # Nvidia Advise Removal
    ### Load "GLcore" # Nvidia Advise Removal
    Load "record"
    Load "dbe"
    Load "glx"
    Load "xtrap"
    Load "extmod"
    Load "freetype"
    Load "type1"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "Corekeyboard"
    Option "XkbRules" "xorg"
    Option "Xkbmodel" "pc105"
    Option "XkbLayout" "gb"
    Option "XkbOptions" "grp:toggle,grp_led:scroll"
    Option "XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier "Synaptics"
    Driver "synaptics"
    Option "Protocol" "event"
    Option "Device" "/dev/input/event1"
    Option "LeftEdge" "1900"
    Option "RightEdge" "5400"
    Option "TopEdge" "1900"
    Option "BottomEdge" "4000"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "VertScrollDelta" "100"
    Option "MinSpeed" "0.02"
    Option "MaxSpeed" "0.10"
    Option "AccelFactor" "0.0010"
    Option "SHMConfig" "on"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    HorizSync 28.0 - 96.0
    VertRefresh 50.0 - 75.0
EndSection

Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:1:0:0"
    Option "sw_cursor"
    #VideoRam 524288 ###Check Value###
    #To work with compiz, you must enable the AddARGBGLXVisuals option
    #If you are having resolution problems, try disabling DynamicTwinView
    EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth 1
        Modes "1680x1050"
    EndSubSection
        SubSection "Display"
        Viewport 0 0
        Depth 4
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 8
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 15
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 16
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 24
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 32
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

#Section "DRI"
# Mode 0666
#EndSection

Part 1 Part 2 Part 3 Part 4 Part 5 Part 6