llvmpipe used after clean install instead of intel

Bug #1074779 reported by Alusa
334
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Critical
Clement Lefebvre
xserver-xorg-video-intel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After installing ubuntu 12.10 llvmpipe is loaded instead of intel graphics driver, before in ubuntu 12.04 it was working very well with the intel drivers out of the box.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xorg 1:7.7+1ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Sat Nov 3 23:53:55 2012
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
EcryptfsInUse: Yes
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: CLEVO/KAPOK Computer Device [1558:5140]
 NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: CLEVO/KAPOK Computer Device [1558:5140]
InstallationDate: Installed on 2012-11-03 (0 days ago)
InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Release amd64(20121018)
MachineType: CLEVO CO. W150HNM/W170HN
MarkForUpload: True
ProcEnviron:
 LANGUAGE=pt:pt_BR:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pt_PT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-18-generic root=UUID=9f0065ef-dbaf-4c00-92a1-f4397031fb22 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/07/2011
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: HR_2.1.0.128 X64
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: W150HNM/W170HN
dmi.board.vendor: CLEVO CO.
dmi.board.version: D03
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: CLEVO CO.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrHR_2.1.0.128X64:bd10/07/2011:svnCLEVOCO.:pnW150HNM/W170HN:pvr0.1:rvnCLEVOCO.:rnW150HNM/W170HN:rvrD03:cvnCLEVOCO.:ct9:cvr0.1:
dmi.product.name: W150HNM/W170HN
dmi.product.version: 0.1
dmi.sys.vendor: CLEVO CO.
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

Revision history for this message
Alusa (alusa) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

It looks like the nouveau driver may be interfering. Try blacklisting it and see if that helps. Use these commands and then restart

echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/blacklist-nouveau.conf
sudo depmod -a

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Alusa (alusa) wrote :

Unfortunately it didn't help, it still shows "Gallium 0.4 on llvmpipe (LLVM 0x301)".

bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
Albert Pool (albertpool) wrote :

I'm experiencing this on an Intel 915GM laptop, without any nvidia card. And on a Pentium M, llvmpipe is really slow.
I've also had a report from a 945G that this happened.

Revision history for this message
Albert Pool (albertpool) wrote :

I just said I found the fix, but it appears that without modesetting the intel driver sometimes doesn't load either, and fbdev appears instead.

Revision history for this message
madbiologist (me-again) wrote :

alusa - does this still happen if you connect a monitor to the VGA port?

Revision history for this message
Alusa (alusa) wrote :

Yes it still happens using VGA, tested using a livecd.
It appears that in the current 12.04.1 ubuntu if I install kernel 3.5 the problem also starts to happening.

Revision history for this message
madbiologist (me-again) wrote :

Causing the problem on Ubuntu 12.04.1 when installing the 3.5 kernel is not too surprising as that kernel contains some, but not all, of the updates needed to support your hybrid graphics. All of the pieces are supposedly present in Ubuntu 12.10, as per bug 1053250 (it doesn't mention the nouveau driver but I recall reading that it was upated to support hybrid graphics too), however hybrid graphics is only working for a select few people (such as the reporter of bug 1053250, who has different hardware to you) and remains problematic - see http://www.phoronix.com/scan.php?page=news_item&px=MTIxOTM
This article also summarizes some of the hybrid graphics improvements planned for Ubuntu 13.04. See https://blueprints.launchpad.net/ubuntu/+spec/desktop-r-gaming-platform-graphics-support and especially https://blueprints.launchpad.net/ubuntu/+spec/desktop-r-hybrid-graphics-user-experience to monitor progress in this area.

Revision history for this message
Albert Pool (albertpool) wrote :

@madbiologist This problem also happens on non-hybrid machines. Quantal randomly fails to load the X.org intel driver falling back to modesetting or fbdev.

Revision history for this message
Albert Pool (albertpool) wrote :

I do not think this bug is related to hybrid graphics at all. So far at Linux Mint we've had various reports of this on non-hybrid Intel machines, mostly 915 and 945: but on those slower systems it is most noticeable that llvmpipe is in use.

Revision history for this message
madbiologist (me-again) wrote :

Yes, I've heard about that too. But it might be a different bug. As Dave said in comment #2, alusa's BootDmesg.txt shows that the system is trying, but failing, to use the nouveau driver for the NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller]). I don't know if modprobing the kernel with a blacklist is enough to stop the xserver from trying to support the hybrid graphics. If alusa can post another set of logs (by running apport-collect 1074779) after booting with the nouveau driver blacklisted as described in comment #2 that will hopefully help to clarify things.

Also alusa has SandyBridge Intel graphics (third generation Core i3/i5/i7), not Intel 915GM or Intel 945G so if this bug does turn out to be in the Intel driver it's still likely to be a different bug.

