Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] intel HD graphics 4000 and viewing DVDs Jackson <wjiecheng@×××××.com>