Screen Preferences error on Hardy Upgraded box

Asked by douglas_smith

I got the following error when attempting to access the Screen Resolution Preferences from the Gnome menu. The Screen Resolution control panel worked fine prior to upgrading from Gutsy to Hardy.

"The X Server does not support the XRandR extension. Runtime resolution changes to the display size are not available."

From a cursory search, it seems xrandr is obsolete. Correct me if I'm wrong on this, please.

so, I did
sudo apt-get remove xrandr
sudo apt-get autoremove
sudo apt-get clean
and restarted x

Issue still remains, same error message.
Am I going to have to modify the kernel for this? Seems silly.

The screen is fine as it is, I just don't like being locked out of the control panel...

Going to give some detail before it's asked for here:

bmf@dellbuntu:~$ uname -r
2.6.24-16-generic

bmf@dellbuntu:~$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04

bmf@dellbuntu:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP]
05:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
08:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:01.0 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
08:01.1 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)

Any ideas here?
Bug or Operator Error?
=)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello mate:

Googling around I found this example.

Section "Device"
        Identifier "ati0"
        Driver "ati"
        BusID "PCI:4:0:0"
        Screen 0
        Option "RandRRotation" "on"
        Option "RandR" "on"
        Option "DRI" "off"
EndSection

Section "Screen"
        Identifier "screen0"
        Device "ati0"
        Monitor "monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1680x1050"
        EndSubSection
        Option "Rotate" "left"
        Option "RandRRotation" "on"
        Option "RandR" "on"
EndSection

Perhaps it should be "on" for both Nvidia and ATI cards, and RandR instead of RandRRotation for ATI cards.

Or Try rebuilding the xorg.conf file:

sudo dpkg-reconfigure xserver-xorg

Then restart the machine.

Regards

Bhavani Shankar.

Revision history for this message
douglas_smith (hamsterzombie-deactivatedaccount) said :
#2

Hey Bhavi-
Thanks for the quick reply.

I went ahead and rebuilt the xorg.conf first
Here's what it looks like now.
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier "Configured Mouse"
 Driver "mouse"
 Option "CorePointer"
 Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
 Identifier "Synaptics Touchpad"
 Driver "synaptics"
 Option "SendCoreEvents" "true"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Option "UseFBDev" "true"
 Driver "fglrx"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
 Defaultdepth 24
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen "Default Screen"
 Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
 Load "glx"
EndSection

I've always hated modifying this by hand... Slackware never cured me of that. =)
Where did you locate the sample xorg.conf you posted? I'd like to take a closer peak before hosing my xorg.conf and having to put it back to where it was from TTY1.

Also, it appears xrandr is now pointless, here's how I figure:

bmf@dellbuntu:~$ sudo apt-get install xrandr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xrandr is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  x11-xserver-utils
E: Package xrandr has no installation candidate
bmf@dellbuntu:~$ sudo apt-get install x11-xserver-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
x11-xserver-utils is already the newest version.
x11-xserver-utils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

At the very least, the Screen Resolution error message needs to be rewritten. Going to check the bug reports and see if it's already reported.

Revision history for this message
douglas_smith (hamsterzombie-deactivatedaccount) said :
#3

Well, here's something interesting.

I upgraded to Hardy on 2 systems and on my desktop, which has an nVidia graphics card, the Screen Preferences control pops right up, no problem.
Correct me if I'm wrong here, but just looking at the xorg.conf file from the desktop (nVidia) and the laptop (ATI), it looks like I'm not really using the restricted ATI driver. Wierd, as it shows as enabled in Hardware Drivers and my cube is silky-smooth.

Here's the xorg.conf from my desktop with the nVidia card:

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"
EndSection

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

Section "InputDevice"
 Driver "wacom"
 Identifier "stylus"
 Option "Device" "/dev/input/wacom"
 Option "Type" "stylus"
 Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver "wacom"
 Identifier "eraser"
 Option "Device" "/dev/input/wacom"
 Option "Type" "eraser"
 Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver "wacom"
 Identifier "cursor"
 Option "Device" "/dev/input/wacom"
 Option "Type" "cursor"
 Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
 Identifier "nVidia Corporation G71 [GeForce 7300 GS]"
 Boardname "nv"
 Busid "PCI:1:0:0"
 Driver "nvidia"
 Screen 0
EndSection

Section "Monitor"
 Identifier "VA1930wm"
 Vendorname "Plug 'n' Play"
 Modelname "Plug 'n' Play"
  modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
 Gamma 1.0
