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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
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

Leave a Reply