LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   [BUG] fglrx doesnt build package anymore on slackware-current x64 (http://www.linuxquestions.org/questions/slackware-14/%5Bbug%5D-fglrx-doesnt-build-package-anymore-on-slackware-current-x64-4175457346/)

anti_user 04-08-2013 08:36 AM

[BUG] fglrx doesnt build package anymore on slackware-current x64
 
Hello! I try to build package by compile fglrx v.13.1 but it doesnt compile with error on my slackware-current fresh install with error
Code:

Generating package: Slackware/Slackware

ATI SlackBuild
--------------------------------------------
by: Emanuele Tomasi <tomasi@cli.di.unipi.it>

AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.8.4/build SUBDIRS=/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.8.4'
  CC [M]  /home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции «KCL_MEM_VM_MapRegion»:
/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895:39: ошибка: «VM_RESERVED» undeclared (first use in this function)
            vma->vm_flags |= VM_SHM | VM_RESERVED; /* Don't swap */
                                      ^
/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3895:39: замечание: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Ошибка 1
make[1]: *** [_module_/home/init/Загрузки/fglrx-install.U3uWvt/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.4'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: I didn't make module
Removing temporary directory: fglrx-install.U3uWvt

But i succesfully build fglrx v.13.3(beta3) but its very unstable, i even couldnt open firefox with this driver or google chromium (after opening i see full black screen)

TobiSGD 04-08-2013 09:43 AM

The current AMD drivers do not support xorg-server 1.14, which is used in -current. That you even could start X is more or less a miracle.
So, this is not a bug, this is due to slow driver development by AMD.

FeyFre 04-09-2013 07:35 AM

anti_user, here solution. It compiles. (Компилируется, и даже работает, но не радуйся. У меня Chrome сегфолтил X именно на видео драйвере. А без него(на искоробочном) часто при выходе из Х по Ctrl+Alt+Backspace в консольный фреймбуффер не может нормально вернутся. В общем не судьба)

UPD: Translation:
(It compiles, and works, but not be so happy. In my case Chrome segfaults my X exactly in this video driver. But without it(on out-of-box driver) when zapping(C+A+Bs) X it is often cannot return into framebuffers video mode correctly(see green-coloured rectangular zones which change accordingly to changes caused by my actiosn)(so I forced return to X via startx blindly or to do "telinit 6" in the same manner). Generally speaking, it is fate not to use Slackware on AMDs solutions now.)

TobiSGD 04-09-2013 08:06 AM

Keep in mind that LQ is an English only forum, so please translate your previous post to the English language.

anti_user 04-10-2013 03:06 AM

Quote:

Originally Posted by FeyFre (Post 4928159)
anti_user, here solution. It compiles. (Компилируется, и даже работает, но не радуйся. У меня Chrome сегфолтил X именно на видео драйвере. А без него(на искоробочном) часто при выходе из Х по Ctrl+Alt+Backspace в консольный фреймбуффер не может нормально вернутся. В общем не судьба)

UPD: Translation:
(It compiles, and works, but not be so happy. In my case Chrome segfaults my X exactly in this video driver. But without it(on out-of-box driver) when zapping(C+A+Bs) X it is often cannot return into framebuffers video mode correctly(see green-coloured rectangular zones which change accordingly to changes caused by my actiosn)(so I forced return to X via startx blindly or to do "telinit 6" in the same manner). Generally speaking, it is fate not to use Slackware on AMDs solutions now.)

So, 13.3 Beta also compiles and also crashed when opening GoogleChrome and even Firefox... Waiting for new versions of fglrx

ReaperX7 04-11-2013 09:37 PM

You might want to note that this issue has happened before and not just with fglrx driver but with Nvidia also.

As a known rule, because -Current is in an ever evolving state, proprietary drivers are ill-advised to use unless you want to blacklist packages like libdrm, libmesa, the x11 drivers, and the kernel from updates.

For -Current it is recommended you stick to the open source x11 drivers or use a release issue of Slackware like 14.0.


All times are GMT -5. The time now is 02:03 AM.