How do I fix the HDMI/DVI display output with Intel HD 4000 Graphics in 12.04?

8,165

I downgraded the kernel to Lucid (10.02) kernel. (2.6.32) while running Precise (12.04). That fixed the problem of DVI/HDMI. Very likely, the problem is in one of intel related kernel modules.

I also tried xorg Lucid, which did not fix, and the tip or xorg, and did not fix. So, it's kernel module related for sure.

You can add the Lucid to apt's source and downgrade the kernel to Lucid's 2.16 kernel. That should get you going.

Share:
8,165

Related videos on Youtube

Admin
Author by

Admin

Updated on June 30, 2022

Comments

  • Admin
    Admin less than a minute

    I have an Alienware Dell PC with Intel HD 4000 Graphics (Ivy Bridge) as verified by the output of lspci | grep VGA posted below.

    00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
    

    The PC only has HDMI and DVI display outputs and using the HDMI output I am only being offered abnormal resolutions. As you can see below it does not even list HDMI1 or DVI1 but just only a fallback.

    $ export DISPLAY=:0.0 && xrandr
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 640 x 480, current 1360 x 768, maximum 1360 x 768
    default connected 1360x768+0+0 0mm x 0mm
       1360x768        0.0* 
       1024x768        0.0  
       800x600         0.0  
       640x480         0.0  
    

    How can I fix this? Does it just need to be configured differently or will I need to use a newer kernel (as Intel Graphics drivers are included in the kernel)?

    Follow up: kernel to latest

    Step 1:

    Go to: http://kernel.ubuntu.com/~kernel-ppa/mainline/
    Go to last: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/
    
    Download: 
    
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/linux-headers-3.6.0-030600rc3-generic_3.6.0-030600rc3.201208221735_amd64.deb
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/linux-headers-3.6.0-030600rc3_3.6.0-030600rc3.201208221735_all.deb
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/linux-image-3.6.0-030600rc3-generic_3.6.0-030600rc3.201208221735_amd64.deb
    http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/linux-image-extra-3.6.0-030600rc3-generic_3.6.0-030600rc3.201208221735_amd64.deb
    

    Step 2: sudo dpkg -i linux*.deb

    Step 3: reboot which shows that i have Ubuntu 12.04 with latest

    $ uname -a
    Linux sun-Alienware-X51 3.6.0-030600rc3-generic #201208221735 SMP Wed Aug 22 21:36:32 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    

    But still same problem remain.

    • adempewolff
      adempewolff almost 10 years
      What kind of graphics card do you have (HMDI and DVI are usually routed through the graphics chipset)?
    • adempewolff
      adempewolff almost 10 years
      Also please add exactly what problems you are having with the HDMI/DVI output(s). Are they not working at all, working partially, being buggy, or what? The more specific you are the more likely you will get a helpful answer.
    • adempewolff
      adempewolff almost 10 years
      and what's your graphics card? lspci | grep VGA should do the trick if you don't know.
    • adempewolff
      adempewolff almost 10 years
    • Admin
      Admin almost 10 years
      @adempewolff: i think its solved: gist.github.com/3424755
    • Admin
      Admin almost 10 years
      @adempewolff: only problem is its not 1024x768. I need to have 1280x720 resolution with xorg.conf file. Do you know how? Then it answers the whole mistery.
    • adempewolff
      adempewolff almost 10 years
      Ubuntu doesn't have an xorg.conf file by default. you can create one with sudo xorg --configure and then move it to the correct directory sudo mv xorg.conf /usr/share/X11/xorg.conf.d/
    • Admin
      Admin about 8 years
      Same here, after the update it wasn't working. I downgrade to 3.13.0-27 and is working. Something wrong with the kernel module.