[blfs-support] Video driver for X Window

Patrick Kennedy kennedypj at gmail.com
Mon Dec 1 13:24:05 PST 2014


Yes, Ken, it worked!  :-)

FWIF, for a Dell 3450 Vostro, if you do the following,

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
Whistler [AMD Radeon HD 6600M Series]

However, doing this, yielding more Intel info -
sudo lspci -k | grep -A 2 -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
Subsystem: Dell Device 04c5
Kernel driver in use: i915

That suggested to me, per the kernel (see below) that the BLFS-listed Intel
graphics driver would work -

Device Drivers  --->
  Graphics support --->
     Intel I810: Y or M
     Intel 8xx/9xx/G3x/G4x/HD Graphics: Y or M
          Enable modesetting on intel by default: Y

Trying to make radeon work, didn't work.  Even when I finally added the
correct firmware and it seemed to initialize properly, it didn't quite
work.  However, installing the "Xorg Intel Driver-2.99.916" (
http://www.linuxfromscratch.org/blfs/view/stable/x/x7driver.html#xorg-intel-driver)
worked right away!

Anyway, I learned so much from the experience, and now I will do the Gnome
BLFS and other stuff to continue to expand the X Window base.

Thanks to everyone for the help and pointers.

~Patrick



On Mon, Dec 1, 2014 at 12:37 AM, Ken Moffat <zarniwhoop at ntlworld.com> wrote:

> On Sun, Nov 30, 2014 at 11:44:25PM +0100, Patrick Kennedy wrote:
> > On Sun, Nov 30, 2014 at 8:20 PM, Patrick Kennedy <kennedypj at gmail.com>
> > wrote:
> >
> > ...<snip>...
> >
> > Okay, regarding letting kernel decide, if I have
> > >
> > > CONFIG_EXTRA_FIRMWARE=""
> > > CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
> > >
> > > The systems tells me (via dmesg) that it lacks radeon/TURKS_pfp.bin
> > >
> > > I add it, recompile kernel, reboot -
> > >
> > > The system tells me it lacks radeon/TURKS_me.bin
> > >
> > > I add it, recompile kernel, reboot -
> > >
> > > The system tells me it lacks radeon/BTC_rlc.bin
> > >
> > > I add it, recompile kernel, reboot -
> > >
> > > The system tells me it lacks radeon/TURKS_mc.bin
> > >
> > > So, I add it, like this -
> > >
> > > CONFIG_EXTRA_FIRMWARE="radeon/TURKS_pfp.bin radeon/TURKS_me.bin
> > > radeon/BTC_rlc.bin radeon/TURKS_mc.bin"  #on 1 line
> > >
> > > Recompile kernel. Reboot.
> > >
> > > System freezes up as it boots up.  I can provide info on messages on
> > > console, but it seems to be related to a PCI resources conflict.
>
>  I did not get around to replying earlier, but your experience
> aligns with what I posted a little while before you did.
>
> > Wait, I think I just made major progress towards solving my X Window
> video
> > driver issue.  I restored the kernel .config from an earlier copy,
> tweaked
> > .config again, recompiled, and got the video driver to initialize -
> >
> > Here's how the radeon driver initializes:
> >
> > dmesg | grep radeon  > radeon.txt
> >
> > cat radeon.txt
> >
> > [    0.374346] [drm] radeon kernel modesetting enabled.
> > [    0.374503] radeon 0000:01:00.0: enabling device (0000 -> 0003)
> > [    1.288334] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 -
> > 0x000000003FFFFFFF (1024M used)
> > [    1.288438] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 -
> > 0x000000007FFFFFFF
> > [    1.288955] [drm] radeon: 1024M of VRAM memory ready
> > [    1.289026] [drm] radeon: 1024M of GTT memory ready.
> > [    1.290112] [drm] radeon: power management initialized
> > [    1.293679] radeon 0000:01:00.0: WB enabled
> > [    1.293751] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
> > 0x0000000040000c00 and cpu addr 0xffff88013919cc00
> > [    1.293857] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
> > 0x0000000040000c0c and cpu addr 0xffff88013919cc0c
> > [    1.294372] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
> > 0x0000000000072118 and cpu addr 0xffffc90004932118
> > [    1.294645] radeon 0000:01:00.0: irq 41 for MSI/MSI-X
> > [    1.294656] radeon 0000:01:00.0: radeon: using MSI.
> > [    1.294757] [drm] radeon: irq initialized.
> > [    1.683630] radeon 0000:01:00.0: No connectors reported connected with
> > modes
> > [    1.689760] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
> > [    1.689780] radeon 0000:01:00.0: registered panic notifier
> > [    1.694320] [drm] Initialized radeon 2.39.0 20080528 for 0000:01:00.0
> on
> > minor 0
> >
> > Looks like it may have worked worked.
> >
> > Here's the X Window videocard-0.conf -
> >
> > ###  /etc/X11/xorg.conf.d/videocard-0.conf
> > Section "Device"
> >     Identifier  "Videocard0"
> >     Driver      "radeon"
> >     VendorName  "Videocard vendor"
> >     BoardName   "ATI Radeon 7500"
> >     Option      "NoAccel" "true"
> > EndSection
> >
>
>  Do you need that file ?  You are disabling acceleration, which
> maybe makes a difference.  The BoardName is fortunately not
> important (7500 was R100 or R200, but they share the radeon driver
> which is what matters.
>
>  In my own xorg.conf.d/ (in /usr/share/X11/ in my case) I have only
> files for evdev, quirks, and keyboard (because I do not use an
> american layout).
>
>  Glad you have at least got X running.
>
>  I would try removing that file, or else moving it where it will not
> be found.
>
> ĸen
> --
> Nanny Ogg usually went to bed early. After all, she was an old lady.
> Sometimes she went to bed as early as 6 a.m.
> --
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20141201/ded14875/attachment.html>


More information about the blfs-support mailing list