Revision history for this message
Kirk M (justhinkin2) wrote :

This also occurs on a ThinkPad R61 that has the Intel 965GM video driver. Gallium .04 on llvmpipe is loaded at boot/login. However, logging out and back in always loads the correct Intel 965 driver. The Processor is a "2x Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz". All Intel chipsets (video, network, sound, etc). A bit odd this problem wasn't picked up and fixed before release.

no longer affects: xserver-xorg-video-intel
Changed in linuxmint:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Clement Lefebvre (clementlefebvre)
Revision history for this message
Albert Pool (albertpool) wrote :

So far these types of Intel hardware are known to be affected:

Gen3: 915GM, 945G, 945GM, 945GSE (which is normally shown as GME in mesa), Q965
Gen4: 965GM
Gen6: Sandybridge

Changed in linuxmint:
importance: High → Critical
Revision history for this message
Albert Pool (albertpool) wrote :

Gen7: Ivybridge likely affected too.

Revision history for this message
Thomas Collin (tvcollin) wrote :

Logging out and back works for me also. I have the 915GM driver with a Pentium M.

Revision history for this message
drpixie (andrewgfry) wrote :

Logging out and back works for me. I've got Intel G43 Intel ICH10 - happy to send details/logs if that helps.

Nico (dnixx)
information type: Public → Public Security
Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Manual fix, create /etc/X11/xorg.conf and write the following into it:

Section "Device"
        Identifier "My device"
        Driver "intel"
EndSection

