Can't switch to Radeon rendering

Bug #1406222 reported by Guillermo Lo Coco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Invalid
Low
Unassigned

Bug Description

After playing a lot, I can't swith from integrated Intel to Discrete Radeon VGA.

vgaswitcheroo:

0:DIS-Audio: :Off:0000:01:00.1
1:DIS: :DynOff:0000:01:00.0
2:IGD:+:Pwr:0000:00:02.0

If: "echo DIS > ...../switch" display turn off.
I tried make an script, switching to DIS and after launching a modified xorg.conf. But even that, none seem to happend. Screen still off.

GLXHEAD show rendering with INTEL instead of discrete Radeon:
root@labPC:/tmp# glxheads
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
  glxheads xdisplayname ...
Example:
  glxheads :0 mars:0 venus:1
Name: :0
  Display: 0x1302010
  Window: 0x4400003
  Context: 0x13134f0
  GL_VERSION: 2.1 Mesa 10.3.2
  GL_VENDOR: Intel Open Source Technology Center
  GL_RENDERER: Mesa DRI Intel(R) Ironlake Mobile

Any openGL rendering app run slow.

My question is, How can I enable Discrete Radeon GPU ?

Thanks in advance!

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: xorg 1:7.7+7ubuntu2
Uname: Linux 3.19.0-031900rc1-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Mon Dec 29 09:25:17 2014
DistUpgraded: Fresh install
DistroCodename: utopic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:143a]
 Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] [1002:68e0] (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:143a]
InstallationDate: Installed on 2014-11-05 (53 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
LightdmGreeterLog: ** (lightdm-gtk-greeter:4854): WARNING **: Failed to load user image: Failed to open file '/home/lab/.face': No such file or directory
LightdmGreeterLogOld:
 ** (lightdm-gtk-greeter:9939): WARNING **: Failed to load user image: Failed to open file '/home/lab/.face': No such file or directory
 g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Lsusb:
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 5986:0149 Acer, Inc
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP G62 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-031900rc1-generic root=UUID=05c3db73-a1ee-4f45-bc69-bd0599d3613e ro quiet splash vt.handoff=7
Renderer: Software
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/09/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.48
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 143A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 60.50
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.48:bd11/09/2011:svnHewlett-Packard:pnHPG62NotebookPC:pvr0594110000252710001020100:rvnHewlett-Packard:rn143A:rvr60.50:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP G62 Notebook PC
dmi.product.version: 0594110000252710001020100
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12+14.10.20140918-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.3.2-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.3.2-0ubuntu0.1
version.xserver-xorg-core: xserver-xorg-core 2:1.16.0-1ubuntu1.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2
xserver.bootTime: Mon Dec 29 09:06:59 2014
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 Output HDMI-0 LVDS-0 VGA-0
 product id 684
 vendor LGD
xserver.version: 2:1.16.0-1ubuntu1.2
xserver.video_driver: modesetting

Revision history for this message
Guillermo Lo Coco (glococo) wrote :
Revision history for this message
Guillermo Lo Coco (glococo) wrote :

I found that my notebook HP G62 is a Muxless GPU system, with an IGP i915 + DIS Radeon 54xx.

The way I can run an app in accelerated mode is with "DRI_PRIME=1 glxgears"

But I cannot enable it by default.

Also an important app for me fail to start with this silly message:
"intel_do_flush_locked failed: No such file or directory"

Revision history for this message
penalvch (penalvch) wrote :

Guillermo Lo Coco, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg 1406222

Please ensure you have xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

As well, given the information from the prior release is already available, testing a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

tags: added: needs-full-computer-model
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hi Christopher,

I'm running kernel 3.19 + oibaf ppa (https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers)

Beside that, I added DRI_PRIME=1 variable to /etc/enviroment to make it default.

Even with that variable, latest kernel+mesa+, Bricscad fail to inicialize in 3D with this ugly message:
"intel_do_flush_locked failed: No such file or directory"

Recently added "LIBGL_ALWAYS_SOFTWARE=1" variable and seems to launch Bricscad in 3D.

I will 3D test more with this laptop. If something new appear, I will write here.

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

I was trying to draw some 3D objects with Bricscad in 3D and was useless. Fail after few minutes (in the best cases) with "segmentation fault".

So I launch Kicad/pcbnew to check if something has improved in 3D rendering, and seems to faster nothing.

----------------x--------------: Glxgear test:
glxheads: exercise multiple GLX connections (any key = exit)
Usage:
  glxheads xdisplayname ...
Example:
  glxheads :0 mars:0 venus:1
Name: :0
  Display: 0x1328010
  Window: 0x4600003
  Context: 0x1354070
  GL_VERSION: 3.0 Mesa 10.6.0-devel (git-59292b3 2015-02-17 utopic-oibaf-ppa)
  GL_VENDOR: VMware, Inc.
  GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hi Christopher,

Notebook HP G62
model: G62-b85SS
product: XF219EA#ABE

penalvch (penalvch)
tags: added: latest-bios-f.48
removed: needs-full-computer-model
Revision history for this message
penalvch (penalvch) wrote :

Guillermo Lo Coco, would you have an option in BIOS allowing the use of only the AMD card?

Changed in xorg (Ubuntu):
importance: Undecided → Low
Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hi Chris,

No option. Running latest Bios.

I think this muxless config is like a rendering coprocesor with no pin to external display. Radeon coprocess data and use DMA to Intel FB to connect to display. Something new for me.

Revision history for this message
penalvch (penalvch) wrote :

Guillermo Lo Coco, while I don't consider myself a vgaswitcharoo expert, as per https://help.ubuntu.com/community/HybridGraphics muxless systems are not supported for it. Would this coincide with your research of this?

Revision history for this message
Guillermo Lo Coco (glococo) wrote :

Hi Christopher,

Exactly, if I force with vgaswitcheroo to DIScrete (radeon), display goes off.
I think, since it is a muxless system, Radeon GPU have no populated display port. Only works as gpu coprocessor.

Revision history for this message
penalvch (penalvch) wrote :

Guillermo Lo Coco, this report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1406222/comments/11 regarding vgaswitcharoo doesn't support muxless systems. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in xorg (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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