[Bug 70687] vgaswitcheroo issues on Linux 3.12

2013-12-01 Thread bugzilla-dae...@freedesktop.org
 snd_pcm snd_page_alloc snd_seq_midi
snd_seq_midi_event snd_rawmidi battery snd_seq snd_seq_device snd_timer radeon
ac video ttm snd drm_kms_helper drm i2c_algo_bit soundcore i2c_core
acpi_cpufreq processor button ext4 crc16 mbcache jbd2 btrfs xor raid6_pq crc32c
libcrc32c nbd ums_realtek usb_storage sg sd_mod sr_mod cdrom crc_t10dif
crct10dif_common hid_generic usbhid hid microcode ahci sdhci_pci libahci sdhci
mmc_core libata ohci_pci ohci_hcd ehci_pci ehci_hcd scsi_mod thermal
thermal_sys r8169 mii xhci_hcd usbcore usb_common
[   29.186223] CPU: 0 PID: 2890 Comm: kworker/0:3 Tainted: GW   
3.12.0-teoteo #3
[   29.186227] Hardware name: ASUSTeK Computer Inc. K73TA/K73TA, BIOS 206
07/20/2011
[   29.186234] Workqueue: kacpi_hotplug hotplug_event_work
[   29.186238]  0009 8149ddee 
81059d06
[   29.186246]  8800890119c0 8801497e8290 0008
880147d1c6c0
[   29.186252]  880146495400 a03d6a36 8800882bbc70
8801497e8098
[   29.186259] Call Trace:
[   29.186268]  [] ? dump_stack+0x41/0x51
[   29.186276]  [] ? warn_slowpath_common+0x86/0xb0
[   29.186291]  [] ? ttm_dma_free_pool+0x126/0x130 [ttm]
[   29.186298]  [] ? release_nodes+0x199/0x1e0
[   29.186307]  [] ? __device_release_driver+0x7d/0xe0
[   29.186313]  [] ? device_release_driver+0x24/0x40
[   29.186319]  [] ? bus_remove_device+0xf2/0x140
[   29.186326]  [] ? device_del+0x11a/0x1b0
[   29.186334]  [] ? pci_stop_bus_device+0x8d/0xb0
[   29.186342]  [] ? pci_stop_and_remove_bus_device+0x9/0x20
[   29.186348]  [] ? disable_slot+0x66/0xb0
[   29.186355]  [] ? acpiphp_check_bridge+0x98/0xc0
[   29.186362]  [] ? hotplug_event+0x11a/0x260
[   29.186369]  [] ? hotplug_event_work+0x1d/0x60
[   29.186375]  [] ? process_one_work+0x176/0x430
[   29.186381]  [] ? worker_thread+0x10d/0x3a0
[   29.186387]  [] ? rescuer_thread+0x310/0x310
[   29.186395]  [] ? kthread+0xaf/0xc0
[   29.186403]  [] ? kthread_create_on_node+0x110/0x110
[   29.186411]  [] ? ret_from_fork+0x7c/0xb0
[   29.186418]  [] ? kthread_create_on_node+0x110/0x110
[   29.186423] ---[ end trace f91634133323f033 ]---
[   30.862453] Netfilter messages via NETLINK v0.30.
[   30.889270] device wlan1 entered promiscuous mode
[   33.515054] Bluetooth: Core ver 2.16


I'm not an experienced kernel developer. Please let me know if you need me to
do any additional diagnostics.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/797ac5b2/attachment.html>


[Bug 66281] DRI_PRIME=1 glxinfo crashes and causes session to restart

2013-12-01 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=66281

--- Comment #1 from mortem.dei at gmail.com ---
Created attachment 116991
  --> https://bugzilla.kernel.org/attachment.cgi?id=116991=edit
lspci -v output

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[Bug 66281] New: DRI_PRIME=1 glxinfo crashes and causes session to restart

2013-12-01 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=66281

Bug ID: 66281
   Summary: DRI_PRIME=1 glxinfo crashes and causes session to
restart
   Product: Drivers
   Version: 2.5
Kernel Version: 3.13 rc2
  Hardware: All
OS: Linux
  Tree: Mainline
Status: NEW
  Severity: high
  Priority: P1
 Component: Video(DRI - non Intel)
  Assignee: drivers_video-dri at kernel-bugs.osdl.org
  Reporter: mortem.dei at gmail.com
Regression: No

I have a new laptop but the secondary GPU can't be accessed by the system
(neither with Nouveau nor bumblebee). With the kernel 3.12 the output of xrandr
didn't even show the card, but with the new one I do get the following output:


xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x66 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 3 associated providers: 1 name:Intel
Provider 1: id: 0x3f cap: 0x5, Source Output, Source Offload crtcs: 0 outputs:
0 associated providers: 1 name:nouveau

However, when I try to run anything with DRI_PRIME=1 glxinfo the system crashes
and I have to restart the session.