Press CTRL+ALT+BACKSPACE to restart your computer (or reboot if you're running Ubuntu).

Check with inxi -G (or glxinfo if you're running Ubuntu) to make sure your renderer is now Intel and not Gallium LLVMPIPE.

Please let us know if this works for you in Mint 14 or Ubuntu 12.10.

Revision history for this message
Arkadyy (arkadyy) wrote :

i'm running linux mint 14 with cinnamon, i5 on a Z77 chipset, and radeon 7850.
(i'm kind of noob whenit comes to this) I tried this fix, but still have this when tryping inxi -Gx

Graphics: Card: Advanced Micro Devices [AMD] nee ATI PITCAIRN PRO [Radeon HD 7800 Series] bus-ID: 01:00.0
           X.Org: 1.13.0.901 drivers: ati,vesa,radeon (unloaded: fbdev,intel) Resolution: 1920x1080@0.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.1, 256 bits) GLX Version: 2.1 Mesa 9.1-devel Direct Rendering: Yes

What should i try to put instead of "intel" ? radeon or amd ?

(it's getting nervewracking, any hight paced video makes the screen glitch, like if the processor is not able to follow the refresh rate and the videostream at the same time)

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Akadyy: radeon I think, otherwise you can try to install the fglrx drivers from ATI.

Revision history for this message
drpixie (andrewgfry) wrote :

For added confusion, I see this bug using the Live (install) image, but now it's gone after running an install with normal updates!

Revision history for this message
Arkadyy (arkadyy) wrote :

installing fglrx worked pretty nice, now instead of having 100%+ CPU usage, i have around 10-40% (still pretty hight tho, but now i have no problem with vidéos).
Thanks

Revision history for this message
Arkadyy (arkadyy) wrote :

(too bad can't edit)
after installing fglrx i also added the xorg.conf with radeon instead of intel. now the cinnamon process goes from 0 up to 20% when something is moving on the screen (firefox, mostly).
The down part is that moving windows around is a bit "laggy" without any apparent reasons.

Revision history for this message
goog64 (goog64) wrote :

I am a beginner on Linux, but I thought if I share my results, it won't hurt:
I have just installed Mint 14 via USB by upgrading a previously installed Ubuntu 12.04.
Sure enough, CPU was at 100% and inxi -G resulted in:
GLX Renderer: Gallium 0.4 on llvmpipe

Someone above wrote that logging out and back in fixed it. So I tried that and it worked for me also (but only for that login).

Clement:
with the manual fix that you mentioned above:
Section "Device"
        Identifier "My device"
        Driver "intel"
EndSection

Do I write it exactly like that, or am I supposed to substitute something into the invereted commas?

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Exactly like that goog64.

Revision history for this message
goog64 (goog64) wrote :

Thanks. I'll try it tomorrow and report the result.

Revision history for this message
goog64 (goog64) wrote :

I did it (took me a while to learn how to create that file).
It worked.
inxi -G now returns: GLX Renderer: Mesa DRI Intel 945GM x86/MMX/SSE2

I logged out and back in and it still worked.
Dragging a window around increases CPU use to 50%. Is that normal?

Will this fix work for other user accounts on the computer? Or only the one I was logged into when I created the xorg.conf file?

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

It will work fine for all users. It's a good workaround.

Revision history for this message
Albert Pool (albertpool) wrote :

It seems the problem was due to mdm not exiting Plymouth. Probably an mdm update will come to Linux Mint users to fix this.

Revision history for this message
DG (guineydavid) wrote :

Hi I am having the same issue in Mint 14 but when I create the /etc/X11/xorg.conf file as suggested above, the memory issue is resolved but it looks like Mint is selecting a different desktop environment (the Legacy Gnome3 I think, but I am new to Mint so am not sure?).

When I log out and Select Cinammon 2D the correct desktop appears but the CPU issue has returned. Any other desktop I select at the Logon Screen results in the same appearance but uses the correct INTEL Drivers. (The menu structure looks completely different and has a small icon saying 'LM' at the bottom left rather than 'MENU')

Is there any other suggested fix or should Cinnamon work ok if I remove LM14 and Install LM13 ?

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

The issue was fixed in mdm 1.0.8.

If you created the file /etc/X11/xorg.conf you can now remove it and simply upgrade mdm to version 1.0.8.

Changed in linuxmint:
status: Confirmed → Fix Released
Revision history for this message
DG (guineydavid) wrote :

Thanks for the info. However, where can I get MDM 1.0.8. I have checked all the repositories in software manager and V1.0.7 seems to be the latest one available

Revision history for this message
DG (guineydavid) wrote :

Sorry, please ignore last comment - I have found it

Revision history for this message
DG (guineydavid) wrote :

I have now updated to MDM 1.0.8 but the issue is still there. Now when I logon each time the normal Cinnamon desktop still doesn't appear. I think I may be seeing the compatibility mode desktop because .....

I then tried installing LM13 and when I booted from the DVD there was just a Blue Screen. The menu would appear but when I selected a menu item a blue window appeared with a thick fuzzy white border. I was unable to see any contents within the windows so couldn't even start the Installation of LM. I tried rebooting from the DVD but this time selected 'Compatibility' Mode. When it booted the desktop loaded but it was the same desktop I am seeing when I boot into LM14 !!

This would look to me like an issue with the Display Driver. IS there anything further I could try to resolve this? I would really love to be able to use LM rather than going back to Windows or another Linux Distro. I did use Ubuntu about a year ago on the same PC without any issues.

Revision history for this message
Aristotelian (bookrt) wrote :

I am affected by this as well. Running Ubuntu 12.04 LTS, homebuilt machine with Celeron G540 and Biostar H77MU3. The symptom that caused me to look into this is high CPU usage in XBMC - 90% on some menu screens and 55-60% on video playback.

glxinfo returns Gallium 0.4 on llvmpipe and same is shown as driver according to XBMC debug log.

I tried to reinstall xserver-xorg-video-intel per instructions above but that did not do anything. When I run Additional Drivers app, no proprietary drivers are listed.

Next step was to create xorg.conf file per above instructions. Upon reboot, system prompts to load in low graphics mode and restore old settings. That is where I currently stand.

Will the MDM fix address this, or is that only for Linux Mint? I do not see this program in Synaptic Package Manager. Anything else I can try?

Revision history for this message
Aristotelian (bookrt) wrote :

Finally resolved this issue, at least for my purposes. Folks on the thread were correct that there was a driver issue but I could not figure out how to get the intel drivers to load even though they were installed. The problem was that I had set GRUB to nomodeset to resolve an earlier issue (when I installed Ubuntu 12.04 LTS there was a problem with the drivers resulting in a blank screen). This must have been preventing the correct drivers from loading. I tried to restore GRUB but it kept stalling on boot. I ended up replacing Ubuntu 12.04 with LUbuntu 12.10. Now everything is running smoothly. Videos on XBMC are running the CPU about 10% and everything looks a lot better (I had to set resolution to 720p previously).

However, this may not address the underlying driver issue with Ubuntu 12.04 LTS.

Revision history for this message
Chris Wilson (ickle) wrote :

The original bug reporter was using a known broken System Development Platform that was blacklisted.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Alusa (alusa) wrote :

This bug is not fixed, with the back-porting to 12.04.2 the problem now also is present on that LTS release, I will resend a new set of logs as requested by madbiologist (s-j-turner)

Changed in xserver-xorg-video-intel (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Chris Wilson (ickle) wrote :

It is not a bug, you have pre-release hw that you should not still have.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Anıl (anlyldz27) wrote :

I have Ubuntu 18.04.3 clean install and Sandybridge. Sometime everything normal and boot Sandybridge Mobile GPU. But sometime boot LLVMPIPE. Log out and log in fix the problem. Just the known. What should ı do? Create file?

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.