[ydl-gen] YDL 6.2, -- addendum

Derick Centeno dcenteno at ydl.net
Sat Sep 19 08:17:24 MDT 2009


Hi Jason:

The xorg.conf file you are interested in is generated either
according to settings chosen within anaconda prior to YDL booting for
the first time or as YDL boots for the first time and allows one to
set up the user/root accounts as well as the monitor settings.  I
don't recall which. Of course, xorg.conf is also modified when you
change the monitor settings.

My xorg.conf follows here:

=========================================
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "OffTime" "10"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the
name of the # file minus the extension (like ".txt" or ".db").  There
is normally # no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated
together) # By default, Red Hat 6.0 and later now use a font server
independent of # the X server to render fonts.
	FontPath     "/usr/share/X11/fonts/misc:unscaled"
	FontPath     "/usr/share/X11/fonts/Type1/"
	FontPath     "/usr/share/X11/fonts/Speedo/"
	FontPath     "/usr/share/X11/fonts/75dpi:unscaled"
	FontPath     "/usr/share/X11/fonts/100dpi:unscaled"
	FontPath     "/usr/share/X11/fonts/korean:unscaled"
	FontPath     "/usr/share/X11/fonts/cyrillic:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-2/misc:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-2/75dpi:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-2/100dpi:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-9/misc:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-9/75dpi:unscaled"
	FontPath     "/usr/share/fonts/ISO8859-9/100dpi:unscaled"
	FontPath     "/usr/share/fonts/KOI8-R/misc:unscaled"
	FontPath     "/usr/share/fonts/KOI8-R/75dpi:unscaled"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "freetype"
	Load  "type1"
	#Load	"dri"
EndSection

Section "InputDevice"

# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

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

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1280x800"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    31.5 - 50.0
	VertRefresh  56.0 - 65.0
	Option	    "DPMS"
EndSection

Section "Device"

	#Option	"ShadowFB"	"true"
	#Option	"fbdev"	"/dev/fb0"
	#BusID	"0:0:0"
	Identifier  "Card0"
	Driver      "radeon"
	Option	    "UseFBDev" "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1280x854"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x854"
	EndSubSection
	SubSection "Display"
		Depth     24
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1280x854"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

=================================

By the way you are wrong regarding lspci within YDL.  Here's mine:

[aguila at arakus sbin]$ ./lspci
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10] 0001:10:0b.0 Host bridge: Apple Computer
Inc. UniNorth 2 PCI 0001:10:12.0 Network controller: Broadcom
Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
0001:10:13.0 CardBus bridge: Texas Instruments PCI1510 PC card
Cardbus Controller 0001:10:17.0 Class ff00: Apple Computer Inc.
KeyLargo/Intrepid Mac I/O 0001:10:19.0 USB Controller: Apple Computer
Inc. KeyLargo/Intrepid USB 0001:10:1a.0 USB Controller: Apple
Computer Inc. KeyLargo/Intrepid USB 0001:10:1b.0 USB Controller: NEC
Corporation USB (rev 43) 0001:10:1b.1 USB Controller: NEC Corporation
USB (rev 43) 0001:10:1b.2 USB Controller: NEC Corporation USB 2.0
(rev 04) 0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 2
Internal PCI 0002:24:0d.0 Class ff00: Apple Computer Inc.
UniNorth/Intrepid ATA/100 0002:24:0e.0 FireWire (IEEE 1394): Apple
Computer Inc. UniNorth 2 FireWire (rev 81) 0002:24:0f.0 Ethernet
controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80)
[aguila at arakus sbin]$ 

Here is my glxinfo:

[aguila at arakus ~]$ whereis glxinfo
glxinfo: /usr/bin/glxinfo
[aguila at arakus ~]$ cd /usr/bin
[aguila at arakus bin]$ ./glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting
LIBGL_DEBUG=verbose) 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,
GLX_MESA_copy_sub_buffer client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_allocate_memory, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_copy_sub_buffer, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_EXT_texture_from_pixmap OpenGL vendor string: Mesa project:
www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture,
GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_ATI_draw_buffers,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert,
GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_fragment_program,
GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_SGI_color_matrix,
GL_SGI_color_table, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

3 GLX Visuals
   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
----------------------------------------------------------------------
0x21 24 tc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x55 32 tc  1 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None

24 GLXFBConfigs:
   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
----------------------------------------------------------------------
0x56  0 tc  1 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x57  0 tc  1 24  0 r  y  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x58  0 tc  1 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x59  0 tc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x5a  0 tc  1 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x5b  0 tc  1 24  0 r  .  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x5c  0 tc  1 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x5d  0 tc  1 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x5e  0 dc  1 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x5f  0 dc  1 24  0 r  y  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x60  0 dc  1 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x61  0 dc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x62  0 dc  1 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x63  0 dc  1 24  0 r  .  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x64  0 dc  1 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x65  0 dc  1 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x66  0 tc  1 32  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x67  0 tc  1 32  0 r  y  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x68  0 tc  1 32  0 r  y  .  8  8  8  0  0 32  0  0  0  0  0  0 0 None
0x69  0 tc  1 32  0 r  y  .  8  8  8  0  0 32  8  0  0  0  0  0 0 None
0x6a  0 tc  1 32  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x6b  0 tc  1 32  0 r  .  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x6c  0 tc  1 32  0 r  .  .  8  8  8  0  0 32  0  0  0  0  0  0 0 None
0x6d  0 tc  1 32  0 r  .  .  8  8  8  0  0 32  8  0  0  0  0  0 0 None

[aguila at arakus bin]$ 

You mentioned missing drivers which implies that you may also be
missing various packages.  I thought pointing you to this link
which discusses yum, could be helpful to you:

http://www.yellowdog-board.com/viewtopic.php?t=3017

All the best...

On Fri, 18 Sep 2009 16:19:13 -0400
Jason Ritzke <jason.ritzke at gmail.com> wrote:

> Okay, so I moved from xfce back to gnome and switched out some
> unessential services (unessential for the ibook  I mean). However,
> I still can't get DRI or advanced synaptics features, and suspend
> is still glitchy. Also I'm getting a brief kernel error about an
> invalid rom option for the radeon setting in yaboot.conf.
> 
> I know that synaptics advanced features and dri work on this
> machine, as well as better suspend/restore. I've gotten all three
> working in debian and the latter two working in fedora 10. I think
> that having the right options set in my xorg.conf might help. Mr.
> Centino, if you aren't having these problems (ESPECIALLY the DRI
> issue) could you please e-mail me a copy of your xorg.conf so I
> could take a look at it and see what you've done differently. It
> doesn't seem like hal would be taking over there.
> 
> If anybody else can give me some config info and point me in the
> right direction, that'd be great. I've had this machine working
> well in other distros, and if we can pool together I'm sure we can
> get YDL level performance and the features we want.
> 
> The only things I can contribute is that I know the synaptics driver
> interfaces through a module called appletouch. I don't know why dri
> isn't working, but glxgears gives me awful slow speed and glxinfo
> gives me a dri not working message. I have NO idea what's wrong
> with the suspend/restore. I think the radeon error may simply have
> to do with a misnamed pci ID, but since YDL doesn't have lspci, I
> don't know what to grep it out of.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fixstars.com/pipermail/yellowdog-general/attachments/20090919/a68e9e72/attachment-0001.bin 


More information about the yellowdog-general mailing list