Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs
Date: Sat, 01 Dec 2012 14:43:23
Message-Id: 50BA1707.3080908@binarywings.net
In Reply to: Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs by Florian Philipp
1 Am 28.07.2012 10:22, schrieb Florian Philipp:
2 > Am 27.07.2012 22:57, schrieb Michael Mol:
3 >> On Fri, Jul 27, 2012 at 4:39 PM, Florian Philipp <lists@×××××××××××.net> wrote:
4 >>> Am 27.07.2012 22:22, schrieb Michael Mol:
5 >>>> On Fri, Jul 27, 2012 at 4:10 PM, Allan Gottlieb <gottlieb@×××.edu> wrote:
6 >>>>> I am getting a new laptop. (likely dell 6430).
7 >>>>> The two graphics options are intel HD 4000 and nvidia NVS 5200M.
8 >>>>> Dell is as expected suggesting the 5200M.
9 >>>>>
10 >>>>> I do not need 3D or fast response. Dell hinted that DVDs might not play
11 >>>>> with the intel HD 4000. This seems weird to me as the 4000 is supposed
12 >>>>> to be a big improvement over the 3000 and I can't believe dell or others
13 >>>>> would have sold laptops that can't play dvds
14 >>>>>
15 >>>>> Any comments or experiences?
16 >>>>
17 >>>> My Duron 750MHz was able to decode DVDs in realtime. After that, all
18 >>>> you're doing is blitting (or using xv) the frames to the screen. I
19 >>>> would be absolutely shocked if the Intel HD 4000 GPU couldn't handle
20 >>>> that basic of a 2D acceleration function.
21 >>>>
22 >>>> Now, DVDs use MPEG2. Blu-Ray uses h.264, which is a much harder beast
23 >>>> to decode in realtime. It's possible the HD 4000 GPU can't handle
24 >>>> hardware decode of h.264, but I don't know. I've never looked into it.
25 >>>> (Software decode of 1080p h.264 on my Phenom 9650 worked somewhat, but
26 >>>> highly active scenes would cause frame drops.)
27 >>>>
28 >>>
29 >>> I've experienced issues playing DVDs on fullscreen with the OSS radeon
30 >>> driver. Therefore I'm cautious of assumptions that something works
31 >>> simply because the input is easy to decode. Upscaling to large displays
32 >>> with high resolutions can be an issue.
33 >>>
34 >>> I'm not saying the Intel driver cannot handle it. I'm just saying you
35 >>> should try it or look for reports.
36 >>
37 >> How high is 'high' resolution? I was upscaling to 1600x1200 using an a
38 >> Radeon 9600; that card would now be almost ten years old. A bit later,
39 >> I did the same on a 2.4GHz Pentium 4 using an i845-based Intel
40 >> graphics card. Here's the line from lspci, as run in May of 2007:
41 >>
42 >> 00:02.0 VGA compatible controller: Intel Corporation
43 >> 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
44 >>
45 >> Hardware scaling a 2D image is one of the most trivial
46 >> hardware-accelerated options GPUs perform. If someone had difficulties
47 >> upscaling a 480p (roughly what DVDs are) to 1080p at 24 or 33fps, I
48 >> would be very highly suspicious of a software misconfiguration. That
49 >> kind of scaling should even be comfortably doable in software on any
50 >> modern x86-derived processor. (With the plausible exclusion of the
51 >> Atom CPU)
52 >>
53 >
54 > 1920x1080, on-board Radeon HD 4250. I haven't diagnosed it further
55 > (except of playing around with mplayer2 options) as it was easier to use
56 > the closed source driver.
57 >
58 > Regards,
59 > Florian Philipp
60
61
62 I realize this thread is pretty stale but since I talked bullshit and
63 just now realized it, I want to correct myself:
64
65 Since updating the kernel to 3.5 forced me to update the X server beyond
66 1.11 which in turn forced me to update ati-drivers to a version that no
67 longer supported my Radeon HD 4250, I had to look into my issues with
68 the open source driver.
69
70 It turns out, my problems had two reasons:
71 - I didn't enable KMS and DRM for radeon in the kernel
72 - I didn't have x11-drivers/radeon-ucode installed
73
74 Both resulted in a fully functioning X server that
75 - could run glxgears just fine
76 - could (with some tuning) render videos in DVD quality with opengl output
77 - was too slow for videos in any higher resolution
78
79 Regards,
80 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs Allan Gottlieb <gottlieb@×××.edu>