Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

ati-drivers-14.12-r3 on kernel 3.19-rc7 compilation fails

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
42n4
n00b
n00b
User avatar
Posts: 25
Joined: Tue Feb 10, 2015 1:06 pm

ati-drivers-14.12-r3 on kernel 3.19-rc7 compilation fails

  • Quote

Post by 42n4 » Tue Feb 10, 2015 5:27 pm

I have seen patches for kernel 3.19 8O :
https://forum.manjaro.org/index.php?topic=18974.0
https://github.com/manjaro/packages-ext ... b2e4a2200d

But after applying them I have a new error that __this_cpu_write is not found.
How to utilise these simple patches on Gentoo? :evil:

I have managed to apply to run nvidia-drivers on kernel 3.19-rc7,
https://devtalk.nvidia.com/default/topi ... nux-3-18-/
but here with ati-drivers I have a problem...
Top
Roman_Gruber
Advocate
Advocate
Posts: 3854
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Wed Feb 11, 2015 12:47 pm

patches only work on the stuff they were build against it, afaik

and why are patches are simple?

just do not use unsupported kernels with binary drivers. OR !! edit the kernel accordingly as you can see on the patches where they need to be edited.

But do not expect that a patch will apply when you a different version which it was not build against it.
How to utilise these simple patches on Gentoo? :evil:
write an ebuild and apply the patches by hand, than run a diff on those, and name them accordingly for the ebuild.
Top
chithanh
Retired Dev
Retired Dev
User avatar
Posts: 2158
Joined: Sat Aug 05, 2006 10:16 pm
Location: Berlin, Germany

  • Quote

Post by chithanh » Wed Feb 11, 2015 1:59 pm

Or you can report a bug at https://bugs.gentoo.org/ and let the maintainer figure it out (if he is willing).
Top
42n4
n00b
n00b
User avatar
Posts: 25
Joined: Tue Feb 10, 2015 1:06 pm

  • Quote

Post by 42n4 » Fri Feb 13, 2015 7:10 pm

Patches are short and works in Arch Manjaro, but do not work in Gentoo under the same kernel. I think this bug report is a good idea.
OS: Gentoo gcc14
Kernel: Linux 6.14.6-zen1
KDE Plasma 6.2.0
WM: NVIDIA 4060 Wayland
http://bit.ly/gen2ls
Top
Hotblack
n00b
n00b
User avatar
Posts: 47
Joined: Tue Dec 28, 2004 5:16 pm

  • Quote

Post by Hotblack » Sat Feb 14, 2015 4:52 pm

This works for me (with local overlay PORTDIR_OVERLAY=/usr/local/portage in /etc/portage/make.conf)

copy

Code: Select all

manjaro_fglrx_319.patch
into

Code: Select all

/etc/portage/patches/x11-drivers/ati-drivers
copy the whole directory

Code: Select all

/usr/portage/x11-drivers/ati-drivers
in

Code: Select all

/usr/local/portage/x11-drivers/ati-drivers
delete all the ebuilds except ati-drivers-14.12-r3.ebuild from the local directory

edit the ebuild and add epatch_user at the end of the src_prepare() {} section

Code: Select all

src_prepare() {
   .
   .
   .
   epatch_user
}

Code: Select all

# ebuild ati-drivers-14.12-r3.ebuild digest

Code: Select all

# emerge ati-drivers
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic