[ltp] Z61p/Z61m experiences needed

Ilias Stergiou linux-thinkpad@linux-thinkpad.org
Mon, 22 Jan 2007 23:24:39 +0200


This is a multi-part message in MIME format.
--------------090004040404040202030402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Johannes Boy wrote:
>> The proprietary driver downloaded from ati works OK. It identifies the
>> chipset without any extra configuration.
>> On my latest installation I
> I was talking about the radeon aka open source module, since you asked
> about the Xorg fglrx driver.
OK, I will give another try with the open source driver to test 
suspendand hibernate.


>> fglrx_gears tool and it works great with Xgl/Beryl/Gnome (the aticonfig
>> tool fails at Xgl, stopping me add an external monitor/projector).
> even got XView working!!! I get 500-700 frames per second on the
> o_O
> How? My xorg logfile always tells me no DRI with those fancy extensions.
> But wait, I use compiz, shipped with fedora. I guess theres a difference?
OK. I am running Xgl/beryl/Gnome, and all seems to be running fine The 
following  is reported:

ilias@mobtux:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY FireGL V5250 Pentium 4 (SSE2) 
(FireGL) (GNU_ICD)
OpenGL version string: 2.0.6234 (8.32.5)

ilias@mobtux:~$ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Xgl Generic Texture Video"
    number of ports: 32
    port base: 48
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x2c
      depth 24, visualID 0x2d
      depth 32, visualID 0x2e
      depth 32, visualID 0x2f
    no port attributes defined
    maximum XvImage size: 2048 x 2048
    Number of image formats: 3
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x0
        guid: 03000000-0000-0010-8000-00aa00389b71
        bits per pixel: 32
        number of planes: 1
        type: RGB (packed)
        depth: 24
        red, green, blue masks: 0xff0000, 0xff00, 0xff

(also MPlayer does not crash..!!!)

ilias@mobtux:~$ glxinfo
name of display: :1.0
Xlib:  extension "XFree86-DRI" missing on display ":1.0".
display: :1  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY FireGL V5250 Pentium 4 (SSE2) 
(FireGL) (GNU_ICD)
OpenGL version string: 1.2 (2.0.6234 (8.32.5))
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  1 0 None
0x2e 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 Ncon
0x2f 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  1 0 Ncon

(direct rendering reports "no" since I am running Xgl. If I am at Xorg 
it reports yes. That is reported to be normal).

my xorg.conf file is attached.

I can run the above commands at Xorg/Metacity/Gnome if you wish.

>
>> > That was a while ago, though. Like 2 or 3 fgrlx driver versions back,
>> > maybe it works now?
>> > Remember to include
>> >     ProcSetting extra_pages_allowance 20000
>> > into the suspend2 config files and then just play around with the vbe
>> > tool... I guess.
>> I will try that, although the vbetool fails often (not well tested for
>> 64 bits?)
> I though the VBEtool just saves the video card's bios or buffer stuff
> to disk and then dumps it back into the card after resumeing a session
> (needed because some essential videcard setup steps are skipped on
> resume). Which would be independed of 32bit or 64bit. Or maybe I'm
> mixing things up?
> I can't remember exactly how the vbetool is included into the suspend
> script, but I think there are 2 ways to do this:
> 1) save the buffer/bios stuff on every suspend cycle
> 2) save the buffer/bios stuff once, then recycle this data on every 
> resume
> Maybe play around using those 2 methods.

AFAIK, vbetool also notifies the monitor to go to sleep mode. When I say 
it is crashing I mean I get logs like this:

Jan 22 22:44:12 mobtux kernel: [   52.992634] vbetool[3920]: segfault at 
000000000000342f rip 00000000004246a4 rsp 00007fffbddc4240 error 4

This means to me that it has not been well tested and I understand that 
the 64bit version is not as popular as the 32 bit version.

Ilias



--------------090004040404040202030402
Content-Type: text/plain;
 name="xorg.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="xorg.conf"


# /etc/X11/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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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
# added by ilias

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	InputDevice    "Synaptics Touchpad"
EndSection

Section "Files"

	# FontPath used
	# path to defoma fonts
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
	FontPath     "/usr/share/X11/fonts/misc"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"

	# /usr/lib/xorg/modules/fonts/libbitmap.so
	# no need to load this since xorg 7.0
	# Load  "GLcore"
	# /usr/lib/xorg/modules/libi2c.so
	# /usr/lib/xorg/modules/extensions/libglx.so
	Load  "bitmap"
	# /usr/lib/xorg/modules/fonts/libfreetype.so
	Load  "freetype"
	# /usr/lib/xorg/modules/libint10.so
	Load  "type1"
	# /usr/lib/xorg/modules/extensions/libGLcore.so
	Load  "i2c"
	# /usr/lib/xorg/modules/libddc.so
	Load  "ddc"
	# /usr/lib/xorg/modules/extensions/libdri.so
	Load  "dri"
	# Load  "extmod"
	SubSection "extmod"
		Option	    "omit XVideo"
		Option	    "omit XVideo-MotionCompensation"
		Option	    "omit XFree86-VidModeExtension"
		# loading SHAPE MIT-SUNDRY-NONSTANDARD BIG-REQUESTS SYNC MIT-SCREEN-SAVER XC-MISC XFree86-Misc XFree86-DGAX DPMS TOG-CUP Extended-Visual-Information X-Resource
	EndSubSection
	Load  "glx"
	# /usr/lib/xorg/modules/libint10.so
	Load  "int10"
	# /usr/lib/xorg/modules/libvbe.so
	Load  "vbe"
	Load  "dbe" # testing
EndSection

Section "ServerFlags"

        # not supported by ATI proprietary driver
	Option	    "AIGLX" "off"
EndSection

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

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

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

Section "Monitor"
	Identifier   "Generic Monitor"
	Option	    "DPMS"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "ATI Technologies, Inc. ATI Default Card"
	Driver      "vesa"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "UseInternalAGPGART" "no"
	Option	    "UseFastTLS" "1"
	Option	    "EnableMonitor" "lvds,crt1"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device     "ATI Technologies, Inc. ATI Default Card"
	Monitor    "Generic Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     1
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1400x1050" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "XVideo" "True"
	#Option	    "Composite" "Disable"
	Option	    "Composite" "False"
EndSection


--------------090004040404040202030402--