Solved Has anyone found a solution to segmentation fault?

Hi all of you,

Xorg -configure gives me a segmentation fault.

https://wiki.freebsd.org/Graphics says
Known issues
Xorg -configure crashes with a "Segmentation fault"; more information to come when the problem is analyzed.

I'm using FreeBSD 10.1-RC4, so there might be still something broken. The motherboard is an Asus M5A78L-M and it has an integrated Radeon HD 3000 GPU.
 

Attachments

Stop using Xorg -configure. It is rarely necessary, and generates poor config files anyway. Delete or rename any copies of xorg.conf and start X without them. Most of the time, it will auto-configure and run properly without them.
 
OK, but I've got a dual screen setup, so I think I need xorg.conf. I made it my self, but screens are mirrored and resolutions are wrong. Could someone check my xorg.conf with fresh eyes, if you can find something odd or wrong from there?

Code:
Section "ServerLayout"
   Identifier  "Simple Layout"
   Screen "Screen"
   InputDevice "Mouse0" "CorePointer"
   InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"     
   Option "AutoRepeat" "500 30"
   Option "XkbModel"   "pc105"
   Option "XkbLayout"  "fi"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option "Protocol"    "Auto"
   Option "Device"      "/dev/input/mice"
   Option "ZAxisMapping"    "4 5"
   Option "Emulate3Buttons"
EndSection

### DISPLAY ADAPTER ###

Section "Device"
   Identifier  "integrated0"
   Driver      "radeon"
   Option      "Monitor-VGA-0" "Acer AL1717"
   Option      "Monitor-LVDS"  "BENQ SE2241"
EndSection

### MONITOR SETUP ###

Section "Monitor"
   Identifier  "BENQ SE2241"
   HorizSync   31-81
   VertRefresh 59-76
   Option      "DPMS"
EndSection

Section "Monitor"
   Identifier  "Acer AL1717"
   HorizSync   30-81
   VertRefresh 55-76
   Option      "DPMS"
   Option      "RightOf" "BENQ SE2241"
EndSection

### SCREEN SETUP ###

Section "Screen"
   Identifier  "Screen"
   Device      "integrated0"
   DefaultDepth 24           
   Subsection "Display"
       Depth       24
       Modes       "3200x2104"
   EndSubsection
EndSection

$ xrandr
Code:
Can't open display
 
OK, I got it to work with Xinerama. Here's my xorg.conf:

Code:
Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"     
   Option "AutoRepeat" "500 30"
   Option "XkbModel"   "pc105"
   Option "XkbLayout"  "fi"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option "Protocol"    "Auto"
   Option "Device"      "/dev/input/mice"
   Option "ZAxisMapping"    "4 5"
   Option "Emulate3Buttons"
EndSection

### SCREEN SETUP ###

Section "Monitor"
        Identifier "BENQ0"
        Option  "DPMS"
EndSection
Section "Monitor"
        Identifier "ACER1"
        Option  "DPMS"
EndSection

Section "Device"
        Identifier      "ati0"
        Driver          "radeon"
        Screen          0
EndSection

Section "Device"
        Identifier      "ati1"
        Driver          "radeon"
        Screen          1
EndSection

Section "Screen"
        Identifier      "screen0"
        Device          "ati0"
        Monitor         "ACER1"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "screen1"
        Device          "ati1"
        Monitor         "BENQ0"
        DefaultDepth    24
        SubSection "Display"
                Depth   24
                Modes   "1920x1080"
        EndSubSection
EndSection

### END OF SCREEN SETUP ###

Section "ServerLayout"
        Identifier "Multihead"
        Screen  "screen0"
        Screen  "screen1" LeftOf "screen0"
        InputDevice     "mouse0" "CorePointer"
        InputDevice     "keyboard0" "CoreKeyboard"
        Option "Xinerama"
EndSection
 
Back
Top