OS: Ubuntu 13.10
Laptop: Lenovo Ideapad u430p

Hardware: See lspci:

09:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)
Subsystem: Lenovo Device 3800
Flags: bus master, fast devsel, latency 0, IRQ 68
Memory at b300 (32-bit, non-prefetchable) [size=16M]
Memory at a000 (64-bit, prefetchable) [size=256M]
Memory at b000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at  [disabled]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting 
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 
Kernel driver in use: nouveau

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


[i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-01 Thread Paul Bolle
On Sun, 2013-12-01 at 10:58 +0100, Daniel Vetter wrote:
> Should be fixed with
> 
> commit 7c063c725987406d743cc7de7625ff224fab75de
> Author: Jesse Barnes 
> Date:   Tue Nov 26 09:13:41 2013 -0800
> 
> drm/i915: take mode config lock around crtc disable at suspend
> 
> which is currently in drm-intel-fixes. I'll forward it early next week.

Thanks!

The WARNING is now gone during suspend and resume (having tested that
thoroughly - ie, twice). But I still see it at boot. Is there a related
fix for that WARNING during boot?


Paul Bolle



[Bug 72195] Sea in Crusader Kings II rendered in green colour with grey dots

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=72195

Kamil Pilarski  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Kamil Pilarski  ---
Indeed, it works with sb. Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/a5f1f72a/attachment.html>


[Bug 72198] New: driDriverGetExtensions_r600 not implemented

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=72198

  Priority: medium
Bug ID: 72198
  Assignee: dri-devel at lists.freedesktop.org
   Summary: driDriverGetExtensions_r600 not implemented
  Severity: enhancement
Classification: Unclassified
OS: All
  Reporter: i.gnatenko.brain at gmail.com
  Hardware: Other
Status: NEW
   Version: git
 Component: Drivers/DRI/R600
   Product: Mesa

$ DRI_PRIME=1 LIBGL_DEBUG=verbose glxinfo64
name of display: :0
libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600():
/usr/lib64/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/carasin/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/carasin/.drirc: No such file or
directory.
display: :0  screen: 0
direct rendering: Yes
[snipped]

I think could be good if we will have implemented this func.

Found about the same funcs for intel:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1925a9aebd64b2e08574118891394d9d56db25ae

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/4b289ee5/attachment.html>


[Bug 69775] [r600g] RV730 AGP UVD hang (GPU lockup) with mplayer on dual DVI display with 3.12-rc2

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69775

Christian K?nig  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/43c874e3/attachment.html>


[Bug 72195] Sea in Crusader Kings II rendered in green colour with grey dots

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=72195

--- Comment #2 from Pavel Ondra?ka  ---
IIRC I had the same problem some time ago, this should be working OK with sb
compiler backend. Either upgrade to latest mesa (it has sb enabled by default)
or try to run it with R600_DEBUG=sb

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/f386e8f3/attachment.html>


[Bug 72195] Sea in Crusader Kings II rendered in green colour with grey dots

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=72195

--- Comment #1 from Kamil Pilarski  ---
Created attachment 90049
  --> https://bugs.freedesktop.org/attachment.cgi?id=90049=edit
Screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/c98568b3/attachment-0001.html>


[Bug 72195] New: Sea in Crusader Kings II rendered in green colour with grey dots

2013-12-01 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=72195

  Priority: medium
Bug ID: 72195
  Assignee: dri-devel at lists.freedesktop.org
   Summary: Sea in Crusader Kings II rendered in green colour with
grey dots
  Severity: major
Classification: Unclassified
OS: Linux (All)
  Reporter: pilarski777 at gmail.com
  Hardware: x86-64 (AMD64)
Status: NEW
   Version: 9.2
 Component: Drivers/DRI/R600
   Product: Mesa

GLX version: 1.4
GLX extensions:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TURKS
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.4
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.2.4
OpenGL shading language version string: 1.30

My graphics card is AMD hd7670m, kernel 3.12, dpm on, running on Arch Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131201/6f442151/attachment.html>


[i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-01 Thread Daniel Vetter
Should be fixed with

commit 7c063c725987406d743cc7de7625ff224fab75de
Author: Jesse Barnes 
Date:   Tue Nov 26 09:13:41 2013 -0800

drm/i915: take mode config lock around crtc disable at suspend

which is currently in drm-intel-fixes. I'll forward it early next week.
-Daniel


On Sat, Nov 30, 2013 at 9:38 PM, Paul Bolle  wrote:
> On both v3.13-rc1 and v3.13-rc2 is see this at every boot and during
> every suspend and resume cycle:
>
> <4>[2.682468] WARNING: CPU: 0 PID: 173 at 
> drivers/gpu/drm/i915/intel_display.c:9948 
> intel_get_pipe_from_connector+0x42/0x50 [i915]()
> <5>[2.682470] Modules linked in: i915(F+) ata_generic(F) pata_acpi(F) 
> yenta_socket(F+) i2c_algo_bit(F) drm_kms_helper(F) tg3(F+) ptp(F) pps_core(F) 
> drm(F) i2c_core(F) video(F) sunrpc(F)
> <5>[2.682489] CPU: 0 PID: 173 Comm: systemd-udevd Tainted: GF
> 3.13.0-0.rc2.1.local0.fc18.i686 #1
> <5>[2.682492] Hardware name: IBM 2525FAG/2525FAG, BIOS 74ET61WW (2.06 ) 
> 03/14/2006
> <5>[2.682495]    f54739f4 c09b66d2  f5473a24 
> c0449b14 c0b541a4
> <5>[2.682502]   00ad f82c9524 26dc f8282692 f8282692 
> f555ed80 00061200
> <5>[2.682509]  f567c000 f5473a34 c0449b52 0009  f5473a40 
> f8282692 f5578800
> <5>[2.682516] Call Trace:
> <5>[2.682528]  [] dump_stack+0x41/0x52
> <5>[2.682534]  [] warn_slowpath_common+0x84/0xa0
> <5>[2.682571]  [] ? intel_get_pipe_from_connector+0x42/0x50 
> [i915]
> <5>[2.682607]  [] ? intel_get_pipe_from_connector+0x42/0x50 
> [i915]
> <5>[2.682612]  [] warn_slowpath_null+0x22/0x30
> <5>[2.682648]  [] intel_get_pipe_from_connector+0x42/0x50 [i915]
> <5>[2.682689]  [] intel_panel_disable_backlight+0x21/0x160 
> [i915]
> <5>[2.682725]  [] intel_disable_lvds+0x41/0x160 [i915]
> <5>[2.682760]  [] i9xx_crtc_disable+0x200/0x2c0 [i915]
> <5>[2.682802]  [] ? gen4_read32+0x31/0x90 [i915]
> <5>[2.682839]  [] intel_modeset_setup_hw_state+0x92e/0xb00 
> [i915]
> <5>[2.682844]  [] ? power_down+0x8c/0x8d
> <5>[2.682884]  [] ? gen4_write64+0xa0/0xa0 [i915]
> <5>[2.682920]  [] intel_modeset_gem_init+0x20/0x30 [i915]
> <5>[2.682950]  [] i915_driver_load+0xb53/0xdd0 [i915]
> <5>[2.682978]  [] ? i915_switcheroo_set_state+0xa0/0xa0 [i915]
> <5>[2.683003]  [] drm_dev_register+0x8c/0x1a0 [drm]
> <5>[2.683043]  [] drm_get_pci_dev+0x85/0x130 [drm]
> <5>[2.683050]  [] ? sysfs_do_create_link_sd.isra.3+0xa8/0x1c0
> <5>[2.683057]  [] ? notifier_call_chain+0x43/0x60
> <5>[2.683086]  [] i915_pci_probe+0x3a/0x80 [i915]
> <5>[2.683093]  [] pci_device_probe+0x79/0xc0
> <5>[2.683097]  [] ? sysfs_create_link+0x25/0x40
> <5>[2.683104]  [] driver_probe_device+0x79/0x360
> <5>[2.683108]  [] ? pci_match_device+0x9e/0xb0
> <5>[2.683113]  [] __driver_attach+0x91/0xa0
> <5>[2.683117]  [] ? driver_probe_device+0x360/0x360
> <5>[2.683121]  [] bus_for_each_dev+0x42/0x80
> <5>[2.683125]  [] driver_attach+0x1e/0x20
> <5>[2.683130]  [] ? driver_probe_device+0x360/0x360
> <5>[2.683134]  [] bus_add_driver+0xec/0x210
> <5>[2.683138]  [] driver_register+0x59/0xe0
> <5>[2.683142]  [] ? 0xf7fb1fff
> <5>[2.683147]  [] __pci_register_driver+0x33/0x40
> <5>[2.683150]  [] ? 0xf7fb1fff
> <5>[2.683166]  [] drm_pci_init+0xfd/0x110 [drm]
> <5>[2.683170]  [] ? 0xf7fb1fff
> <5>[2.683198]  [] i915_init+0x5e/0x60 [i915]
> <5>[2.683203]  [] do_one_initcall+0xda/0x1a0
> <5>[2.683206]  [] ? 0xf7fb1fff
> <5>[2.683211]  [] ? __add_event_to_tracers+0x21/0x30
> <5>[2.683215]  [] ? 0xf7fb1fff
> <5>[2.683221]  [] ? set_memory_ro+0x37/0x40
> <5>[2.683228]  [] load_module+0x1abd/0x2390
> <5>[2.683235]  [] SyS_init_module+0xa7/0x110
> <5>[2.683242]  [] ? vm_mmap_pgoff+0x8b/0xb0
> <5>[2.683248]  [] sysenter_do_call+0x12/0x28
>
> Feel free to prod for further details.
>
>
> Paul Bolle
>



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch