X and its xorg.conf

I need to resolve a confusion about the Xorg setup.

On my openSUSE 11.2 (fglrx ATI driver) my xorg.conf file in the /etc/X11/ directory seems to be out of action on this new suse version isn’t it? In fact mine xorg file is so poor. It doesn’t have the necessary values to start the X.

Now if I take a look at the xorg.0.log under /var/log/ you will find there a line that says: "Using config file: “/etc/X11/xorg.conf” (isn’t it weird???).

And what about that xorg.conf file in /var/lib/sax ??? Why are there 2 xorg.conf files and which one should I use/config ???

Thanks in advance

By default in 11.2 there is no xorg.conf (unless you run sax2)

Are you trying to fix a graphics issue?

Actually my video is working just fine, including 3d acceleration but my question is just to know how does this Xorg settings work.

But now I can say that the only not good thing is that I can’t make changes on sax2. Whenever I try to change a resolution (for example) it shows up an error saying: "X configuration: Data incomplete in file /var/lib/sax/xorg.conf Undefined Screen “aticonfig-Screen[0]-0” referenced by ServerLayout “Layout[all]”.
And what I know is that this xorg file is manipulated by sax2 no matter what changes you do on it before starting sax2.

In this way, how can I change my screen resolution? Why isn’t sax2 working well?

You can still run sax2 and if you do it will generate a xorg.conf

But in most cases the automatic configuration in 11.2 will get it right - And as far as I know, this configuration takes place at each reboot (But I could be wrong about that).

Fortunately everything on all my systems and other installs so far, have just worked. So I haven’t delved in to the workings yet:)

Let me add that I am also confused by the settings, and I am having one small problem. My screen reverts to 1024 x 768 with every reboot. I’ve used both the system settings display tool and sax2 to change my display resolution to 1920 x 1200 and it will stay that way until a reboot and then I have to start over again. (I apologize for piggybacking on this thread, but I tend to agree that neither xorg.conf or sax2 seem to be predictable anymore.)

Understood but in case you want to change something how or where should you do that? Where should you change your resolution for example?

@harold01
Are you doing the sax2 from level3

I would do this once logged in and switched to su

mv /etc/X11/xorg.conf xorg.bak

That will backup your current xorg.conf (assuming you actually have one)

Then run

sax2 -r

Not too sure - I never do.

I guess in the system settings - display!?

If ever I connect a different monitor to my box, it just auto detects it and changes to suit.

Hey, here we have another issue.
I tried to access to the display settings but awfully kde close it and shows me an error. This definitely is telling me that something is not running well on my X.


