1 |
On 2016-08-26 16:09, Corbin Bird wrote: |
2 |
|
3 |
> >> I don't remember if you specified your appended command-line kernel |
4 |
> >> parameters ( lilo / grub / grub2 ). I have an AMD Phenom II x4 980. The |
5 |
> >> parameters have a major effect on the video ( i.e. AGP / IOMMU usage ). |
6 |
|
7 |
> Try setting up the IOMMU. ( Stabilize memory setup / management ) |
8 |
> |
9 |
> The IOMMU is really a modified "AGP bridge" built into the CPU. |
10 |
> |
11 |
> Typical dmesg output : |
12 |
> [ 0.000000] AGP: No AGP bridge found |
13 |
> |
14 |
> If you don't create a "reserved for the AGP Aperature" memory block or |
15 |
> setup the IOMMU, the kernel will setup 64Mg of memory and reserve it for |
16 |
> "e820 -> AGP Aperature". If the IOMMU is not setup, it will |
17 |
> automatically use ALL of the "AGP Aperature Reserved" memory. |
18 |
> |
19 |
> The added kernel parameter for ( AGP / IOMMU on x86_64 ) : |
20 |
> iommu=memaper[=1],noaperture |
21 |
> |
22 |
> This sets up 64Mg for the IOMMU, and tells it "do not touch 'reserved |
23 |
> for the AGP Aperature' memory". |
24 |
> ( Software IO TLB is now preferred / automatic on 4.1.xx kernels. ) |
25 |
> |
26 |
> Typical dmesg output : |
27 |
> [ 0.636904] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40 |
28 |
> [ 0.637060] AMD-Vi: Interrupt remapping enabled |
29 |
> [ 0.644282] AMD-Vi: Lazy IO/TLB flushing enabled |
30 |
> [ 0.717543] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) |
31 |
> [ 0.717700] software IO TLB [mem 0xb9ee4000-0xbdee4000] (64MB) mapped |
32 |
> at [ffff8800b9ee4000-ffff8800bdee3fff] |
33 |
> |
34 |
> KMS enabled X drivers need this setup on ( Fam10h / Fam15h ) CPUs. |
35 |
|
36 |
Some of the dmesg output on my system: |
37 |
|
38 |
root@matica ~ # dmesg | fgrep -e AGP -e IOMMU -e TLB |
39 |
[ 0.000000] AGP: No AGP bridge found |
40 |
[ 0.000000] AGP: Checking aperture... |
41 |
[ 0.000000] AGP: No AGP bridge found |
42 |
[ 0.000000] AGP: Node 0: aperture [bus addr 0xa4000000-0xa5ffffff] (32MB) |
43 |
[ 0.000000] AGP: Your BIOS doesn't leave an aperture memory hole |
44 |
[ 0.000000] AGP: Please enable the IOMMU option in the BIOS setup |
45 |
[ 0.000000] AGP: This costs you 64MB of RAM |
46 |
[ 0.000000] AGP: Mapping aperture over RAM [mem 0xa4000000-0xa7ffffff] (65536KB) |
47 |
[ 0.005699] Last level iTLB entries: 4KB 512, 2MB 16, 4MB 8 |
48 |
[ 0.005700] Last level dTLB entries: 4KB 512, 2MB 128, 4MB 64, 1GB 0 |
49 |
[ 0.802036] PCI-DMA: Disabling AGP. |
50 |
[ 0.802111] PCI-DMA: using GART IOMMU. |
51 |
[ 0.802113] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture |
52 |
|
53 |
Do your recommendations still hold? |
54 |
|
55 |
FWIW my BIOS setup has no option even remotely mentioning IOMMU, so I |
56 |
don't know what the kernel is trying to tell me there. |
57 |
|
58 |
This video is integrated with my motherboard (Gigabyte GA-880GM) and it |
59 |
is not an external card plugged into a slot. |
60 |
|
61 |
The kernel module is radeon and I'm pretty sure kernel modesetting is |
62 |
the default. |
63 |
|
64 |
Lastly, I never had this problem with 3.x kernels and the same hardware |
65 |
(on Debian, and I think the last I used was 3.12, but I could be wrong |
66 |
by a couple). |
67 |
|
68 |
Thanks for trying to help! |
69 |
|
70 |
-- |
71 |
Please *no* private Cc: on mailing lists and newsgroups |
72 |
Why does the arrow on Hillary signs point to the right? |