jaunty problem with Samsung LCD, ATI Radeon HD graphics card and X.org xserver

Zachary Uram netrek at gmail.com
Sat Jul 25 05:02:12 UTC 2009


Having trouble getting my monitor (LCD) and video card working
correctly in Ubuntu Jaunty.

When I use the open source X.org driver it correctly detects my monitor as
a Samsung and I can quickly change display resolutions using
System->Preferences->Display however when I play a game using 2D
acceleration such as Nexuiz there is no hardware rendering apparent.

However when I use the proprietary fglrx driver the hardware acceleration
works great but it does not detect my monitor (when I go into Display)
and if I try to change resolutions it freezes, the window goes gray
and my X server
process jumps to 99% utilization! So I think there is some bug in the newer
version of the X server and the fglrx driver.

So I was wondering if you could help me manually setup my
/etc/X11/xorg.conf so it uses that and does *not* attempt dynamic
configuration which it is currently doing.

Here is various info, let me know if you need any more.
The 4 modes I want are 1920x1080, 1440x900, 1024x768, 800x600.

My Samsung monitor says it should run at refresh rate of 60Hz.

Monitor is Samsung LCD, model # 2243SWX
Here it is listed on the manufacturer's site:

http://www.samsung.com/us/consumer/detail/detail.do?group=computersperipherals&type=monitors&subtype=essential&model_cd=LS22MYZKFV/XAA

My graphics card is aRadeon HD 4550 (R700 series)

zu22 at hyperyoda:~$ dpkg -l|grep  fglrx
ii  fglrx-amdcccle                             2:8.600-0ubuntu2
                  Catalyst Control Center for the ATI graphics
ii  fglrx-kernel-source                        2:8.600-0ubuntu2
                  Kernel module source for the ATI graphics ac
ii  fglrx-modaliases                           2:8.600-0ubuntu2
                  Identifiers supported by the ATI graphics dr
ii  xorg-driver-fglrx                          2:8.600-0ubuntu2
                  Video driver for the ATI graphics accelerato

root at hyperyoda:~# cat /etc/X11/xorg.conf
# 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Monitor"
	Identifier	"Configured Monitor"
EndSection

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

Section "Module"
	Load	"glx"
	Disable	"dri2"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver	"fglrx"
EndSection


root at hyperyoda:~# lsb_release -idrc
Distributor ID:	Ubuntu
Description:	Ubuntu 9.04
Release:	9.04
Codename:	jaunty

root at hyperyoda:~# uname -a
Linux hyperyoda 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51
UTC 2009 i686 GNU/Linux

root at hyperyoda:~# get-edid | parse-edid
parse-edid: parse-edid version 1.4.1
get-edid: get-edid version 1.4.1

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
	Function supported
	Call successful

	VBE version 300
	VBE string at 0xc01d8 "ATI ATOMBIOS"

VBE/DDC service about to be called
	Report DDC capabilities

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
	Function supported
	Call successful

	Monitor and video card combination does not support DDC1 transfers
	Monitor and video card combination supports DDC2 transfers
	0 seconds per 128 byte EDID block transfer
	Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
	Read EDID

	Performing real mode VBE call
	Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
	Function supported
	Call successful

parse-edid: EDID checksum passed.

	# EDID version 1 revision 3
Section "Monitor"
	# Block type: 2:0 3:fd
	# Block type: 2:0 3:fc
	Identifier "SyncMaster"
	VendorName "SAM"
	ModelName "SyncMaster"
	# Block type: 2:0 3:fd
	HorizSync 30-75
	VertRefresh 56-61
	# Max dot clock (video bandwidth) 170 MHz
	# Block type: 2:0 3:fc
	# Block type: 2:0 3:ff
	# DPMS capabilities: Active off:yes  Suspend:no  Standby:no

	Mode 	"1920x1080"	# vfreq 60.000Hz, hfreq 67.500kHz
		DotClock	148.500000
		HTimings	1920 2008 2052 2200
		VTimings	1080 1084 1089 1125
		Flags	"+HSync" "+VSync"
	EndMode
	# Block type: 2:0 3:fd
	# Block type: 2:0 3:fc
	# Block type: 2:0 3:ff
EndSection

