Re: X11 not working on 11-STABLE with AMDGPU
The only thing that actually worked for me was the kms module loaded in rc.conf. Any attempt to configure the display in xorg.conf resulted in an X server that would not start, but would continue running for awhile and appear in the process list before it finally gave up. But again, I must have an older AMD GPU because it uses the radeonkms driver instead of amdgpu. (It's an AMD A10-7860k with Radeon R7 graphics) On another note, I'm using UEFI boot. Based on my limited understanding, I think that means X is actually using the scfb driver, which is not ideal from what I understand (no accelerated graphics). But it works fine for what I do, and it's the only configuration I could get working. CLM On 8/1/18 11:47 AM, Pete Wright wrote: On 8/1/18 7:12 AM, Piotr Kubaj via freebsd-x11 wrote: Hm, ok, I may have not been clear with my problem. Xorg DID work before. It certainly won't accept radeon driver - it's RX560. I certainly had working Xorg about two weeks ago. Then after a reboot, boom, no more graphics. So my configuration is right. Even though I don't need the whole xorg.conf, I need xorg.conf.d directory with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise it tries to use modesetting. does the modesetting driver work when you remove the xorg.conf? (might have missed that). -pete ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
On 8/1/18 7:14 AM, Piotr Kubaj wrote: I did test after sending previous mail, but loading amdgpu from drm-stable-kmod makes the computer just restart :/ that's not good - if you feel like trying to debug that issue you can set the following sysctl knobs which should generate and save a corefile when it panic's: set this in sysctl.conf: |debug.debugger_on_panic=0| |and add this to /boot/loader.conf:| |dev.drm.skip_ddb="1" then, if you have dumpdev defined like so in rc.conf it should save a core in /var/crash: dumpdev="AUTO" this sounds like a regression if things were working with a previous build but i reckon we'll need more info to help debug. -pete| -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
On 8/1/18 7:12 AM, Piotr Kubaj via freebsd-x11 wrote: Hm, ok, I may have not been clear with my problem. Xorg DID work before. It certainly won't accept radeon driver - it's RX560. I certainly had working Xorg about two weeks ago. Then after a reboot, boom, no more graphics. So my configuration is right. Even though I don't need the whole xorg.conf, I need xorg.conf.d directory with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise it tries to use modesetting. does the modesetting driver work when you remove the xorg.conf? (might have missed that). -pete -- Pete Wright p...@nomadlogic.org @nomadlogicLA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
I did test after sending previous mail, but loading amdgpu from drm-stable-kmod makes the computer just restart :/ The GPU is certainly ok (not broken) - it runs Xorg on Gentoo. On 18-08-01 07:05:02, Pete Wright wrote: On Aug 1, 2018 2:28 AM, Piotr Kubaj via freebsd-stable wrote: Hi, I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used). When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it. Was there some regression recently? Was your config working with drm-next previously? I would suggest testing drm-stable when running 11-STABLE. -pete -- This message has been scanned for viruses and dangerous content by [1]MailScanner, and is believed to be clean. References 1. http://www.mailscanner.info/ -- _ / FORTUNE ANSWERS THE TOUGH QUESTIONS: #8 \ | | | Q: Is God a myth? A: No, He's a | \ mythter./ - \ ^__^ \ (oo)\___ (__)\ )\/\ ||w | || || signature.asc Description: PGP signature
Re: X11 not working on 11-STABLE with AMDGPU
Hm, ok, I may have not been clear with my problem. Xorg DID work before. It certainly won't accept radeon driver - it's RX560. I certainly had working Xorg about two weeks ago. Then after a reboot, boom, no more graphics. So my configuration is right. Even though I don't need the whole xorg.conf, I need xorg.conf.d directory with a snippet that forces GPU to use to use amdgpu X11 driver - otherwise it tries to use modesetting. On 18-08-01 08:46:05, CL Moonriver wrote: Hi, I had some trouble getting X to work with my AMD GPU, but I finally did get it working. Here is what ultimately worked for me: * Make sure you are loading the driver in /etc/rc.conf, not in /boot/loader.conf. The driver won't work if loaded from loader.conf * Depending on how old your AMD GPU is, you might need the radeon driver instead of the amdgpu driver. When the amdgpu driver didn't work for me, I tried radeonkms.ko and it does work. * You shouldn't need an xorg.conf fileĀ or anything in xorg.conf.d at all. Everything should just work if you load the correct kernel module. In fact, if you have xorg configuration files that are trying to load display drivers or screens, that might be causing problems. I'm not using any xorg.conf or xorg.conf.d files at all. When I was using them, X would not start. Hopefully, these tips help with your problem. On 8/1/18 4:28 AM, Piotr Kubaj via freebsd-stable wrote: Hi, I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used). When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it. Was there some regression recently? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- ___ < You do not have mail. > --- \ ^__^ \ (oo)\___ (__)\ )\/\ ||w | || || signature.asc Description: PGP signature
Re: X11 not working on 11-STABLE with AMDGPU
___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: X11 not working on 11-STABLE with AMDGPU
Hi, I had some trouble getting X to work with my AMD GPU, but I finally did get it working. Here is what ultimately worked for me: * Make sure you are loading the driver in /etc/rc.conf, not in /boot/loader.conf. The driver won't work if loaded from loader.conf * Depending on how old your AMD GPU is, you might need the radeon driver instead of the amdgpu driver. When the amdgpu driver didn't work for me, I tried radeonkms.ko and it does work. * You shouldn't need an xorg.conf fileĀ or anything in xorg.conf.d at all. Everything should just work if you load the correct kernel module. In fact, if you have xorg configuration files that are trying to load display drivers or screens, that might be causing problems. I'm not using any xorg.conf or xorg.conf.d files at all. When I was using them, X would not start. Hopefully, these tips help with your problem. On 8/1/18 4:28 AM, Piotr Kubaj via freebsd-stable wrote: Hi, I use FreeBSD 11.2-STABLE (from 23.07). After recent updates, I am unable to start X11 (Xorg.0.log is attached). I have rebuilt drm-next-kmod and Xorg-related ports. Xorg fails to start both with amdgpu kernel driver with amdgpu Xorg driver and without amdgpu kerner driver (vesa is then used). When using amdgpu, the X process starts (even though there's no display), but it looks like zombie - only reboot is able to kill it. Was there some regression recently? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"