From: <bug...@fr...> - 2010-04-07 00:30:39
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 Summary: modeset=1 causes fallback to software rendering on RV350 (PowerBook G4) Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/r300 AssignedTo: dri...@li... ReportedBy: jer...@fr... Created an attachment (id=34736) --> (https://bugs.freedesktop.org/attachment.cgi?id=34736) modeset=0, dmesg I have a PowerBook G4 with an RV350 0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Subsystem: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 48 Memory at b8000000 (32-bit, prefetchable) [size=128M] I/O ports at 0400 [size=256] Memory at b0000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at b0020000 [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 Kernel driver in use: radeonfb Kernel modules: radeon When loading the radeon kernel module with modeset=1, /dev/dri/card0 is not created, and we fall back on swrast. When loading the radeon kernel module with modeset=0, /dev/dri/card0 is created, and we have HW rendering -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:31:01
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #1 from Jeremy Huddleston <jer...@fr...> 2010-04-06 17:30:55 PDT --- Created an attachment (id=34737) --> (https://bugs.freedesktop.org/attachment.cgi?id=34737) modeset=0, Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:31:26
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #2 from Jeremy Huddleston <jer...@fr...> 2010-04-06 17:31:19 PDT --- Created an attachment (id=34738) --> (https://bugs.freedesktop.org/attachment.cgi?id=34738) modeset=1, dmesg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:31:46
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #3 from Jeremy Huddleston <jer...@fr...> 2010-04-06 17:31:39 PDT --- Created an attachment (id=34739) --> (https://bugs.freedesktop.org/attachment.cgi?id=34739) modeset=1, Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:32:22
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #4 from Jeremy Huddleston <jer...@fr...> 2010-04-06 17:32:15 PDT --- This is with the latest 2.3.32 ubuntu kernels as well as vanilla 2.3.32.11 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:34:42
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 Alex Deucher <ag...@ya...> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34736|application/octet-stream |text/plain mime type| | Attachment #34736|0 |1 is patch| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 00:36:48
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #5 from Alex Deucher <ag...@ya...> 2010-04-06 17:36:40 PDT --- The drm is failing to load when kms is enabled likely due to radeonfb claiming the device. try blacklisting radeonfb. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:03:49
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 Jeremy Huddleston <jer...@fr...> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mi...@da... --- Comment #6 from Jeremy Huddleston <jer...@fr...> 2010-04-06 18:03:42 PDT --- Based on Michael's comments, it looks like radeonfb and radeon can live side-by-side, and radeonfb is needed for console access: http://lists.x.org/archives/xorg-devel/2009-May/000814.html I'd rather not blacklist radeonfb and loose console. Does the KMS support in 2.6.32's radeon driver allow console access without radeonfb, and if so, is there anything special I need to do to use it? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:10:38
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #7 from Alex Deucher <ag...@ya...> 2010-04-06 18:10:31 PDT --- (In reply to comment #6) > Based on Michael's comments, it looks like radeonfb and radeon can live > side-by-side, and radeonfb is needed for console access: > > http://lists.x.org/archives/xorg-devel/2009-May/000814.html before KMS, the drm coexisted with kernel fb driver since it didn't provide an fb interface itself. Now the drm is a real driver. > > I'd rather not blacklist radeonfb and loose console. > > Does the KMS support in 2.6.32's radeon driver allow console access without > radeonfb, and if so, is there anything special I need to do to use it? The drm provides a kernel fb interface for the console just like radeonfb. So it's a replacement for radeonfb and then some. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:13:03
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #8 from Alex Deucher <ag...@ya...> 2010-04-06 18:12:56 PDT --- Although make sure your radeon drm is built with kms support. It was in staging until 2.6.33, so you have to enable staging drivers to use it. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:14:53
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #9 from Alex Deucher <ag...@ya...> 2010-04-06 18:14:45 PDT --- Thinking about it more, I suspect you don't have a kms enabled drm, but the drm is failing to load since you've passed the module an invalid option (modeset, which is invalid if your drm doesn't have kms support). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:37:29
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #10 from Jeremy Huddleston <jer...@fr...> 2010-04-06 18:32:12 PDT --- (In reply to comment #9) > Thinking about it more, I suspect you don't have a kms enabled drm, but the drm > is failing to load since you've passed the module an invalid option (modeset, > which is invalid if your drm doesn't have kms support). No, that isn't the case because it works successfully when I give it the option modeset=0 Also modinfo reports: parm: no_wb:Disable AGP writeback for scratch registers (int) parm: modeset:Disable/Enable modesetting (int) parm: dynclks:Disable/Enable dynamic clocks (int) parm: r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int) parm: vramlimit:Restrict VRAM for testing (int) parm: agpmode:AGP Mode (-1 == PCI) (int) parm: gartsize:Size of PCIE/IGP gart to setup in megabytes (32,64, etc) (int) parm: benchmark:Run benchmark (int) parm: test:Run tests (int) parm: connector_table:Force connector table (int) parm: tv:TV enable (0 = disable) (int) parm: new_pll:Select new PLL code for AVIVO chips (int) parm: audio:Audio enable (0 = disable) (int) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:42:32
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #11 from Jeremy Huddleston <jer...@fr...> 2010-04-06 18:33:15 PDT --- And I do have staging enabled: CONFIG_STAGING=y CONFIG_STAGING_EXCLUDE_BUILD=y -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 01:46:37
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #12 from Alex Deucher <ag...@ya...> 2010-04-06 18:46:30 PDT --- (In reply to comment #10) > No, that isn't the case because it works successfully when I give it the option > modeset=0 > Ah right. It's probably radeonfb then. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 02:27:39
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #13 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:27:32 PDT --- Created an attachment (id=34745) --> (https://bugs.freedesktop.org/attachment.cgi?id=34745) 2.6.33.2,radeon,no_radeonfb dmesg -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 02:29:33
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #14 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:29:27 PDT --- Created an attachment (id=34746) --> (https://bugs.freedesktop.org/attachment.cgi?id=34746) 2.6.33.2,radeon,no_radeonfb Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 02:30:02
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #15 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:29:56 PDT --- Ok, I built 2.6.33.2 without radeonfb and enabled KMS on the radeon drm driver. lspci -v reports: 0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Subsystem: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 48 Memory at b8000000 (32-bit, prefetchable) [size=128M] I/O ports at 0400 [size=256] Memory at b0000000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at b0020000 [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 Kernel driver in use: radeon The fb mode is completely garbage. I waited long enough, and eventually X loaded, but I could not read any of the garbled output on the display in console mode. /dev/dri is present: root@aerith:~# ls -l /dev/dri* total 0 crw-rw----+ 1 root video 226, 0 2010-04-06 19:19 card0 crw-rw---- 1 root video 226, 64 2010-04-06 19:19 controlD64 but glxinfo shows swrast being used -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 02:31:27
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #16 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:31:20 PDT --- [ 0.392633] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin [ 60.398776] radeon_cp: Failed to load firmware "radeon/R300_cp.bin" [ 60.411715] radeon 0000:00:10.0: failled initializing CP (-2). [ 60.418207] radeon 0000:00:10.0: Disabling GPU acceleration -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 02:33:44
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #17 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:33:36 PDT --- # sha1sum /lib/firmware/radeon/R300_cp.bin 76925e062bc2c06b23ead294bf3fdaedc4a10bdf /lib/firmware/radeon/R300_cp.bin # dpkg -S /lib/firmware/radeon/R300_cp.bin linux-firmware: /lib/firmware/radeon/R300_cp.bin # aptitude show linux-firmware Package: linux-firmware State: installed Automatically installed: no Version: 1.33 Priority: optional Section: misc Maintainer: Ubuntu Kernel Team <ker...@li...> Uncompressed Size: 16.1M Conflicts: atmel-firmware Replaces: atmel-firmware, linux-restricted-common Provides: atmel-firmware Description: Firmware for Linux kernel drivers This package provides firmware used by Linux kernel drivers. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 06:54:22
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 --- Comment #18 from Pauli <su...@gm...> 2010-04-06 23:54:14 PDT --- > --- Comment #16 from Jeremy Huddleston <jer...@fr...> 2010-04-06 19:31:20 PDT --- > [ 0.392633] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin > [ 60.398776] radeon_cp: Failed to load firmware "radeon/R300_cp.bin" > [ 60.411715] radeon 0000:00:10.0: failled initializing CP (-2). > [ 60.418207] radeon 0000:00:10.0: Disabling GPU acceleration If drm & co modules are in initrd you need the firmware in initrd too. Updating the initrd should be enough. If you compiled modules into kernel then you need the firmware in kernel too. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |
From: <bug...@fr...> - 2010-04-07 22:13:22
|
https://bugs.freedesktop.org/show_bug.cgi?id=27502 Jeremy Huddleston <jer...@fr...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #19 from Jeremy Huddleston <jer...@fr...> 2010-04-07 15:13:12 PDT --- alright. thanks. it now reports the hw rendering... although it does not work. I'll followup in other bugs for cleanliness -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |