View previous topic :: View next topic |
Author |
Message |
DeadToRight n00b
Joined: 28 Jun 2018 Posts: 22
|
Posted: Tue Jul 31, 2018 3:34 pm Post subject: SOLVED: Xen- startx fails w/ amdgpu's glamor on Dom0 |
|
|
first error in Xorg.0.log wrote: | (EE) glamor0: GL error: GL_OUT_OF_MEMORY in glTexSubImage |
'startx' works just fine when this kernel is booted directly. Changing the bootloader to to msdos-partitioning or gpt-partitioning, efi or not seems to make no difference.
I'm not even sure what logs to post exactly. Help?
Last edited by DeadToRight on Wed Aug 08, 2018 3:27 am; edited 1 time in total |
|
Back to top |
|
|
DeadToRight n00b
Joined: 28 Jun 2018 Posts: 22
|
Posted: Wed Aug 01, 2018 12:23 am Post subject: |
|
|
using the line 'exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startlxde' in .xinitrc seems to make *some* progress.
I had to dispense with any desktop background for that to work. Opening image files directly crashes the X session. And firefox pages are often nothing but unintelligible artifact-gibberish until I highlight the entire screen. Even then... plenty of artifacts. gpicview is a fast way to crash the X session. Yet... shutter was allowed to take (accurately jumbled) screenshots of firefox without problems. |
|
Back to top |
|
|
DeadToRight n00b
Joined: 28 Jun 2018 Posts: 22
|
Posted: Wed Aug 08, 2018 3:26 am Post subject: |
|
|
Finally found a solution! I had to
Here's the Gentoo Wiki that I had been following:
https://wiki.gentoo.org/wiki/AMDGPU
I had been following that about the "video_cards=amdgpu radeonsi" in my make.conf
But after all these error threw up about gallium and glamor, where "radeon_si" was in the path somewhere? It was just time to cut it out.
make.conf wrote: | VIDEO_CARDS="amdgpu" |
emerge --unmerge xf86-video-ati, Because KILL IT.
emerge -NavD world wrote: | media-libs/mesa | where "VIDEO_CARDS=" had no members in that package's use flags.
some_user_who_talks_smack wrote: | But that means mesa doesn't have functionality specific to your card! |
Don't care. I got a desktop background again, JPGs dont crash X, and firefox doesn't look like artifact-salad. When the Gentoo Team is ready, they'll give me some in mesa. And we'll see if that breaks anything.
In the mean time, with my "Southern Islands" graphics card, I still wanted that funcitonality in the Kernel:
cd /usr/src/linux && make menuconfig wrote: |
Device Drivers --->
Graphics Support --->
<*> AMD GPU
[*] Enable amdgpu support for SI parts
|
If you check out the "Help" on that menu entry, you'll have to have that enabled by the kernel commandline at boot-time. Lets automate that:
/etc/default/grub wrote: |
GRUB_CMDLINE_LINUX=" [...] amdgpu.si_support=1"
| (note the ellipsis is for unrelated flags in mine and yours.) Just add it, and run 'grub-mkconfig -o /boot/grub/grub.cfg' like you always do, or whatever else you need.
If anyone else has better ideas, like how to add amdgpu to mesa... I'm all ears. But I'm marking this as solved. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|