Sunday 19 of October 2008 01:31:46 Bartosz Świątek napisał(a):
> > I think i found 8.10 - xserver 1.5 compatible version ;>
> > In ubuntu repo.
> > But what version now ? 8.10.1 ?
> 
> Yep. Better than 8.10.

Ok w zalaczeniu latki do testow - te zrodla maja taka sama wersje jak oficjalne 
ale wyszly 
10go a nie 3go X 2008 od ATI wg komunikatow  w dmesg.
linki:
http://starowa.one.pl/~uzi/pld/xorg-driver-video-fglrx-smp.patch.diff
http://starowa.one.pl/~uzi/pld/xorg-driver-video-fglrx.spec.diff

Na razie nie wrzucam do CVS chyba ze ewentualnie na DEVEL

Zapraszam do testow. 

Co ja zauwazylem/ z czym mialem problem : 
0.  Widac nie jest to do konca zgodna wersja z Xserver 1.5 - traktowac jako 
beta :

(==) Using config file: "/etc/X11/xorg.conf"
(WW) module ABI major version (2) doesn't match the server's version (4)

1. Xserver nie potrafi zaladowac biblioteki :

(==) Using config file: "/etc/X11/xorg.conf"
(WW) module ABI major version (2) doesn't match the server's version (4)
(WW) fglrx: No matching Device section for instance (BusID PCI:[EMAIL 
PROTECTED]:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:[EMAIL 
PROTECTED]:0:1) found
(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed 
(/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file or 
directory)
(EE) AIGLX: reverting to software rendering

$ cat /etc/env.d/LIBGL_DRIVERS_PATH
LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri
$ ls -l /usr/lib/xorg/modules/dri
razem 17208
-rwxr-xr-x 1 root root 17618048 paź 19 18:14 fglrx_dri.so

jak zwykle pomaga symlink 
$ ls -l /usr/lib/dri
lrwxrwxrwx 1 root root 25 paź 19 18:58 /usr/lib/dri -> /usr/lib/xorg/modules/dri

2. X nie wstaja u mnie bez niespakietowanych:
/usr/lib/xorg/modules/extensions/libdri.so
/usr/lib/xorg/modules/extensions/libglx.so 
Pliki te koliduja z pakietami xserver-a

Po prostu podmienilem.

3. kwin juz nie wstaje gdy nie ma cursorow!
wiec doinstalowalem jakies (xcursor-theme-redglass) i zrobilem symlinka :
ls -l /usr/share/icons/default
lrwxrwxrwx 1 root root 8 paź 19 19:10 /usr/share/icons/default -> redglass

4. czesc programow sie wywala z "BadName (named color or font does not exist)"

pomaga wywalenie xorg-app-xfs oraz zakomentowanie wszystkich fontow w xorg.conf

Widac ze lepiej chyba poczekac na nastepny release od ATI.
Jesli da sie ktores z powyzszych problemow obejsc ladniej to prosze o info.

_________________
Pozdrawiam
Bartłomiej Zimoń
Index: xorg-driver-video-fglrx.spec
===================================================================
RCS file: /cvsroot/SPECS/xorg-driver-video-fglrx.spec,v
retrieving revision 1.112
diff -u -r1.112 xorg-driver-video-fglrx.spec
--- xorg-driver-video-fglrx.spec	18 Oct 2008 04:29:50 -0000	1.112
+++ xorg-driver-video-fglrx.spec	19 Oct 2008 17:20:29 -0000
@@ -7,7 +7,7 @@
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_with	multigl		# package libGL in a way allowing concurrent install with nvidia/fglrx drivers
 
-%define		x11ver		x710
+%define		x11ver		x740
 
 %if !%{with kernel}
 %undefine with_dist_kernel
@@ -30,14 +30,15 @@
 Summary:	Linux Drivers for ATI graphics accelerators
 Summary(pl.UTF-8):	Sterowniki do akceleratorów graficznych ATI
 Name:		%{pname}%{_alt_kernel}
-Version:	8.10
+Version:	8.10.1
 %define		_rel	1
 Release:	%{_rel}%{?with_multigl:.mgl}
 Epoch:		1
 License:	ATI Binary (parts are GPL)
 Group:		X11
-Source0:	http://dlmdownloads.ati.com/drivers/linux/ati-driver-installer-8-10-x86.x86_64.run
-# Source0-md5:	4eed6f50089856a4c600a200914d5a55
+#Source0:	http://dlmdownloads.ati.com/drivers/linux/ati-driver-installer-8-10-x86.x86_64.run
+Source0:	http://archive.ubuntu.com/ubuntu/pool/multiverse/f/fglrx-installer/fglrx-installer_8.543.orig.tar.gz
+# Source0-md5:	6abc8e86f1a00168ba8f43d58f71cb69
 Source1:	%{pname}.desktop
 Patch0:		%{pname}-kh.patch
 Patch1:		%{pname}-smp.patch
@@ -137,9 +138,10 @@
 %prep
 %setup -q -c -T
 
-sh %{SOURCE0} --extract .
+tar -zxf %{SOURCE0}
 
-cp arch/%{arch_dir}/lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod
+install -d common/lib/modules/fglrx/build_mod
+cp -rf lib/modules/fglrx/build_mod/* common/lib/modules/fglrx/build_mod
 
 cd common
 %if %{with dist_kernel}
@@ -149,10 +151,22 @@
 cd -
 
 install -d common%{_prefix}/{%{_lib},bin,sbin}
+install -d common%{_sysconfdir}/ati
+install -d common%{_datadir}/{ati,icons,doc/fglrx}
+install -d common%{_includedir}
 cp -r %{x11ver}%{arch_sufix}/usr/X11R6/%{_lib}/* common%{_libdir}
-cp -r arch/%{arch_dir}/usr/X11R6/%{_lib}/* common%{_libdir}
+cp -r arch/%{arch_dir}/lib/* common/lib
 cp -r arch/%{arch_dir}/usr/X11R6/bin/* common%{_bindir}
+cp -r arch/%{arch_dir}/usr/X11R6/%{_lib}/* common%{_libdir}
 cp -r arch/%{arch_dir}/usr/sbin/* common%{_sbindir}
+cp -r etc/* common%{_sysconfdir}
+cp -r usr/X11R6/bin/* common%{_bindir}
+cp -r usr/sbin/* common%{_sbindir}
+cp -r usr/share/ati/* common%{_datadir}/ati
+cp -r usr/share/doc/* common%{_datadir}/doc
+cp -r usr/share/icons/* common%{_datadir}/icons
+cp -r usr/include/* common%{_includedir}
+cp -r usr/X11R6/include/* common%{_includedir}
 
 %build
 %if %{with kernel}
@@ -204,7 +218,7 @@
 %endif
 
 install common%{_includedir}/GL/*.h $RPM_BUILD_ROOT%{_includedir}/GL
-install common/usr/X11R6/include/X11/extensions/*.h $RPM_BUILD_ROOT%{_includedir}/X11/extensions
+install common/usr/include/X11/extensions/*.h $RPM_BUILD_ROOT%{_includedir}/X11/extensions
 echo "LIBGL_DRIVERS_PATH=%{_libdir}/xorg/modules/dri" > $RPM_BUILD_ROOT%{_sysconfdir}/env.d/LIBGL_DRIVERS_PATH
 
 cd $RPM_BUILD_ROOT%{_libdir}
@@ -232,7 +246,7 @@
 %if %{with userspace}
 %files
 %defattr(644,root,root,755)
-%doc ATI_LICENSE.TXT common%{_docdir}/fglrx/*.html common%{_docdir}/fglrx/articles common%{_docdir}/fglrx/user-manual
+%doc common%{_docdir}/fglrx/ATI_LICENSE.TXT common%{_docdir}/fglrx/*.html common%{_docdir}/fglrx/articles common%{_docdir}/fglrx/user-manual
 %dir %{_sysconfdir}/ati
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/control
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ati/signature
@@ -285,6 +299,7 @@
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/fglrx_dri.so
 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/fglrx_drv.so
 #%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libdri.so
+#%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libglx.so
 %attr(755,root,root) %{_libdir}/xorg/modules/linux/libfglrxdrm.so
 %attr(755,root,root) %{_libdir}/xorg/modules/amdxmm.so
 %attr(755,root,root) %{_libdir}/xorg/modules/glesx.so
Index: ../SOURCES/xorg-driver-video-fglrx-smp.patch
===================================================================
RCS file: /cvsroot/SOURCES/xorg-driver-video-fglrx-smp.patch,v
retrieving revision 1.1
diff -u -r1.1 xorg-driver-video-fglrx-smp.patch
--- ../SOURCES/xorg-driver-video-fglrx-smp.patch	26 Jun 2008 20:05:42 -0000	1.1
+++ ../SOURCES/xorg-driver-video-fglrx-smp.patch	19 Oct 2008 17:21:49 -0000
@@ -1,6 +1,6 @@
---- lib/modules/fglrx/build_mod/firegl_public.c.orig	2008-06-16 23:50:47.000000000 +0200
-+++ lib/modules/fglrx/build_mod/firegl_public.c	2008-06-26 20:55:00.000000000 +0200
-@@ -259,7 +259,7 @@
+--- lib/modules/fglrx/build_mod/firegl_public.c.orig	2008-10-19 12:16:58.000000000 +0200
++++ lib/modules/fglrx/build_mod/firegl_public.c	2008-10-19 16:51:33.000000000 +0200
+@@ -251,7 +251,7 @@
  const char BUILD_KERNEL_HAS_MODVERSIONS_CLEARED;
  #endif
  
@@ -9,16 +9,7 @@
  const unsigned long __ke_SMP_State = 1;
  const char BUILD_KERNEL_HAS_SMP_SET;
  #else
-@@ -2592,7 +2592,7 @@
- {
- /*Some kernel developer removed the export of symbol "flush_tlb_page" on 2.6.25 x86_64 SMP kernel.
-   Define a simple version here.*/
--#if defined(__x86_64__) && defined(__SMP__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
-+#if defined(__x86_64__) && defined(CONFIG_SMP) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)) 
-     on_each_cpu(KCL_flush_tlb_one, &va, 1, 1);
- #else
-     flush_tlb_page(vma, va);
-@@ -2949,7 +2949,7 @@
+@@ -2728,7 +2728,7 @@
  
  /*****************************************************************************/
  
@@ -27,21 +18,25 @@
  static atomic_t cpus_waiting;
  
  static void deferred_flush(void* contextp)
-@@ -2965,11 +2965,11 @@
+@@ -2744,7 +2744,7 @@
  	while (atomic_read(&cpus_waiting) > 0)
  		barrier();
  }
 -#endif /* __SMP__ */
 +#endif /* CONFIG_SMP */
  
+ /** \brief Run a function on all other CPUs.
+  * \param func The function to run.
+@@ -2760,7 +2760,7 @@
+ 
  int ATI_API_CALL __ke_flush_cache(void)
  {
 -#ifdef __SMP__
 +#ifdef CONFIG_SMP
      /* write back invalidate all other CPUs (exported by kernel) */
- 	if (smp_call_function(deferred_flush, NULL, 1, 0) != 0)
+ 	if (KCL_SmpCallFunction(deferred_flush, NULL, 1, 0) != 0)
  		panic("timed out waiting for the other CPUs!\n");
-@@ -2985,7 +2985,7 @@
+@@ -2776,7 +2776,7 @@
  
  	while (atomic_read(&cpus_waiting) > 0)
  		barrier();
@@ -49,8 +44,8 @@
 +#else /* !CONFIG_SMP */
  #if defined(__i386__) || defined(__x86_64__)
  	asm volatile ("wbinvd":::"memory");
- #elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__)
-@@ -2993,7 +2993,7 @@
+ #elif defined(__alpha__) || defined(__sparc__)
+@@ -2784,7 +2784,7 @@
  #else
  #error "Please define flush_cache for your architecture."
  #endif
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym