|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|
|||
ATI Radeon HD 4250 - kernel patch
I was surprised to find this:
http://kerneltrap.org/mailarchive/freebsd-bugs/2010/7/28/6886133 as I recently bought a motherboard with this onboard chipset and just installed 8.1-RELEASE this weekend to find no fullscreen in mplayer (graphics cards are always my problem it seems). I've built kernels before, no problem. How exactly do I go about patching the kernel with the above referenced patch? Will I have to CVSup to -CURRENT? Or may I simply apply only this patch? Will "world" need to be rebuilt? Following this, will ports need to be rebuilt? (only 486 installed, no big deal ) Thank you in advance. giddyupman (Apologies for the un-clickable links - I don't have enough posts to include links) ------------------------------- Some supporting information suggesting the card is X friendly: http://www.newegg.com/Product/Product.aspx?Item=N82E16813128445 http://cgit.freedesktop.org/xorg/driver/xf86-video-radeonhd/plain/README http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units#IGP_.2 8HD_3xxx.2C_HD_4xxx.29 |
|
||||
Quote:
Run (as root): # cd /usr/src/ # patch -p0 < /tmp/drm-patch.txt This assumes, of course, that you have the kernel source for 8.1-RELEASE installed in /usr/src/sys/. Now rebuild the kernel. Quote:
Quote:
Quote:
Adam |
|
|||
Success!
|
|
|||
Patching question
Ok, I'm trying to perform the same thing using the fix here: http://www.freebsd.org/cgi/query-pr.cgi?pr=150594
But when I do, the patch manager goes: Hmm... Looks like a unified diff to me... The text leading up to this was: ------------------------------------------- |--- src/mesa/drivers/dri/radeon/radeon_chipset.h.orig 2009-11-18 02:54:28.000000000 +0100 |+++ src/mesa/drivers/dri/radeon/radeon_chipset.h 2010-09-14 15:38:09.000000000 +0200 ------------------------------------------- File to patch: Isn't a unified diff supposed to direct the patch manager on where to apply the patch? I'm running a little confused here. Any help would be appreciated. |
|
|||
Quote:
1) patch-radeon_chipset.h 2) patch-radeon_screen.c 3) Makefile.txt (I cannot upload Makefile without .txt suffix here) I recommand you backup the /usr/ports/graphics/dri/Makefile file. You need to place 1st and 2nd patch files to /usr/ports/graphics/dri/files You need to place the 3rd patch file to /usr/ports/graphics/dri and then rename it to Makefile (omit the .txt suffix) Everything ready, you can Code:
cd /usr/ports/graphics/dri su root make clean make install |
|
|||
i've been trying to fix the same problem with a slightly different patch (http://www.freebsd.org/cgi/query-pr.cgi?pr=150594)
But the patch manager says it looks like a unified diff and then asks me to input a file to patch (the filename). I'm confused, I thought a unified diff would tell it where to go. |
|
|||
The patch utility typically prompts for a path if you're not in the directly relative to the file that needs to be patched.
I'm not sure what you mean by a "patch manager", something FreeBSD wrapped around an already simple task no doubt. Are you sure you have the source code for mesa on your system? that is a prerequisite for patching.. you also need to build the source after doing that as well. Have you considered upgrading FreeBSD? the inclusion of that change is likely in a later release. |
Tags |
8.1-release, kernel, radeon hd, world |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
macppc + radeon drm | sigflup | OpenBSD Installation and Upgrading | 6 | 7th July 2010 10:12 PM |
ATI Radeon 4870X2 | NetBSD | NetBSD General | 6 | 11th June 2009 08:17 PM |
Radeon HD 4780 X2 | NetBSD | FreeBSD General | 0 | 19th February 2009 12:15 AM |
X Radeon driver | sum | FreeBSD Installation and Upgrading | 5 | 28th September 2008 03:49 PM |
FreeBSD 7.0 + ATI Radeon HD2600PRO + mplayer ... | daemonFromHeaven | FreeBSD Ports and Packages | 4 | 5th September 2008 01:24 PM |