Application: Preferencias del sistema (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6  0xb70a7f18 in QGraphicsScene::addItem(QGraphicsItem*) () from /usr/lib/libQtGui.so.4
#7  0xb34134e6 in ?? () from /usr/lib/kde4/kcm_randr.so
#8  0xb33fe53b in ?? () from /usr/lib/kde4/kcm_randr.so
#9  0xb757878f in KCModule::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5
#10 0xb33fdf33 in ?? () from /usr/lib/kde4/kcm_randr.so
#11 0xb658304a in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#12 0xb6584796 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#13 0xb6ad1230 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb6a7a8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6a8229e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb74b9451 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0xb657432e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb6574fdc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0xb657519c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#20 0xb65a04dd in ?? () from /usr/lib/libQtCore.so.4
#21 0xb59fe4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb5a01d98 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb5a01ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb65a0011 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb6b1c29a in ?? () from /usr/lib/libQtGui.so.4
#26 0xb657298d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb6572dd9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb6575270 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0xb6a7a774 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#30 0x0805320e in _start ()

Lets have a gander at your repo’s

zypper lr -d

Result: (had to translate some titles :stuck_out_tongue: )
(“si” means “yes” btw)

#  | Alias                               | Name                                        | Activated | Update | Priority | Type     | URI                                                                                  | Service                                                 
---+-------------------------------------+-----------------------------------------------+----------+------------+-----------+----------+--------------------------------------------------------------------------------------+---------                                                 
1  | ATI_Drivers                         | ATI Drivers                                   | Si       | No         |  100      | rpm-md   | http://www2.ati.com/suse/11.2/                                                       |                                                          
2  | KDE4_Stable                         | KDE4 Stable                                   | Si       | No         |   99      | rpm-md   | [Index of /repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.2/)  |                                                          
3  | Mis_Paquetes                        | Mis Paquetes                                  | Si       | No         |  120      | plaindir | dir:///home/hernan_/Paquetes                                                         |                                                          
4  | OpenSUSE_11.2_-_Community_KDE_4.3   | OpenSUSE 11.2 - Community KDE 4.3             | No       | No         |   99      | rpm-md   | [Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE_43](http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE_43/) |                                                          
5  | OpenSUSE_11.2_-_KDE_4.3             | OpenSUSE 11.2 - KDE 4.3                       | No       | No         |   99      | rpm-md   | [Index of /repositories/KDE:/43/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/43/openSUSE_11.2/)                     |                                                          
6  | OpenSUSE_11.2_-_Wine                | OpenSUSE 11.2 - Wine                          | Si       | No         |   99      | rpm-md   | [Index of /repositories/Emulators:/Wine/openSUSE_11.2](http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2)              |                                                          
7  | OpenSUSE_Guide                      | OpenSUSE Guide                                | Si       | No         |  100      | rpm-md   | http://www.opensuse-guide.org/repo/11.2                                              |                                                          
8  | Virtualization_OpenSUSE_11.2        | Virtualization OpenSUSE 11.2                  | Si       | No         |   99      | rpm-md   | [Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.2](http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.2)   |                                                          
9  | XOrg_X11_OpenSUSE                   | XOrg X11 OpenSUSE                             | Si       | No         |   99      | rpm-md   | [Index of /repositories/X11:/XOrg/openSUSE_11.2](http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.2)                    |                                                          
10 | download.opensuse.org-Community     | BuildService de openSUSE - KDE:KDE4:Community | Si       | No         |   99      | rpm-md   | [Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/KDE4:/Community/openSUSE_11.2/)        |                                                          
11 | download.opensuse.org-STABLE        | BuildService de openSUSE - OpenOffice.org     | Si       | No         |   99      | rpm-md   | [Index of /repositories/OpenOffice.org:/STABLE/openSUSE_11.2](http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.2/)      |                                                          
12 | download.opensuse.org-mozilla       | BuildService de openSUSE - Mozilla            | Si       | No         |   99      | rpm-md   | [Index of /repositories/mozilla/openSUSE_11.2](http://download.opensuse.org/repositories/mozilla/openSUSE_11.2/)                     |                                                          
13 | download.videolan.org-SuSE          | VideoLan Repository                           | Si       | No         |  110      | rpm-md   | [Index of /pub/videolan/vlc/SuSE/11.2/](http://download.videolan.org/pub/videolan/vlc/SuSE/11.2/)                             |
14 | ftp.skynet.be-suse                  | Packman Repository                            | Si       | No         |   99      | rpm-md   | [Index of /pub/packman/suse/11.2](http://ftp.skynet.be/pub/packman/suse/11.2/)                                          |
15 | http-download.opensuse.org-00d95535 | Network Utilities OpenSUSE 11.2               | Si       | No         |   99      | rpm-md   | [Index of /repositories/network:/utilities/openSUSE_11.2](http://download.opensuse.org/repositories/network%3a/utilities/openSUSE_11.2)         |
16 | http-download.opensuse.org-c1957a8e | Actualizaciones para openSUSE 11.2-0          | Si       | No         |   99      | rpm-md   | [Index of /update/11.2](http://download.opensuse.org/update/11.2/)                                            |
17 | openSUSE 11.2-0                     | openSUSE 11.2-0                               | No       | No         |  130      | yast2    | cd:///                                                                               |
18 | repo-debug                          | openSUSE-11.2-Debug                           | No       | No         |   99      | NONE     | [Index of /debug/distribution/11.2/repo/oss](http://download.opensuse.org/debug/distribution/11.2/repo/oss/)                       |
19 | repo-non-oss                        | openSUSE-11.2-Non-Oss                         | Si       | No         |  120      | yast2    | [Index of /distribution/11.2/repo/non-oss](http://download.opensuse.org/distribution/11.2/repo/non-oss/)                         |
20 | repo-oss                            | openSUSE-11.2-Oss                             | Si       | No         |  120      | yast2    | [Index of /distribution/11.2/repo/oss](http://download.opensuse.org/distribution/11.2/repo/oss/)                             |
21 | repo-source                         | openSUSE-11.2-Source                          | No       | No         |   99      | NONE     | [Index of /source/distribution/11.2/repo/oss](http://download.opensuse.org/source/distribution/11.2/repo/oss/)                      |

Why do you have refresh OFF on most of your repos?

You have too many, but why are they set that way?

You should switch refresh on in most cases (Not VLC). Repos should be set to 99 priority in 11.2 (some choose to set packman lower eg;90)

Do you know why you have the xorg repo?

Once you get your repos right, you should update

Actually caf it’s just because of my slow home’s connection… so I prefer to update them manually when I need to install and/or update some packages.
Some are there because of a KDE update (4.3.1 to 4.3.4) and about the Xorg one I’m not very sure… do you recommend me to take it off? Of course I would take a look for dependencies first.

Well the xorg might get added if you installed compiz, but kde does not need compiz and in fact no compiz packages are installed in kde by default because kwin has it’s own effects very similar to compiz.

if your internet is slow/limited - any of my recommendations would be like a nuclear pill. You might be best leaving well alone and just examine your xorg.conf issue without messing the repos.

It might have been better if you had never added them all and just stuck with the minimal
oss, non-oss, update, packman

Thanks caf. I’m jsut using Kwin as I know that currently is better than ever :wink:

I’ll try to remove or at least disable those additional repositories I added to make this more clean.

By the way, I have removed my xorg.conf file and restart the system to create a new one through aticonfig. Now I’m sure that openSUSE 11.2 every time machine start it set all it needs up.
I only have to run the aticonfig command to set the fglrx driver.

Thanks a lot and for any news I’ll let you know :wink:

Merry Xmas and happy new year!

happy to be of some help;)

Thank you for the tip. Yes, I am familiar with runlevel 3 and ran through the procedure again as you described just to make sure. Unfortunately, it did not change my situation.

Let me add that when I log in as root, the system uses the correct display settings. It only reverts to 1024 x 768 when I log in as a regular user. Incidentally, I am using KDE, if that makes a difference.

Could the answer be here
ATI/Troubleshooting - openSUSE

OK–thanks again. I ran LIBGL_DEBUG=verbose glxinfo and did not get an error that looked like undefined symbol: __glXFindDRIScreen

Just to make sure I didn’t miss something, here is the return I did get:

name of display: :0.0                         
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/lib64/dri/updates/r600_dri.so
libGL error: dlopen /usr/lib64/dri/updates/r600_dri.so failed (/usr/lib64/dri/updates/r600_dri.so: cannot open shared object file: No such file or directory)                                                                                                                                       
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so                                                                                              
drmOpenDevice: node name is /dev/dri/card0                                                                                                        
drmOpenDevice: open result is 4, (OK)                                                                                                             
drmOpenByBusid: Searching for BusID pci:0000:01:00.0                                                                                              
drmOpenDevice: node name is /dev/dri/card0                                                                                                        
drmOpenDevice: open result is 4, (OK)                                                                                                             
drmOpenByBusid: drmOpenMinor returns 4                                                                                                            
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0                                                                                              
libGL: Can't open configuration file /home/harold/.drirc: No such file or directory.                                                              
display: :0  screen: 0                                                                                                                            
direct rendering: Yes                                                                                                                             
server glx vendor string: SGI                                                                                                                     
server glx version string: 1.2                                                                                                                    
server glx extensions:                                                                                                                            
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,                                                                     
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,                                                                         
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,                                                                         
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group                                                                         
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 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_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,                                                                        
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,                                                                          
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group                                                                         
OpenGL vendor string: Advanced Micro Devices, Inc.                                                                                                
OpenGL renderer string: Mesa DRI R600 (RV770 9442) 20090101  TCL                                                                                  
OpenGL version string: 1.4 Mesa 7.6                                                                                                               
OpenGL extensions:                                                                                                                                
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,                                                                           
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,                                                                                      
    GL_ARB_point_parameters, 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_MESAX_texture_float,                                                                                              
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,                                                                                     
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,                                                                                         
    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_compiled_vertex_array, GL_EXT_convolution,                                                                      
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,                                                                            
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,                                                                    
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,                                                                                            
    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_stencil_two_side, 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_filter_anisotropic, 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_blend_equation_separate, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_ATI_separate_stencil,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_NV_vertex_program, GL_OES_read_format,
    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_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x7b 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x7c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x7d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x7e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x7f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x72 32 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon