[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

Michel D?nzer  changed:

   What|Removed |Added

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

--- Comment #24 from Michel D?nzer  ---
(In reply to comment #22)
> Now without xorg.conf and with xorg.conf.d with:
> Section "Module"
>   Load "dri2"
>   Load "glamoregl"
> EndSection
> 
> Xorg start without any problem.

FWIW, the xorg.conf.d snippet shouldn't be necessary anymore either with
xserver 1.15 or newer.


> And what about render nodes? Will I be able to use second GPU as a render
> node?

You should be, but that doesn't help you for X.

Not sure why X is ignoring your second GPU, but I notice that you are using
slightly outdated Git snapshots of xserver and xf86-video-ati. Can you try the
latest releases or a current Git snapshot for those?


> Or this hybrid AMD GPU is considered as one and not two GPU?

No.


> For what concern this bug, You can now close it.

Doing so, BTW you can do this yourself. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #23 from Marco  ---
Created attachment 94179
  --> https://bugs.freedesktop.org/attachment.cgi?id=94179&action=edit
Latest xorg.log without xorg.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #22 from Marco  ---
Tried yesterday mesa git:
latest commit 1020d8937ef52725cc5adafc12465f6332815.

Now without xorg.conf and with xorg.conf.d with:
Section "Module"
Load "dri2"
Load "glamoregl"
EndSection

Xorg start without any problem.

marco at albireo:~/src/mesa.git$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KABINI
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel
(git-1020d89)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.2.0-devel (git-1020d89)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

But... what about my second GPU? I was hoping to use it with DRI_PRIME but:
xrandr --listproviders 
shows only
Providers: number : 1
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 2 outputs: 3 associated providers: 0 name:radeon

And what about render nodes? Will I be able to use second GPU as a render node?

Or this hybrid AMD GPU is considered as one and not two GPU?

For what concern this bug, You can now close it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #21 from Marco  ---
Created attachment 94032
  --> https://bugs.freedesktop.org/attachment.cgi?id=94032&action=edit
Dmesg for running kernel

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #20 from Marco  ---
Created attachment 94031
  --> https://bugs.freedesktop.org/attachment.cgi?id=94031&action=edit
Xorg.log with previous xorg.conf

This is the log from xorg using previous xorg.conf.hybrid

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #19 from Marco  ---
Created attachment 94030
  --> https://bugs.freedesktop.org/attachment.cgi?id=94030&action=edit
Modified xorg.conf with two gpus

Yes, still an issue with:
mesa git as of today;
kernel 3.13.2 with VCE patches on top.

Without xorg.conf X doesn't come up: I only have a blank screen with caret
cursor on upper left corner.
Using a modified Xorg with the two cards now works: before it never worked.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2014-02-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #18 from Michel D?nzer  ---
Is this still an issue with current Mesa Git?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #17 from Marco  ---
> Are you sure it doesn't work if you remvoe your xorg.conf completely?
Yes, I'm sure. Without a xorg.conf I only have a black screen with the cursor
caret in the upper left corner.

I also tried disabling dpm (radeon.dpm=0) but the result is the same.

I think the problem is due to having two gpus under radeon driver and glamor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #16 from Alex Deucher  ---
Are you sure it doesn't work if you remvoe your xorg.conf completely?  You
don't need one and in most cases it causes more problems than it solves.  Also
you can remove this line:
Virtual   5760 1920
from your config.   Unless you are actually using a large virtual desktop, it
just wastes memory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #15 from Marco  ---
Created attachment 86601
  --> https://bugs.freedesktop.org/attachment.cgi?id=86601&action=edit
xorg.conf working with only one GPU (HD8330)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #14 from Marco  ---
I found a workaround!

Disabling second GPU in xorg.conf let me enter in X with acceleration enabled:

marco@albireo:~$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KABINI
OpenGL version string: 2.1 Mesa 9.3.0-devel
OpenGL shading language version string: 1.30

Finally!!! And all is working fine.

Then the bug is related to having 2 GPU.
At least now I can play games (with only one GPU).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #13 from Marco  ---
Created attachment 86482
  --> https://bugs.freedesktop.org/attachment.cgi?id=86482&action=edit
Backtrace of crash

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #12 from Marco  ---
Created attachment 86481
  --> https://bugs.freedesktop.org/attachment.cgi?id=86481&action=edit
xorg.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #11 from Marco  ---
All is compiled with --enable-glx-tls.

No more ideas...
I'm attaching latest try with xorg.conf and backtrace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #10 from Marco  ---
Thinking on it twice and rebuilding new mesa from git I remember I had this
notification during build:
undefined symbol: _glapi_tls_Context

I will look into configure flags of both mesa and xserver (--enable-glx-tls)
and let you know.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #9 from Marco  ---
But unfortunatly, commenting glx module doesn't solve my problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #8 from Marco  ---
Looks terribly similar to:
https://bugs.freedesktop.org/show_bug.cgi?id=69682

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #7 from Marco  ---
Created attachment 86423
  --> https://bugs.freedesktop.org/attachment.cgi?id=86423&action=edit
Gdb trace whe uncommenting glamoregl

Uncommenting "glamoregl" in the working xorg.conf lead to crash described in
the gdb attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #6 from Marco  ---
Created attachment 86422
  --> https://bugs.freedesktop.org/attachment.cgi?id=86422&action=edit
xorg.conf working (lead to llvmpipe render)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #5 from Marco  ---
Removing xorg.conf leads to the same crash (trace is very similar).

Then I tried with this little xorg.conf (to load glamoregl)

Section "Module"
Load  "dri2"
Load  "glamoregl"
Load  "glx"
EndSection

but result is always the same crash.

The only configuration with which I can start Xorg (but with llvmpipe renderer)
is the xorg.conf attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #4 from Alex Deucher  ---
Can you try removing your xorg.conf?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #3 from Marco  ---
Created attachment 86339
  --> https://bugs.freedesktop.org/attachment.cgi?id=86339&action=edit
dmesg log

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #2 from Marco  ---
Created attachment 86338
  --> https://bugs.freedesktop.org/attachment.cgi?id=86338&action=edit
Xorg.0.log

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 69694] Xorg doesn't start on KABINi with radeonsi

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69694

--- Comment #1 from Marco  ---
Created attachment 86337
  --> https://bugs.freedesktop.org/attachment.cgi?id=86337&action=edit
xorg.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel