Gnome 2.32.1 cannot detect monitor

Hello -

Running Gnome 2.32.1 on FBSD FreeBSD 8.2. Cannot seem to get the Gnome Monitors application to recognize my monitor. Additionally I cannot adjust the resolution higher than 1024x768. Ideally for a 20" LCD it should be 1600x1200. My model screen is a Planar PL2010M running on an ATI Radeon card.

I've tried configuring the resolution in the xorg.conf.new file but that does not seem to have any effect.

Any ideas?

Thank you for any assistance.
 
xorg.conf.new is for testing. For normal xorg use, it should be named xorg.conf. It should be put in /usr/local/etc/X11/, but some people insist on wrongly putting it in /etc/X11.

Now that's out of the way, please show your xorg.conf.
 
Thank you wblock!

Hmmm. In /usr/local/etc/X11 I only have these files:

Code:
$ cd /usr/local/etc/X11
$ ls
serverconfig    starthere       sysconfig
$ ls -al
total 10
drwxr-xr-x   5 root  wheel   512 Nov 14 03:24 .
drwxr-xr-x  37 root  wheel  1536 Nov 14 03:36 ..
drwxr-xr-x   2 root  wheel   512 Nov 14 03:24 serverconfig
drwxr-xr-x   2 root  wheel   512 Nov 14 03:24 starthere
drwxr-xr-x   2 root  wheel   512 Nov 14 03:24 sysconfig

In /etc/X11 I only have :

Code:
.
..

X is currently running. Windows manager portion of rc.conf:

Code:
gdm_enable="YES"
gnome_enable="YES"
hald_enable="YES"
dbus_enable="YES"
 
javajo91 said:
oops - just read that in the handbook. Appologies. i just copies xorg.conf.new to /usr/local/etc/X11

It also has to be renamed to xorg.conf.

Here's a suggestion based on what you posted. Some unnecessary cruft removed, although there's more that could go. The InputDevice sections aren't doing anything useful, for example.
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize      410   310     # mm
        Identifier   "Monitor0"
        VendorName   "PNR"
        ModelName    "PlanarPL2010M"
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV516 [Radeon X1300/X1550 Series]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Modes "1600x1200"
        EndSubSection
EndSection
 
wblock@ said:
It also has to be renamed to xorg.conf.

Here's a suggestion based on what you posted. Some unnecessary cruft removed, although there's more that could go. The InputDevice sections aren't doing anything useful, for example.
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize      410   310     # mm
        Identifier   "Monitor0"
        VendorName   "PNR"
        ModelName    "PlanarPL2010M"
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV516 [Radeon X1300/X1550 Series]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Modes "1600x1200"
        EndSubSection
EndSection

Thank you wblock.

Yep - I checked and I did rename to xorg.conf

So I may understand better when you say there are some sections of code that can be removed what are you using as a determining factor?
Also I'm assuming that I should enter the appropriate screen resolution I wish to use while in Gnome under the screen section of code.

Thank you again.
 
You're making things more complicated than they need to be. You need just a single Monitor section to your xorg.conf file and can let Xorg autodetect everything else. You can generated a Modeline for whatever resolution you want like so:

[cmd=""]cvt 1600 1200 60[/cmd]

Then you'd create an xorg.conf file that looks like this:

Code:
Section "Monitor"
     Identifier "DVI-0"
     Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
     Option "PreferredMode" "1600x1200_60.00"
EndSection

The Identifier should be whatever [cmd=""]xrandr[/cmd] reports as the output name. If the monitor is connected via a DVI port, it's probably DVI-0. If it's connected via a VGA port, it's probably VGA-0.
 
javajo91 said:
Thank you wblock.

Yep - I checked and I did rename to xorg.conf

So I may understand better when you say there are some sections of code that can be removed what are you using as a determining factor?

If you look through /var/log/Xorg.0.log, you'll see there are many defaults that don't need to be set again. There is also useless stuff from the dark ages, like multiple color depths. Multiple resolutions are in that category now, too.

HorizSync and VertRefresh are like that also, from back in the day when a monitor could not simply tell the video card what resolutions were supported. Setting those values is often worse, because few people actually check the specs for the monitor rather than just copying the first example they find on the net.

InputDevice sections are often not needed, depending on other factors. BusID in the Device section is often better left out so it can be autodetected.

This all leads to a much smaller and easier to maintain xorg.conf.

Also I'm assuming that I should enter the appropriate screen resolution I wish to use while in Gnome under the screen section of code.

If xorg.conf is correct, I'd hope it would already be in that resolution.
 
Thank you adamk -

I've made the above changes you recommended. Attached is the output of my xorg.conf file:

Code:
$ less /usr/local/etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "glx"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize      410   310     # mm
        Identifier   "DVI-0"
        Modeline "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
        Option "PreferredMode" "1600x1200_60.00"
        #VendorName   "PNR"
        #ModelName    "PlanarPL2010M"
        #HorizSync    24.0 - 80.0
        #VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DMAForXv"                  # [<bool>]
        #Option     "FBTexPercent"              # <i>
        #Option     "DepthBits"                 # <i>
        #Option     "PCIAPERSize"               # <i>
        #Option     "AccelDFS"                  # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "CustomEDID"                # [<str>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "ColorTiling"               # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "RageTheatreCrystal"        # <i>
        #Option     "RageTheatreTunerPort"      # <i>
        #Option     "RageTheatreCompositePort"  # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"                 # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"               # <i>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ClockGating"               # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "DRI"                       # [<bool>]
        #Option     "ConnectorTable"            # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"            # [<bool>]
        #Option     "TVDACLoadDetect"           # [<bool>]
        #Option     "ForceTVOut"                # [<bool>]
        #Option     "TVStandard"                # <str>
        #Option     "IgnoreLidStatus"           # [<bool>]
        #Option     "DefaultTVDACAdj"           # [<bool>]
        #Option     "Int10"                     # [<bool>]
        #Option     "EXAVSync"                  # [<bool>]
        #Option     "ATOMTVOut"                 # [<bool>]
        #Option     "R4xxATOM"                  # [<bool>]
        #Option     "ForceLowPowerMode"         # [<bool>]
        #Option     "DynamicPM"                 # [<bool>]
        #Option     "NewPLL"                    # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV516 [Radeon X1300/X1550 Series]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

(END)

Gnome screen resolution still seems to be stuck at 1024x768.

Any ideas?

Thank you again for your time.
 
Again, you probably just need the Monitor section and nothing else. We really need to see your /var/log/Xorg.0.log file to figure out why 1600x1200_60.00 isn't being used.
 
Sorry guys - trying my best to follow the rules here. My apologies again.
I tried running this before and i'm not getting anything that would appear usefull:

Code:
$ xrandr
Can't open display
Do I need to first prevent Xserver from starting automatically at boot?

Thanks again guys

Deleted monstrous post and rolled up into pastebin.
 
ok - ran xrandr as root
output:

Code:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024
DVI-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  
   512x384       120.0  
   400x300       120.6  
   320x240       120.1  
DVI-0 disconnected (normal left inverted right x axis y axis)
 
OK, as I said above, the Identifier in the Monitor section should be whatever xrandr reports as the output name. As you can see from your xrandr output, the name for the connected device is DVI-1. So make that change to the xorg.conf file and restart X.
 
YES! It works! When I log in as root in Gnome the resolution was automatically set at 1600x1200. When I logged in as a normal user I could change the resolution to 1600x1200. Nice!
My monitor still shows up as Unknown. Not a huge deal. I'm guessing I would need to install the ATI driver in order for this to get fixed.

Thanks adamk and wblock!!

I appreciate you both for taking the time to help!

Joe
 
Yeah, there is no official ATI driver. The open source one is really your only option (actually, you could use 'radeonhd' but it's not developed or supported any more). For some reason, the radeon driver is just having a hard time reading the EDID from your monitor to get a list of supported resolutions. Thankfully, it's easy enough to override.

Adam
 
Back
Top