According to the Samsung website my monitor (model # 2243SWX) is *not*
a SyncMaster model.

root at hyperyoda:~# xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
DFP1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x89
	Timestamp:  16613
	Subpixel:   unknown
	Clones:
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter:
DFP5 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8a
	Timestamp:  16613
	Subpixel:   unknown
	Clones:
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter:
CRT1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8b
	Timestamp:  16613
	Subpixel:   unknown
	Clones:
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter:
CRT2 connected 1920x1080+0+0 (0x8d) normal (normal left inverted right
x axis y axis) 477mm x 268mm
	Identifier: 0x8c
	Timestamp:  16613
	Subpixel:   unknown
	Clones:
	CRTC:       0
	CRTCs:      0 1
	Panning:    0x0+0+0
	Tracking:   0x0+0+0
	Border:     0/0/0/0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter:
  1920x1080 (0x8d)  148.5MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz
  1600x1200 (0x8e)  162.0MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   75.0KHz
        v: height 1200 start 1201 end 1204 total 1250           clock   60.0Hz
  1680x1050 (0x8f)  146.2MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1059 total 1089           clock   60.0Hz
  1400x1050 (0x90)  121.8MHz -HSync +VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock   65.3KHz
        v: height 1050 start 1053 end 1057 total 1089           clock   60.0Hz
  1280x1024 (0x91)  108.0MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
  1440x900 (0x92)  106.5MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz
  1280x960 (0x93)  108.0MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
        v: height  960 start  961 end  964 total 1000           clock   60.0Hz
  1152x864 (0x94)   81.6MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1280x768 (0x95)   79.5MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock   47.8KHz
        v: height  768 start  771 end  778 total  798           clock   59.9Hz
  1280x720 (0x96)   74.5MHz -HSync +VSync
        h: width  1280 start 1336 end 1472 total 1664 skew    0 clock   44.8KHz
        v: height  720 start  721 end  724 total  746           clock   60.0Hz
  1024x768 (0x97)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x98)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x99)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  720x480 (0x9a)   26.7MHz -HSync +VSync
        h: width   720 start  736 end  808 total  896 skew    0 clock   29.8KHz
        v: height  480 start  481 end  484 total  497           clock   60.0Hz
  640x480 (0x9b)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  640x400 (0x9c)   24.9MHz +HSync +VSync
        h: width   640 start  664 end  760 total  792 skew    0 clock   31.5KHz
        v: height  400 start  460 end  462 total  525           clock   59.9Hz
  512x384 (0x9d)   19.8MHz +HSync +VSync
        h: width   512 start  544 end  624 total  664 skew    0 clock   29.8KHz
        v: height  384 start  451 end  453 total  497           clock   60.0Hz
  400x300 (0x9e)   22.3MHz +HSync +VSync DoubleScan
        h: width   400 start  416 end  480 total  496 skew    0 clock   45.0KHz
        v: height  300 start  601 end  605 total  742           clock   60.7Hz
  320x240 (0x9f)   12.6MHz +HSync +VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock   31.5KHz
        v: height  240 start  491 end  493 total  525           clock   60.0Hz
  320x200 (0xa0)   12.6MHz +HSync +VSync DoubleScan
        h: width   320 start  336 end  384 total  400 skew    0 clock   31.5KHz
        v: height  200 start  457 end  459 total  524           clock   60.1Hz


root at hyperyoda:~# lsmod|grep fglrx
fglrx                2081668  33
agpgart                42696  2 fglrx,ati_agp

root at hyperyoda:~# xresprobe fglrx
id: SyncMaster
res: 1920x1080 1680x1680 1600x1200 1440x1440 1280x1280 1280x1024
1280x960 1024x768 720x400 640x480
freq: 30-75 56-61
disptype:


>From 'lspci -vvv':
01:00.0 VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4550]
	Subsystem: Giga-byte Technology Device 21ae
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 4 bytes
	Interrupt: pin A routed to IRQ 2299
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at fdfe0000 (64-bit, non-prefetchable) [size=64K]
	Region 4: I/O ports at ee00 [size=256]
	[virtual] Expansion ROM at fdf00000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 128 bytes
		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0
<64ns, L1 <1us
			ClockPM- Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive-
BWMgmt- ABWMgmt-
	Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
		Address: 00000000fee0300c  Data: 4191
	Capabilities: [100] Vendor Specific Information <?>
	Kernel driver in use: fglrx_pci
	Kernel modules: fglrx

Here is the output of dmesg and my /var/log/Xorg.0.log:
http://www.jesujuva.org/dmesg.txt
http://www.jesujuva.org/Xorg.0.log

Zach




More information about the ubuntu-users mailing list