EndSection

Section "Screen"
 Identifier "Default Screen"
 Device "nVidia Corporation G71 [GeForce 7300 GS]"
 Monitor "VA1930wm"
 Defaultdepth 24
 SubSection "Display"
  Depth 24
  Virtual 1600 1200
  Modes "1400x1050@75" "1600x1200@65" "1400x1050@60" "1600x1200@60" "1280x960@75" "1280x1024@60" "1280x960@60" "1280x1024@75" "1152x864@75" "1024x768@60" "1024x768@70" "1024x768@75" "832x624@75" "800x600@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
 EndSubSection
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
  screen 0 "Default Screen" 0 0
 Inputdevice "Generic Keyboard"
 Inputdevice "Configured Mouse"

 # Uncomment if you have a wacom tablet
 # InputDevice "stylus" "SendCoreEvents"
 # InputDevice "cursor" "SendCoreEvents"
 # InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Module"
 Load "glx"
 Load "v4l"
EndSection
Section "device" #
 Identifier "device1"
 Boardname "nv"
 Busid "PCI:1:0:0"
 Driver "nvidia"
 Screen 1
EndSection
Section "screen" #
 Identifier "screen1"
 Device "device1"
 Defaultdepth 24
 Monitor "monitor1"
 SubSection "Display"
  Depth 24
  Modes "1280x1024@75" "1280x960@60" "1152x864@75" "1280x1024@60" "1024x768@60" "1280x960@75" "1024x768@70" "1400x1050@60" "1024x768@75" "1400x1050@75" "832x624@75" "1600x1200@65" "800x600@60" "1600x1200@60" "800x600@75" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
 EndSubSection
EndSection
Section "monitor" #
 Identifier "monitor1"
 Vendorname "Plug 'n' Play"
 Modelname "Plug 'n' Play"
  modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
 Gamma 1.0
EndSection
Section "ServerFlags"
EndSection

The ATI-based system shows "Configured Video Device" under the Screen Scetion. I'm leaning toward editing that portion. What do you think?

Revision history for this message
Bhavani Shankar (bhavi) said :
#4

It was for a dual monitor basically

http://ubuntuforums.org/showthread.php?t=673965

(but your error "The X Server does not support the XRandR extension. Runtime resolution changes to the display size are not available" suggested that R and R should be on and now its confirmed by your xserver xorg file)

But if you are against it reconfigure your xserver using either of these commands:

sudo dpkg-reconfigure xserver-xorg

sudo dpkg-reconfigure -plow xserver-xorg

sudo dpkg-reconfigure -phigh xserver-xorg

Regards

Bhavani Shankar.

Revision history for this message
Bhavani Shankar (bhavi) said :
#5

That means your nvdia driver is identified properly

For ATI reconfigure your xserver by the commands I mentioned above

Regards

Revision history for this message
douglas_smith (hamsterzombie-deactivatedaccount) said :
#6

Looks like I'll be tinkering a bit today. I'll hand-edit the xorg.conf using your tips as a starting point.
If I get it working I'll post back with the fix for future googlers.

Thanks for getting me started.

Cheers

Revision history for this message
Bhavani Shankar (bhavi) said :
#7

Or the better method is to reconfigure your xserver using either of:

sudo dpkg-reconfigure xserver-xorg

sudo dpkg-reconfigure -plow xserver-xorg

sudo dpkg-reconfigure -phigh xserver-xorg

and then restarting the system)

(safer method I think)

always remember to backup your xorg while editing

Regards

Bhavani Shankar.

Revision history for this message
douglas_smith (hamsterzombie-deactivatedaccount) said :
#8

No luck with the commands.

But it did seem to fix the scrolling issue I had in firefox 3b.

Going to hand edit the xorg.conf and see if I can't blow something up today.
=)
Thanks, Bhavi

Revision history for this message
Erling (erlingwl) said :
#9

I have the same problem with ATI too:

Section "Device"
 Identifier "Configured Video Device"
 Option "UseFBDev" "true"
 Driver "fglrx"
EndSection

It seems that the xorg.conf is not configured correctly in 8.04 by using sudo dpkg-reconfigure -phigh xserver-xorg

I guess manual editing is what can solve the problem, but what should I edit it to? I have an ATI Mobility Radeon X1300 card..

Revision history for this message
Erling (erlingwl) said :
#10

Has anyone figured this out yet? I'm still struggling..

Can you help with this problem?

Provide an answer of your own, or ask douglas_smith for more information if necessary.

To post a message you must log in.