[opensuse-factory] X.Org 7 for Factory

Hi We currently are switching to X.Org 7 for Factory. This might result in package build failures. Some hints for packagers to adjust their packages: Changes in X.Org 7 (important for packagers) -------------------------------------------- - X.Org libs: /usr/X11R6/%_lib --> /usr/%_lib * sometimes you need to add '--x-libraries=/usr/%{_lib}' configure option (if available); background: use "-L $AC_PATH_X" with care - if prefix is /usr, $AC_PATH_X is empty. - X.Org executables: /usr/X11R6/bin --> /usr/bin * adjust %files section accordingly when required, e.g. when package uses imake - if autobuild expansion errors for libX11, etc. arises: * either add an additional line '#!BuildIgnore: NX' or package 'xorg-x11-devel' to Buildrequires; Update: probably this problem will be resolved inside of autobuild - X.Org manual path: /usr/X11R6/man --> %_mandir * adjust %files section accordingly - Xserver SDK package: xorg-x11-sdk --> xorg-x11-server-sdk * adjust your BuildRequires - X.Org pixmaps: /usr/X11R6/include/X11/pixmaps/ --> /usr/include/X11/pixmaps/ * adjust %files section accordingly - X.Org Xserver modules: /usr/X11R6/%{_lib}/modules --> /usr/%{_lib}/xorg/modules * adjust %files section accordingly - Mesa DRI drivers: /usr/X11R6/%{_lib}/modules/dri --> /usr/%{_lib}/dri * adjust %files section accordingly - XKeysymDB: /usr/X11R6/lib/X11/XKeysmDB --> /usr/share/X11/XKeysymDB * make sure $XKEYSYMDB is *not* set to /usr/X11R6/lib/X11/XKeysmDB, but /usr/share/X11/XKeysymDB instead - nls/ directory: /usr/X11R6/lib/X11/nls --> /usr/share/X11/nls * only interesting for legacy apps - X.Org fonts: /usr/X11R6/lib/X11/fonts --> /usr/share/fonts * move fonts of other font packages as well? /usr/X11R6/lib/X11/fonts will still be allowed ... - Xserver include files: /usr/X11R6/lib/Server/include --> /usr/include/xorg * adjust configure options or Imakefiles/Makefiles - xkb files: /etc/X11/xkb --> /usr/share/X11/xkb - termcap files: /usr/X11R6/lib/X11/etc --> /usr/lib/X11/etc - /usr/lib/X11 is no longer a symlink to /usr/X11R6/lib/X11, but a real directory! - /usr/X11R6/lib/X11/app-defaults --> /usr/share/X11/app-defaults * /usr/X11R6/lib/X11/app-defaults is still read, but should we disallow the use of /usr/X11R6/lib/X11/app-defaults nevertheless in autobuild? Package changes: ---------------- xorg-x11 --> xorg-x11 +xorg-x11-fonts +xorg-x11-fonts-devel xorg-x11-Xnest +xorg-x11-Xprt +xorg-x11-Xvfb --> xorg-x11-server xorg-x11-Xvnc (not yet available - on my TODO list) xorg-x11-devel --> xorg-x11-devel +xorg-x11-lib<foo>-devel +xorg-x11-proto-devel +xorg-x11-util-devel +xorg-x11-xtrans-devel xorg-x11-doc --> xorg-x11-doc xorg-x11-driver-options (obsolete) xorg-x11-driver-video +xorg-x11-driver-video-nvidia --> xorg-x11-driver-video xorg-x11-fonts-100dpi +xorg-x11-fonts-75dpi +xorg-x11-fonts-cyrillic +xorg-x11-fonts-scalable +xorg-x11-fonts-syriac --> xorg-x11-fonts xorg-x11-libs --> xorg-x11-libs +xorg-x11-lib<foo> xorg-x11-man --> xorg-x11-devel +xorg-x11-lib<foo>-devel xorg-x11-sdk --> xorg-x11-server-sdk xorg-x11-server +xorg-x11-server-glx --> xorg-x11-server +xorg-x11-driver-input +xorg-x11-driver-video In most cases for building X11 apps it should be enough to add 'xorg-x11-devel' to BuildRequires (as before). If you need Xvfb add also 'xorg-x11-server'. And if you're building external input/video drivers add 'xorg-x11-server-sdk'. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

Yesterday I have updated my box to Xorg 7, and got some problems to start kde, many of them resolved with the instructions from Stefan. One of the problems was with sax2 that configures the font path as /usr/lib/X11/fonts, when I have moved the fonts from /usr/X11R6/lib/X11/fonts to /usr/share/fonts. I resolved this problem with a symlink. The other problem related to the fonts is in kde, because any qt application loads any text (such as konsole). Only the gtk applications loads partially the fonts to show the text and menus. Thanks 2006/8/1, Stefan Dirsch <sndirsch@suse.de>:
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

Please, can You tell me the link of those repos? Thanks 2006/8/6, Ryan Lewon <blutkind@gmail.com>:
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On Sun, Aug 06, 2006 at 05:32:40PM -0300, Juan Erbes wrote:
Yesterday I have updated my box to Xorg 7, and got some problems to start kde, many of them resolved with the instructions from Stefan.
Hmm ... this should not happen. How did you update to X.Org 7? Which packages did you install from which repository? I recommend to simply install all packages of SUSE 10.1: http://software.opensuse.org/download/xorg7/Java_Sun-Java-1.5_SUSE_Linux_10.... Factory: http://software.opensuse.org/download/xorg7/SUSE_Factory/
One of the problems was with sax2 that configures the font path as /usr/lib/X11/fonts,
sax2/Factory already uses /usr/share/fonts, sax2/10.1 still uses /usr/X11R6/lib/X11/fonts. BTW, reconfiguration with sax2 should not have been required, since xorg.conf is already patched in %post of xorg-x11-server package to use the new font path.
I cannot recommend to do so. Did you run SuSEconfig (--module fonts) after the packages update?
Sounds like a completely messed up font setup. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

2006/8/7, Stefan Dirsch <sndirsch@suse.de>:
I made the update via smart upgrade. I recommend to simply
Yes, I runned it.
/usr/share/fonts is the right font path for all the fonts? How detects kde the right font path, and how can configure it, when I do'nt see any text in the Control Panel? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On Mon, Aug 07, 2006 at 10:06:06AM -0300, Juan Erbes wrote:
Well, this answers only my first question. :-(
Good!
KDE uses client side font rendering via fontconfig/freetype and /usr/share/fonts as well as /usr/X11R6/lib/X11/fonts is in /etc/fonts/fonts.conf since quite some time. So it doesn't matter, which font paths are configured in /etc/X11/xorg.conf. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On 8/7/06, Stefan Dirsch <sndirsch@suse.de> wrote:
Hi, Stefan, I can reproduce this problem with missing fonts in KDE and blinking fonts in Gnome when nvidia driver is enabled, after switching to nv-driver back problem is gone. I installed driver with --x-module-path=/usr/lib/xorg/modules/, as otherways didnt driver work at all. Using SLED 10 on x86. Ain --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On Mon, Aug 07, 2006 at 09:34:12PM +0300, Ain Vagula wrote:
Oops, we're talking about a driver issue! This is known problem of the NVIDIA driver with X.Org > 7.1 (Bug #197090). BTW, I've documented a workaround in my HOWTO http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html --> openSUSE 10.2-IA32 (>= Alpha3) --> openSUSE 10.2-AMD64 (>= Alpha3) Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On 8/7/06, Stefan Dirsch <sndirsch@suse.de> wrote:
Thanks, it works pretty good. Of course I did read at first only 'my' section of howto, it means about SLED10 :) Ain --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

2006/8/7, Stefan Dirsch <sndirsch@suse.de>:
Thanks, the problems are resolved. Best Regards, Juan --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

2006/8/7, Stefan Dirsch <sndirsch@suse.de>:
I have 2 problems with Xorg, is that kdm fails. I must use startx in console. The logs are: kdm.log: Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 5 23:36:23 2006 (==) Using config file: "/etc/X11/xorg.conf" (EE) NVIDIA(0): Given color depth (1) is not supported (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found The other problem, is with the Nvidia driver, installed witht --x-module-path=/usr/lib/xorg/modules/ and in the xorg.conf in driver section Option "RenderAccel" "no", I can't see any text in any qt application. With the nv driver I have'nt this problem. The last problem was with the smart upgrade tool, it would to downgrade all the Xorg packages. I mean that I need to add the new repo for the Xorg packages. Thanks

On Thu, Aug 10, 2006 at 09:36:46AM -0300, Juan Erbes wrote:
I need the complete log- and configfile to investigate this issue.
I can't reproduce this. This option fixes the issue for me. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------

Yesterday I have updated my box to Xorg 7, and got some problems to start kde, many of them resolved with the instructions from Stefan. One of the problems was with sax2 that configures the font path as /usr/lib/X11/fonts, when I have moved the fonts from /usr/X11R6/lib/X11/fonts to /usr/share/fonts. I resolved this problem with a symlink. The other problem related to the fonts is in kde, because any qt application loads any text (such as konsole). Only the gtk applications loads partially the fonts to show the text and menus. Thanks 2006/8/1, Stefan Dirsch <sndirsch@suse.de>:
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

Please, can You tell me the link of those repos? Thanks 2006/8/6, Ryan Lewon <blutkind@gmail.com>:
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On Sun, Aug 06, 2006 at 05:32:40PM -0300, Juan Erbes wrote:
Yesterday I have updated my box to Xorg 7, and got some problems to start kde, many of them resolved with the instructions from Stefan.
Hmm ... this should not happen. How did you update to X.Org 7? Which packages did you install from which repository? I recommend to simply install all packages of SUSE 10.1: http://software.opensuse.org/download/xorg7/Java_Sun-Java-1.5_SUSE_Linux_10.... Factory: http://software.opensuse.org/download/xorg7/SUSE_Factory/
One of the problems was with sax2 that configures the font path as /usr/lib/X11/fonts,
sax2/Factory already uses /usr/share/fonts, sax2/10.1 still uses /usr/X11R6/lib/X11/fonts. BTW, reconfiguration with sax2 should not have been required, since xorg.conf is already patched in %post of xorg-x11-server package to use the new font path.
I cannot recommend to do so. Did you run SuSEconfig (--module fonts) after the packages update?
Sounds like a completely messed up font setup. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

2006/8/7, Stefan Dirsch <sndirsch@suse.de>:
I made the update via smart upgrade. I recommend to simply
Yes, I runned it.
/usr/share/fonts is the right font path for all the fonts? How detects kde the right font path, and how can configure it, when I do'nt see any text in the Control Panel? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org

On Mon, Aug 07, 2006 at 10:06:06AM -0300, Juan Erbes wrote:
Well, this answers only my first question. :-(
Good!
KDE uses client side font rendering via fontconfig/freetype and /usr/share/fonts as well as /usr/X11R6/lib/X11/fonts is in /etc/fonts/fonts.conf since quite some time. So it doesn't matter, which font paths are configured in /etc/X11/xorg.conf. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory-help@opensuse.org
participants (4)
-
Ain Vagula
-
Juan Erbes
-
Ryan Lewon
-
Stefan Dirsch