[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Daniel van Vugt
1) Safe mode is expected to fail because it disables graphics drivers.
2) Live session all working fine.
3) Graphics working but not able to start a terminal.

So the only problem here is the last one where you couldn't start a
terminal. Did you try Ctrl+Alt+T ? Did the shell respond to mouse
clicks? Were you able to launch any other apps?

** Summary changed:

- radeon / amdgpu bad performance or panics
+ Unknown bug

** Package changed: mesa (Ubuntu) => ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  Unknown bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Sebastian Schauenburg
Here are logs from 3 separate type of boots (actually I had to reboot at
least 20 times, because I had a lot of crashes/hangs):

1) USB safemode boot (since the normal USB boot didn't work ~ 5 times)
2) USB normal boot (it worked, don't know why, but I'm not complaining)
3) normal installed boot (could log in to GDM, but was not able to start a 
terminal. Had to switch to VT3 and back to get something useful from the 
system. Eventually I logged in via SSH. So I was not able to get glxinfo, hope 
the glxinfo from "2)" suffices.)

** Attachment added: "20220526_logs.zip"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5593151/+files/20220526_logs.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Daniel van Vugt
We can't read crash files. You need to use the 'ubuntu-bug' or 'apport-
cli' tools to upload crash files.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Sebastian Schauenburg
With the live USB stick, there are also Xorg issues. Even got a nice
crash rapport.

** Attachment added: "_usr_lib_xorg_Xorg.127.crash"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5593009/+files/_usr_lib_xorg_Xorg.127.crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Daniel van Vugt
The attachment in comment #16 shows Vulkan is now working, but only with
software rendering(?) so that's going to be slow...

Please run these again:

  lspci -k > lspci.txt
  journalctl -b0 > journal.txt
  glxinfo > glxinfo.txt

and attach the resulting text files here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-26 Thread Sebastian Schauenburg
Here's the vulkaninfo. I got lucky, since the entire GUI hung shortly
after (don't think it's related to running this specific command
though).

Reverted the Wayland (GDM) change, so it's stock behaviour. And yes, I
switched back to stock config and kernel.

Will try to USB live version shortly.

** Attachment added: "vulkaninfosudo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5593007/+files/vulkaninfosudo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-25 Thread Daniel van Vugt
Oh I see you started with Ubuntu Server.

Please:

1. Don't disable Wayland. Wayland should be enabled.

2. Answer the previous question: After you have switched back to a
'stock' config and kernel, what does vulkaninfo report?

3. Try booting desktop Ubuntu from USB:
https://ubuntu.com/download/desktop If that just works then we're
probably wasting time here figuring out how to un-customise this server
install. Just install desktop instead.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-25 Thread Sebastian Schauenburg
Sorry for the late reply.

tonight I installed the full ubuntu-desktop package (with a "clean" test
user) and experienced crashes/hangs and other weird behaviour with the
stock setup. When I disabled Wayland in GDM3, it got a little better,
until that had issues as well.

Note: I went from an 7+ year old Intel CPU -> AMD Ryzen CPU (GPU stayed
the same)

What kind of information is useful to provide including which logs?
Would it help if I provided journalctl logs of with/without wayland and
until the moment of the crash/hang?

P.S. thanks for trying to help me out here

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-25 Thread Daniel van Vugt
Before the upgrade it was an Intel GPU.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-25 Thread Timo Aaltonen
aiui the radv vulkan driver requires amdgpu kernel driver, so I don't
know how you could have it working before the upgrade.

the default driver for SI cards is radeon, that won't change so
essentially we don't support vulkan on those

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-25 Thread Daniel van Vugt
I don't know much about AMD GPUs but from what I've seen there is
usually only one kernel graphics driver that works for a given GPU.

After you have switched back to a 'stock' config and kernel, what does
vulkaninfo report? Does the "bad performance" persist?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
am currently using AwesomeWM ( https://awesomewm.org/ ) with LightDM.

- when I ran the vulkaninfo this time, I temporarily switched back to 'stock' 
config (which is radeon, not amdgpu). So that might be correct. Should I switch 
to amdgpu and run it again?
- between first post and now, I also switched back to the stock jammy kernel
- thanks for the pointer about the compositor, didn't look into that yet. 
Checked and I didn't have a compositor installed (probably). So I installed 
"compton" as a compositor again (used it as well on my previous system), but 
that didn't help one bit (made it worse actually). So I uninstalled it again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Daniel van Vugt
OK so multiple problems there, which may have the same root cause:

* Your shell/compositor seems to be causing stalling.

* vulkaninfo says your GPU is "not using the AMDGPU kernel driver:
Invalid argument (VK_ERROR_INCOMPATIBLE_DRIVER)"

Sounds fundamentally like the kernel graphics driver isn't working.
Please try the supported Ubuntu kernel instead.

Also what desktop environment is this?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
Noticed something quite weird when using the default kernel module
(radeon).

- when running glxgears, it starts running normally, but stalls quickly. If I 
active movement (hightling a part of my terminal and moving the mouse around 
simultaneously), it seems to skyrocket and run normally. Until I stop moving my 
mouse (which highlightning a piece of the terminal), then it stops running 
again (5FPS, not being re-drawn).
- When using Firefox, it appears to 'stall' regularly. But if I hide the 
window, it seems like the page is being processed (for example when visiting a 
site) and when I show the window again, it is updated. This does not happen 
when the window is being showed, it just appears to hang.

Additional piece of info: I have a 4K 60hz monitor.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
** Attachment added: "lsmod.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5592575/+files/lsmod.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
** Attachment added: "vulkaninfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5592574/+files/vulkaninfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
** Attachment added: "glxinfo.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+attachment/5592573/+files/glxinfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Daniel van Vugt
The errors in comment #2 are kernel bugs so please also try the official
Ubuntu kernel (5.15) instead.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Daniel van Vugt
Thanks for the bug report. Please run:

  sudo apt install mesa-utils vulkan-tools
  glxinfo > glxinfo.txt
  vulkaninfo > vulkaninfo.txt

and attach the resulting text files here.


** Package changed: xorg (Ubuntu) => mesa (Ubuntu)

** Changed in: mesa (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1975566] Re: radeon / amdgpu bad performance or panics

2022-05-24 Thread Sebastian Schauenburg
Already tried out some different things:
- Tried the latest linux kernel
- Fiddled with amdgpu & radeon kernel module options
- Tried running the amdgpu kernel module instead of radeon

Had to SSH into the machine to do anything (usually the system locks
up).

Some error messages from the fiddling:
# kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled 
seq=19833, emitted seq=19835
# kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: 
process Xorg pid 1758 thread Xorg:cs0 pid 1798

# kernel: [drm] Fence fallback timer expired on ring sdma1
# kernel: [drm] Fence fallback timer expired on ring gfx

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975566

Title:
  radeon / amdgpu bad performance or panics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1975566/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs